support for mDNS: announces hostname over mDNS, use wifi.setHostname()
support for SNTP (simple network time protocol), use wifi.setSNTP() and then the regular getTime()
I had to back off to 1300 JSvars due to the static memory gobbled up by mDNS in particular. We'll get back to 1400 soon...
These new functions use the Espressif SDK functionality and have not had much testing time. After running for almost an hour I have not seen SNTP resync, so I'm not sure what it does long term yet...
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.
New build: http://s3.voneicken.com/espruino/espruinĀo_1v84.tve_master_9aa07bc_esp8266.tgz
Additions:
I had to back off to 1300 JSvars due to the static memory gobbled up by mDNS in particular. We'll get back to 1400 soon...
These new functions use the Espressif SDK functionality and have not had much testing time. After running for almost an hour I have not seen SNTP resync, so I'm not sure what it does long term yet...
Documentation as part of the Wifi library: http://s3.voneicken.com/espruino/functions.html#t_Wifi