ESPHome 2025.5.0
Loading...
Searching...
No Matches
xiaomi_ble.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::xiaomi_ble
 

Functions

bool esphome::xiaomi_ble::parse_xiaomi_value (uint16_t value_type, const uint8_t *data, uint8_t value_length, XiaomiParseResult &result)
 
bool esphome::xiaomi_ble::parse_xiaomi_message (const std::vector< uint8_t > &message, XiaomiParseResult &result)
 
optional< XiaomiParseResultesphome::xiaomi_ble::parse_xiaomi_header (const esp32_ble_tracker::ServiceData &service_data)
 
bool esphome::xiaomi_ble::decrypt_xiaomi_payload (std::vector< uint8_t > &raw, const uint8_t *bindkey, const uint64_t &address)
 
bool esphome::xiaomi_ble::report_xiaomi_results (const optional< XiaomiParseResult > &result, const std::string &address)