pn_wifi
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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>

Readme

Keywords

Package Sidebar

Install

npm i pn_wifi

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

72.7 kB

Total Files

34

Last publish

Collaborators

  • progettoautomazione