ml-wifi
API
AP mode
__wifi({
mode: 'ap',
auth: 'PSK_WPA2',
ssid: 'Input your ssid',
password: 'Input your password',
});
Station mode
__wifi({
mode: 'station',
auth: 'PSK_WPA2',
ssid: 'Input your ssid',
password: 'Input your password',
});
global.eventStatus.on('wifiConnect', function(){
});