diff --git a/iflytop_canbus_protocol.hpp b/iflytop_canbus_protocol.hpp index 4b66b09..03a1a63 100644 --- a/iflytop_canbus_protocol.hpp +++ b/iflytop_canbus_protocol.hpp @@ -131,6 +131,7 @@ typedef enum { kcmd_force_report = 2, // cmd:no, ack:none kcmd_read_sysinfo = 3, // cmd:no, ack:ack_sysinfo_t kcmd_read_taskinfo = 4, // cmd:taskoff, ack:ask_taskinfo_t + kcmd_heart_ping = 5, // cmd:taskoff, ack:ask_taskinfo_t kreport_heatpacket = 50, // cmd:no ack:no report:heatpacket_t kreport_exception_error = 51, // report:error_code,subid @@ -301,6 +302,7 @@ typedef struct { ***********************************************************************************************************************/ typedef struct { + uint16_t heartIndex; uint16_t boardType; } report_heatpacket_data_t;