A clone of:
https://github.com/nutechsoftware/alarmdecoder
This is requires as they dropped support for older firmware releases w/o building in backward compatibility code, and they had previously hardcoded pyserial to a python2 only version.
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Solution adds previous leftover to front of buf so leftovers can be
searched for newline. It also will process leftover data even if
there is no more serial data arriving.