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: https://docs.pycom.io/pybytes/api/ 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login