ESPHome
2024.10.2
|
Data Structures | |
struct | XiaomiAESVector |
class | XiaomiListener |
struct | XiaomiParseResult |
Functions | |
bool | parse_xiaomi_value (uint16_t value_type, const uint8_t *data, uint8_t value_length, XiaomiParseResult &result) |
bool | parse_xiaomi_message (const std::vector< uint8_t > &message, XiaomiParseResult &result) |
optional< XiaomiParseResult > | parse_xiaomi_header (const esp32_ble_tracker::ServiceData &service_data) |
bool | decrypt_xiaomi_payload (std::vector< uint8_t > &raw, const uint8_t *bindkey, const uint64_t &address) |
bool | report_xiaomi_results (const optional< XiaomiParseResult > &result, const std::string &address) |
bool esphome::xiaomi_ble::decrypt_xiaomi_payload | ( | std::vector< uint8_t > & | raw, |
const uint8_t * | bindkey, | ||
const uint64_t & | address | ||
) |
Definition at line 251 of file xiaomi_ble.cpp.
optional< XiaomiParseResult > esphome::xiaomi_ble::parse_xiaomi_header | ( | const esp32_ble_tracker::ServiceData & | service_data | ) |
Definition at line 150 of file xiaomi_ble.cpp.
bool esphome::xiaomi_ble::parse_xiaomi_message | ( | const std::vector< uint8_t > & | message, |
XiaomiParseResult & | result | ||
) |
Definition at line 101 of file xiaomi_ble.cpp.
bool esphome::xiaomi_ble::parse_xiaomi_value | ( | uint16_t | value_type, |
const uint8_t * | data, | ||
uint8_t | value_length, | ||
XiaomiParseResult & | result | ||
) |
Definition at line 15 of file xiaomi_ble.cpp.
bool esphome::xiaomi_ble::report_xiaomi_results | ( | const optional< XiaomiParseResult > & | result, |
const std::string & | address | ||
) |
Definition at line 339 of file xiaomi_ble.cpp.