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 ...
});
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ml-wifi

      Weekly Downloads

      2

      Version

      0.0.8

      License

      Apache2

      Last publish

      Collaborators

      • iamblue