Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We define our basic ID structure as follows:

BitsD10D9D8D7D6D5D4D3D2D1D0

Field

MessageTypeSource
Contents

Global message ID (0-63)

0: ACK

1: Data

Source device ID (0-15)

This allows us to prioritize messages over the sender, and ACKs will always have higher priorities than the message itself. The idea is that a message's contents are more important than which device is sending it, and that if we have a message that needs to be ACKed, the ACK is time-limited and needs to be received ASAP.

...

Note: not in any specific order

Critical Fault

  • Sources: killswitch, BMS fault
  • Should cause power cutoff, BMS fault signals (strobe, driver LED)

...