Adjust stop bit condition in decode function#5
Conversation
Needed for when stop_bits is 1, instead of 2.
|
@ezrec Thanks; this change looks correct at first glance. I have not thought about this code in a long time. Did you find the issue by inspection, or by some kind of concrete use? I would still expect |
I’m using tynsel to get Wifi connection data to a ESP32 based wearable device. Tynsel was perfect for this, given its extremely low memory requirements. The serial protocol I’m using for error correction expected 8-bit data, so I’m using 8N1 encoding, which highlighted the stop bit issue. I’ve tried a few other audio receivers (quiet, ggwave) but tynsel fit my needs the best. Thanks for all the work you put into it! |
Needed for when stop_bits is 1, instead of 2.