Espruino WiFi improvements

Posted on
  • I've just updated the Espruino WiFi JavaScript files. Assuming you're using firmware 1v95 or later, you'll now have:

    • Flow control on WiFi receive - meaning no more FIFO_FULL errors if your JS code takes a long time to execute
    • Significantly less CPU load when receiving data over WiFi
    • Calling wifi.turbo(true, callback) will increase the transmission speed with the WiFi module by a factor of 8!
    • UDP transmit and receive
    • support
    • wifi.setHostname for setting the DNS name of wifi
    • wifi.setIP/setAPIP and getAPIP added for controlling static IPs and DNS

  • Thanks Gordon.
    Where can i find the docs or expamples for using UDP trans and recv ?

  • Until the docs themselves get published, you could use the test code as a reference:¬≠b/master/tests/test_dgram_socket.js

    It's meant to act just like the node.js version so there should be a few examples on the net was well.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Espruino WiFi improvements

Posted by Avatar for Gordon @Gordon