11 namespace xiaomi_ble {
57 uint8_t plaintext[16];
58 uint8_t ciphertext[16];
optional< float > illuminance
optional< float > temperature
bool parse_xiaomi_value(uint16_t value_type, const uint8_t *data, uint8_t value_length, XiaomiParseResult &result)
optional< float > formaldehyde
bool decrypt_xiaomi_payload(std::vector< uint8_t > &raw, const uint8_t *bindkey, const uint64_t &address)
optional< bool > button_press
optional< float > humidity
optional< bool > is_active
optional< float > battery_level
bool parse_xiaomi_message(const std::vector< uint8_t > &message, XiaomiParseResult &result)
optional< XiaomiParseResult > parse_xiaomi_header(const esp32_ble_tracker::ServiceData &service_data)
optional< float > idle_time
bool report_xiaomi_results(const optional< XiaomiParseResult > &result, const std::string &address)
optional< bool > is_light
optional< bool > has_motion
Implementation of SPI Controller mode.
enum esphome::xiaomi_ble::XiaomiParseResult::@142 type
optional< float > moisture
optional< float > conductivity