Browse Source

添加设备复位上报指令

master
zhaohe 12 months ago
parent
commit
6fb781e6b5
  1. 5
      transmit_disfection_protocol.hpp

5
transmit_disfection_protocol.hpp

@ -121,6 +121,7 @@ typedef enum {
kfn_reset_board = 8, // cmd:
kreport_heatpacket_pong = 50, // cmd:no ack:no report:heatpacket_t
kreport_exception_error = 51, // report:error_code,subid
kreport_device_reset = 52, // report:error_code,subid
/***********************************************************************************************************************
* *
@ -364,9 +365,9 @@ typedef struct {
typedef struct {
uint8_t sensor_error; // 传感器异常
uint16_t h2o2; // ppm * 10
uint16_t rh; // %RH * 10
uint16_t rh; // %RH * 10
uint16_t temp; // °C * 10
uint16_t rs; // %RS * 10
uint16_t rs; // %RS * 10
uint16_t h2o2adc; // adc_val
} report_h2o2_data_t;

Loading…
Cancel
Save