|
ESPHome 2026.11.0b6
|
Decodes one notification; construct it on the stack for each frame. More...
#include <am43_base.h>
Public Member Functions | |
| void | decode (const uint8_t *data, uint16_t length) |
| bool | has_battery_level () const |
| bool | has_light_level () const |
| bool | has_set_position_response () const |
| bool | has_set_state_response () const |
| bool | has_position () const |
| bool | has_pin_response () const |
Data Fields | ||
| union { | ||
| uint8_t position_ | ||
| uint8_t battery_level_ | ||
| float light_level_ | ||
| uint8_t set_position_ok_ | ||
| uint8_t set_state_ok_ | ||
| uint8_t pin_ok_ | ||
| }; | ||
Protected Attributes | |
| bool | has_battery_level_ {false} |
| bool | has_light_level_ {false} |
| bool | has_set_position_response_ {false} |
| bool | has_set_state_response_ {false} |
| bool | has_position_ {false} |
| bool | has_pin_response_ {false} |
Decodes one notification; construct it on the stack for each frame.
Definition at line 46 of file am43_base.h.
| void esphome::am43::Am43Decoder::decode | ( | const uint8_t * | data, |
| uint16_t | length ) |
Definition at line 66 of file am43_base.cpp.
|
inline |
Definition at line 49 of file am43_base.h.
|
inline |
Definition at line 50 of file am43_base.h.
|
inline |
Definition at line 54 of file am43_base.h.
|
inline |
Definition at line 53 of file am43_base.h.
|
inline |
Definition at line 51 of file am43_base.h.
|
inline |
Definition at line 52 of file am43_base.h.
| union { ... } esphome::am43::Am43Decoder |
| uint8_t esphome::am43::Am43Decoder::battery_level_ |
Definition at line 58 of file am43_base.h.
|
protected |
Definition at line 66 of file am43_base.h.
|
protected |
Definition at line 67 of file am43_base.h.
|
protected |
Definition at line 71 of file am43_base.h.
|
protected |
Definition at line 70 of file am43_base.h.
|
protected |
Definition at line 68 of file am43_base.h.
|
protected |
Definition at line 69 of file am43_base.h.
| float esphome::am43::Am43Decoder::light_level_ |
Definition at line 59 of file am43_base.h.
| uint8_t esphome::am43::Am43Decoder::pin_ok_ |
Definition at line 62 of file am43_base.h.
| uint8_t esphome::am43::Am43Decoder::position_ |
Definition at line 57 of file am43_base.h.
| uint8_t esphome::am43::Am43Decoder::set_position_ok_ |
Definition at line 60 of file am43_base.h.
| uint8_t esphome::am43::Am43Decoder::set_state_ok_ |
Definition at line 61 of file am43_base.h.