harp-tech / protocol

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

Add hearbeat register #45

Open bruno-f-cruz opened 3 months ago

bruno-f-cruz commented 3 months ago

Summary

This PR adds a new register to the protocol called HEARTBEAT.

Motivation

We want to be able to periodically check the status of the device. Including synchronization, mode and error status.

Detailed Design

We will add a new register with the following specs:

Name: UUID Address: 18 Format: U16 Access: Read-only

For now, only 3 bits will be implemented:

The other 13 bits will remain free for future status bits.

More information is available in the PR.

Design Meetings

See further discussion in the following issues:

galenlynch commented 1 month ago

+1 on this! This would be hugely useful, and head off a lot of data quality issues.