13 if (it.data.size() < 4)
18 char addr_buf[MAC_ADDRESS_PRETTY_BUFFER_SIZE];
19 ESP_LOGD(TAG,
"Found AirThings device Serial:%" PRIu32
" (MAC: %s)", sn, device.
address_str_to(addr_buf));
bool parse_device(const ble_device_base::ESPBTDevice &device) override
ESPDEPRECATED("Use address_str_to() instead. Removed in 2027.2.0.", "2026.8.0") std const char * address_str_to(char *buf) const
Return MAC as "XX:XX:XX:XX:XX:XX" string.
const std::vector< ServiceData > & get_manufacturer_datas() const
static ESPBTUUID from_uint32(uint32_t uuid)
ESPHOME_LOG_TAG(TAG, "airthings_ble")
constexpr T encode_value_le(const uint8_t *bytes)
Encode a value from its constituent bytes (from least to most significant) in an array with length si...