4#ifdef USE_BINARY_SENSOR
17namespace seeed_mr60bha2 {
18static const uint8_t FRAME_HEADER_BUFFER = 0x01;
19static const uint16_t BREATH_RATE_TYPE_BUFFER = 0x0A14;
20static const uint16_t PEOPLE_EXIST_TYPE_BUFFER = 0x0F09;
21static const uint16_t HEART_RATE_TYPE_BUFFER = 0x0A15;
22static const uint16_t DISTANCE_TYPE_BUFFER = 0x0A16;
23static const uint16_t PRINT_CLOUD_BUFFER = 0x0A04;
27#ifdef USE_BINARY_SENSOR
28 SUB_BINARY_SENSOR(has_target);
31 SUB_SENSOR(breath_rate);
32 SUB_SENSOR(heart_rate);
34 SUB_SENSOR(num_targets);
float get_setup_priority() const override
std::vector< uint8_t > rx_message_
void dump_config() override
void process_frame_(uint16_t frame_id, uint16_t frame_type, const uint8_t *data, size_t length)
const float LATE
For components that should be initialized at the very end of the setup process.
Providing packet encoding functions for exchanging data with a remote host.