ml-wifi

0.0.8 • Public • Published

ml-wifi

API

AP mode

 
__wifi({
  mode: 'ap', // default is station
  auth: 'PSK_WPA2',
  ssid: 'Input your ssid',
  password: 'Input your password',
});
 

Station mode

 
__wifi({
  mode: 'station', // default is station
  auth: 'PSK_WPA2',
  ssid: 'Input your ssid',
  password: 'Input your password',
});
 
global.eventStatus.on('wifiConnect', function(){
  // if wifi connect ...
});
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.8
    2
    • latest

Version History

Package Sidebar

Install

npm i ml-wifi

Weekly Downloads

2

Version

0.0.8

License

Apache2

Last publish

Collaborators

  • iamblue