CANedge2 Docs, Release FW 01.04.02
Configuration explained
This section contains additional information and examples.
Note: The heartbeat cannot be disabled using the control signal
Note: The heartbeat feature requires a CAN-bus physical mode supporting transmissions
Payload format
The device can transmit a 1-second periodic heartbeat signal. The signal payload contains logging state
(enabled/disabled), the device time and space left on the memory card in MB.
The interpretation of the 8-byte data payload of the heartbeat signal is given below:
Byte No. 0 1 2-5 6-7
Interpretation Fixed 0xAA State Epoch time Space left
• Byte 0 has the reserved value 0xAA
• The Epoch time is time-zone and offset adjusted
• Multi-byte fields should be interpreted MSB (Most-SignificantByte) first
• The State holds information on the current rx_state / tx_state:
– 0: RX disabled, TX disabled
– 1: RX enabled, TX disabled
– 2: RX disabled, TX enabled
– 3: RX enabled, TX enabled
Heartbeat with payload: AA 03 5D 78 FB 8B 1D 93
Byte No. 0 1 2-5 6-7
Interpretation Fixed State Epoch time Space left
Payload 0xAA 0x03 0x5D78FB8B 0x1D93
• Fixed: 0xAA
• State: RX and TX enabled
• Epoch time: 5D78FB8B
16
= 1568209803
10
-> 11/09/2019 13:50:03
• Space left: 1D93
16
= 7571
10
MB
Heartbeat with payload: AA 00 5D 78 FB 8B 00 00
Byte No. 0 1 2-5 6-7
Interpretation Fixed State Epoch time Space left
Payload 0xAA 0x00 0x5D78FB8B 0x0000
• Fixed: 0xAA
• State: RX and TX disabled
• Epoch time: 5D78FB8B
16
= 1568209803
10
-> 11/09/2019 13:50:03
• Space left: 0000
16
= 0
10
MB
0.4. Configuration 35