Browse Source

add pressure sensor scan cmd

master
zhaohe 1 year ago
parent
commit
2793d57d7d
  1. 10
      transmit_disfection_protocol.hpp

10
transmit_disfection_protocol.hpp

@ -142,8 +142,9 @@ typedef enum {
/***********************************************************************************************************************
* *
***********************************************************************************************************************/
kfn_pressure_sensor_bus_read_data = 400, // cmd:subid ack:pressure(0.1pa)
kfn_pressure_sensor_bus_set_report_period_ms = 401, // cmd:period
kfn_psbus_read_data = 400, // cmd:subid ack:pressure(0.1pa)
kfn_psbus_set_report_period_ms = 401, // cmd:period
kfn_psbus_scan = 402, //
kreport_pressure_data = 450, // report:subid pressure(0.1pa)
/***********************************************************************************************************************
@ -288,6 +289,11 @@ typedef struct {
uint16_t sysHasRun;
} ack_sysinfo_t;
typedef struct {
uint8_t numOnlineId;
uint8_t onlineId[10];
} ack_psbus_scan_t;
/***********************************************************************************************************************
* Report *
***********************************************************************************************************************/

Loading…
Cancel
Save