mjuenema / python-TSIP

Python library for parsing and creating TSIP packets used for communicating with a Trimble GPS receiver.
BSD 2-Clause "Simplified" License
6 stars 6 forks source link

Documentation: Remove manual "framing" from example in low-level API #6

Closed mjuenema closed 8 years ago

mjuenema commented 8 years ago

Wrong:

...
packet = tsip.frame(tsip.stuff(tsip.DLE + '\x1c\x01' + tsip.DLE + tsip.ETX)
...

Right:

...
packet = tsip.frame(tsip.stuff('\x1c\x01'))
...