I would like to use urequests to post data on an xbee cellular device that has micropython running on it. The problem is I want to be able to poll the response in my superloop, rather than get stuck waiting for a response before I can do anything else. The concern I have is the blocking will make miss data that I need to process. Does anyone have a recommendation on how to do it? Or have an alternative approach?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to use urequests to post nonblocking data? | 2 | 326 | August 11, 2022 | |
XBee3 MicroPython: is transmit() blocking or nonblocking? | 2 | 362 | August 13, 2020 | |
Advice sought on application structure | 2 | 1207 | May 24, 2008 | |
Async transmit from MicroPython | 4 | 678 | August 5, 2020 | |
ConnectPort X4 gateway + Retrieve asynchronous Data | 1 | 860 | March 1, 2012 |