Browse Source

update

master
zhaohe 1 year ago
parent
commit
85c0e8a9af
  1. 4
      iflytop_canbus_protocol.hpp

4
iflytop_canbus_protocol.hpp

@ -1,7 +1,7 @@
#pragma once
#include <stdint.h>
#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, // 加热片异常

Loading…
Cancel
Save