getIP() => Promise<{ ip: string | null; }>
Returns: Promise<{ ip: string | null; }>
getSSID() => Promise<{ ssid: string | null; }>
Returns: Promise<{ ssid: string | null; }>
connect(options: { ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }) => Promise<{ ssid: string | null; }>
Param | Type |
---|---|
options |
{ ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; } |
Returns: Promise<{ ssid: string | null; }>
connectPrefix(options: { ssid: string; password?: string; joinOnce?: boolean; }) => Promise<{ ssid: string | null; }>
Param | Type |
---|---|
options |
{ ssid: string; password?: string; joinOnce?: boolean; } |
Returns: Promise<{ ssid: string | null; }>
disconnect() => Promise<void>