mvillalba / python-ant

[UNMAINTAINED, LOOK INTO THE FORKS] Python implementation of the ANT, ANT+, and ANT-FS protocols (http://www.thisisant.com/).
https://github.com/mvillalba/python-ant
MIT License
160 stars 130 forks source link

Convert driver.* and log.* to message-level operations #12

Open mvillalba opened 13 years ago

mvillalba commented 13 years ago

Byte-level operations makes no practical sense. Make driver.Driver take Message instances and only read full messages (will have to move the message buffering code from event to driver).

mvillalba commented 13 years ago

Driver._dump could be made to just call a representation method on Message.

mvillalba commented 13 years ago

Don't forget to update test suites