68 if (this->
uuid_ == uuid) {
77 if (!maybe_ibeacon.has_value()) {
81 auto ibeacon = *maybe_ibeacon;
const std::vector< ESPBTUUID > & get_service_uuids() const
optional< ESPBLEiBeacon > get_ibeacon() const
uint64_t address_uint64() const
Return MAC as packed uint64 (byte 0 in LSB — matches esp32's address_uint64).
bool resolve_irk(const uint8_t *irk) const
Resolve a Resolvable Private Address against a 16-byte IRK (Bluetooth "ah" function,...
static ESPBTUUID from_uint16(uint16_t uuid)
static ESPBTUUID from_raw(const uint8_t *data)
Construct from raw 16-byte little-endian UUID.
esp_bt_uuid_t get_uuid() const
static ESPBTUUID from_uint32(uint32_t uuid)
Base-class for all sensors.
void publish_state(float state)
Publish a new state to the front-end.