-
• #4
Thr 2017.02.09
Thank you MaBe, Ollie and allObjects,
For those that are new to the ESP8266 and are following along, these are well documented examples that are a must read:
@MaBe
web page login to connect to an access point@Ollie
confirmation on missing function and module load verification@allObjects
spiffy template solution to runtime and development start objectiveRobin
Wed 2017.02.08
While trying each of the available Wifi functions, ran into this 'documentation inconsistency' ;-)
Interestingly, wifi.getIP() functions as expected, trying to force a known IP addr using setIP() casues an error:
I am typing into the left panel of WebIDE
The spec reference:
http://www.espruino.com/Reference#Wifi
Wifi.setIP
Call type:
Wifi.setIP(settings, callback)
Description
The settings object must contain the following properties.
ip IP address as string (e.g. "192.168.5.100")
gw The network gateway as string (e.g. "192.168.5.1")
netmask The interface netmask as string (e.g. "255.255.255.0")
Is the reference ahead of the intended functionality, or have I missed a glaring typo?
Robin