...
We define our basic ID structure as follows:
Bits | D10 | D9 | D8 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
---|---|---|---|---|---|---|---|---|---|---|---|
Field | Message | Type | Source | ||||||||
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)
...