0.0.8 • Published 7 years ago

ml-wifi v0.0.8

Weekly downloads
6
License
Apache2
Repository
-
Last release
7 years ago

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

7 years ago

0.0.7

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago