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