ESPHome  1.15.2
Data Structures | Functions
esphome::xiaomi_ble Namespace Reference

Data Structures

struct  XiaomiAESVector
 
class  XiaomiListener
 
struct  XiaomiParseResult
 

Functions

bool parse_xiaomi_message (const std::vector< uint8_t > &message, XiaomiParseResult &result)
 
optional< XiaomiParseResultparse_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)
 

Function Documentation

◆ decrypt_xiaomi_payload()

bool esphome::xiaomi_ble::decrypt_xiaomi_payload ( std::vector< uint8_t > &  raw,
const uint8_t *  bindkey,
const uint64_t &  address 
)

Definition at line 179 of file xiaomi_ble.cpp.

◆ parse_xiaomi_header()

optional< XiaomiParseResult > esphome::xiaomi_ble::parse_xiaomi_header ( const esp32_ble_tracker::ServiceData service_data)

Definition at line 105 of file xiaomi_ble.cpp.

◆ parse_xiaomi_message()

bool esphome::xiaomi_ble::parse_xiaomi_message ( const std::vector< uint8_t > &  message,
XiaomiParseResult result 
)

Definition at line 15 of file xiaomi_ble.cpp.

◆ report_xiaomi_results()

bool esphome::xiaomi_ble::report_xiaomi_results ( const optional< XiaomiParseResult > &  result,
const std::string &  address 
)

Definition at line 267 of file xiaomi_ble.cpp.