You are reading a single comment by @tve and its replies. Click here to read the full conversation.
  • New build: http://s3.voneicken.com/espruino/espruin­o_1v84.tve_master_9aa07bc_esp8266.tgz

    Additions:

    • 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...

    Documentation as part of the Wifi library: http://s3.voneicken.com/espruino/functio­ns.html#t_Wifi

About

Avatar for tve @tve started