Pybytes with intermittent connectivity

  • Can someone please point me in the right direction to get my workflow correct.....

    I collect data, buffer it on the device and want to send IF there is connectivity. I am using the latest pybytes firmware.

    If there is connectivity all works, but if not then the device just its waiting to connect for ages.

    Can I get the device to boot, start logging and then somehow have a 'thread' that attempts to connect and transmit if successful.

    Having pybytes hang on boot is an issue.....

  • You can look at this page: to start pybytes manually. Set pycom.pybytes_on_boot(False). You can first setup the connection and for example check different SSID's, and when connected, call the code in the top codeblock to actually start Pybytes

Log in to reply

Pycom on Twitter