23 this->
uuid_ = esp32_ble_tracker::ESPBTUUID::from_uint16(uuid);
27 this->
uuid_ = esp32_ble_tracker::ESPBTUUID::from_uint32(uuid);
31 this->
uuid_ = esp32_ble_tracker::ESPBTUUID::from_raw(uuid);
35 this->
ibeacon_uuid_ = esp32_ble_tracker::ESPBTUUID::from_raw(uuid);
68 if (this->
uuid_ == uuid) {
77 if (!maybe_ibeacon.has_value()) {
81 auto ibeacon = *maybe_ibeacon;
esp_bt_uuid_t get_uuid() const
uint64_t address_uint64() const
bool resolve_irk(const uint8_t *irk) const
const std::vector< ESPBTUUID > & get_service_uuids() const
optional< ESPBLEiBeacon > get_ibeacon() const
Base-class for all sensors.
void publish_state(float state)
Publish a new state to the front-end.