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 | 329 | August 11, 2022 | |
| XBee3 MicroPython: is transmit() blocking or nonblocking? | 2 | 363 | August 13, 2020 | |
| Async transmit from MicroPython | 4 | 681 | August 5, 2020 | |
| Must use Digi's version of urequests.py | 0 | 352 | January 2, 2019 | |
| Test for UART data, XBEE3 and Micropython (kbhit) | 2 | 495 | December 23, 2019 |