Hi, is this about ESP8266 modules like ESP-12F? Hope sample below will help to you:
var wifi=require("Wifi"); wifi.on('connected',function(details){ ... }); wifi.on('disconnected',function(details){ ... }); wifi.on('associated',function(details){ ... }); wifi.on('sta_joined',function(details){ ... }); wifi.on('sta_left',function(details){ ... }); wifi.on('auth_change',function(details){ ... }); wifi.on('dhcp_timeout',function(){ ... });
@MSol started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
is this about ESP8266 modules like ESP-12F? Hope sample below will help to you: