harp-tech / protocol

Description of the Harp protocol.
https://harp-tech.org/protocol/BinaryProtocol-8bit.html
MIT License
3 stars 5 forks source link

clarify what time is encoded in the sync protocol; add receiver example #7

Closed Poofjunior closed 6 months ago

Poofjunior commented 8 months ago

The sync protocol docs are a little vague on whether the current or previous second is encoded in the dispatched packet. In practice, it looks like the previous second is being dispatched, not the current second. We have confirmed this behavior with a Synchronizer board and Behavior board.

There is no example of how to unpack the timestamp from the received 4 bytes, so I added one.

glopesdev commented 6 months ago

Feedback from SRM meeting: