There is a new communication protocol now available on
devel. It is way more efficient, maintainable, and easier to use programatically from python. The plan is to move over to this protocol and eventually deprecate the old printf based one.
To use it, please see the Communication Configuration and Communicating over USB or UART sections of the Firmware Readme.
If you have any questions or find bugs, please let us know.