Search found 3 matches
- Sat Mar 27, 2021 1:20 am
- Forum: Programs, Libraries and Tools
- Topic: Sparkplug_b MQTT protocol support
- Replies: 1
- Views: 1381
Sparkplug_b MQTT protocol support
Is anyone aware of micropython support for MQTT Sparkplug_b industrial data definition protocol? The project https://github.com/eclipse/tahu has the details and a standard python client library, but we are interested in using this protocol with micropython. Porting may be an option but there appears...
- Sat Feb 20, 2021 7:40 pm
- Forum: General Discussion and Questions
- Topic: does uart.read(1) flush rx buffer
- Replies: 2
- Views: 1929
Re: does uart.read(1) flush rx buffer
Thank you for the insight. Did a quick test to measure the max execution time of the while True loop and indeed it measured 11mSec max. So, if characters are arriving every 1.04mSec (9600 baud) and coming out slower than that at some point the rxbuffer will run out of space, just as you expected.
- Sat Feb 20, 2021 4:43 pm
- Forum: General Discussion and Questions
- Topic: does uart.read(1) flush rx buffer
- Replies: 2
- Views: 1929
does uart.read(1) flush rx buffer
We are using esp32 and trying to read 900 characters from the uart at 9600 baud. A typical way to do this is to read one character at a tim e as they arrive in the uart and store it. We seem to need to increase the uart rxbuffer size to at least 900 for this to work reliably. Example is below: while...