Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 1.81 KB

README.md

File metadata and controls

76 lines (46 loc) · 1.81 KB

API

getIP()

getIP() => Promise<{ ip: string | null; }>

Returns: Promise<{ ip: string | null; }>


getSSID()

getSSID() => Promise<{ ssid: string | null; }>

Returns: Promise<{ ssid: string | null; }>


connect(...)

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(...)

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()

disconnect() => Promise<void>