From 85c0e8a9af9990eab8ac9ae9378f48d502e687d3 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 28 Apr 2024 20:39:52 +0800 Subject: [PATCH] update --- iflytop_canbus_protocol.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iflytop_canbus_protocol.hpp b/iflytop_canbus_protocol.hpp index 89dc793..09a5ffe 100644 --- a/iflytop_canbus_protocol.hpp +++ b/iflytop_canbus_protocol.hpp @@ -1,7 +1,7 @@ #pragma once #include -#define PROTOCOL_VERSION 2 +#define PROTOCOL_VERSION 3 #define HEART_OVERTIME (30 * 1000) #pragma pack(1) @@ -87,7 +87,6 @@ typedef enum { kdraw_bar_disinfection_box = 4, // 手持拉杆箱消毒机 } ProjectID_t; - static inline const char *ProjectIDToString(uint32_t id) { switch (id) { case klarge_space_disinfection_machine: @@ -115,6 +114,7 @@ typedef enum { kerr_motor_subdevice_offline = 101, kerr_motor_driver_error = 102, kerr_motor_undervoltage_error = 103, + kerr_motor_unkown_error = 104, kerr_AirBlowerError = 200, // 空压机异常 kerr_HeaterError = 201, // 加热片异常