ESPHome  2024.5.4
Data Structures | Typedefs | Variables
esphome::sen21231_sensor Namespace Reference

Data Structures

class  Sen21231Sensor
 

Typedefs

using person_sensor_results_header_t = struct { uint8_t reserved[2]
 
using person_sensor_face_t = struct __attribute__((__packed__)) { uint8_t box_confidence
 
using person_sensor_results_t = struct __attribute__((__packed__)) { person_sensor_results_header_t header
 

Variables

uint16_t data_size
 
uint8_t box_left
 
uint8_t box_top
 
uint8_t box_right
 
uint8_t box_bottom
 
int8_t id_confidence
 
int8_t id
 
uint8_t is_facing
 
int8_t num_faces
 
person_sensor_face_t faces [PERSON_SENSOR_MAX_FACES_COUNT]
 
uint16_t checksum
 

Typedef Documentation

◆ person_sensor_face_t

using esphome::sen21231_sensor::person_sensor_face_t = typedef struct __attribute__((__packed__)) { uint8_t box_confidence

Definition at line 46 of file sen21231.h.

◆ person_sensor_results_header_t

Definition at line 32 of file sen21231.h.

◆ person_sensor_results_t

Definition at line 61 of file sen21231.h.

Variable Documentation

◆ box_bottom

uint8_t esphome::sen21231_sensor::box_bottom

Definition at line 50 of file sen21231.h.

◆ box_left

uint8_t esphome::sen21231_sensor::box_left

Definition at line 47 of file sen21231.h.

◆ box_right

uint8_t esphome::sen21231_sensor::box_right

Definition at line 49 of file sen21231.h.

◆ box_top

uint8_t esphome::sen21231_sensor::box_top

Definition at line 48 of file sen21231.h.

◆ checksum

uint16_t esphome::sen21231_sensor::checksum

Definition at line 64 of file sen21231.h.

◆ data_size

uint16_t esphome::sen21231_sensor::data_size

Definition at line 33 of file sen21231.h.

◆ faces

person_sensor_face_t esphome::sen21231_sensor::faces[PERSON_SENSOR_MAX_FACES_COUNT]

Definition at line 63 of file sen21231.h.

◆ id

int8_t esphome::sen21231_sensor::id

Definition at line 52 of file sen21231.h.

◆ id_confidence

int8_t esphome::sen21231_sensor::id_confidence

Definition at line 51 of file sen21231.h.

◆ is_facing

uint8_t esphome::sen21231_sensor::is_facing

Definition at line 53 of file sen21231.h.

◆ num_faces

int8_t esphome::sen21231_sensor::num_faces

Definition at line 62 of file sen21231.h.