|
ESPHome 2026.11.0b6
|
A XiaomiDevice whose frames are encrypted with a bindkey. More...
#include <xiaomi_ble.h>
Public Member Functions | |
| void | set_bindkey (std::initializer_list< uint8_t > bindkey) |
| bool | parse_device (const ble_device_base::ESPBTDevice &device) override |
Public Member Functions inherited from esphome::xiaomi_ble::XiaomiDevice | |
| void | set_address (uint64_t address) |
Public Member Functions inherited from esphome::ble_device_base::ESPBTDeviceListener | |
| virtual | ~ESPBTDeviceListener ()=default |
| virtual void | on_scan_end () |
| Called at the end of each scan duration period. | |
Protected Member Functions | |
| void | dump_bindkey_ (const char *tag) const |
Protected Member Functions inherited from esphome::xiaomi_ble::XiaomiDevice | |
| bool | parse_xiaomi_device_ (const ble_device_base::ESPBTDevice &device, const uint8_t *bindkey) |
Encrypted frames are dropped when bindkey is null. | |
| virtual void | publish_result (const XiaomiParseResult &result)=0 |
Protected Attributes | |
| uint8_t | bindkey_ [16] {} |
Protected Attributes inherited from esphome::xiaomi_ble::XiaomiDevice | |
| uint64_t | address_ {0} |
| optional< uint8_t > | last_frame_count_ |
A XiaomiDevice whose frames are encrypted with a bindkey.
Definition at line 92 of file xiaomi_ble.h.
|
protected |
Definition at line 465 of file xiaomi_ble.cpp.
|
inlineoverridevirtual |
Reimplemented from esphome::xiaomi_ble::XiaomiDevice.
Definition at line 95 of file xiaomi_ble.h.
| void esphome::xiaomi_ble::XiaomiEncryptedDevice::set_bindkey | ( | std::initializer_list< uint8_t > | bindkey | ) |
Definition at line 470 of file xiaomi_ble.cpp.
|
protected |
Definition at line 102 of file xiaomi_ble.h.