mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 01:02:19 +01:00
Add exposure notifications (#1135)
This commit is contained in:
@@ -28,6 +28,7 @@ class ESPBTUUID {
|
||||
bool contains(uint8_t data1, uint8_t data2) const;
|
||||
|
||||
bool operator==(const ESPBTUUID &uuid) const;
|
||||
bool operator!=(const ESPBTUUID &uuid) const { return !(*this == uuid); }
|
||||
|
||||
esp_bt_uuid_t get_uuid();
|
||||
|
||||
@@ -74,6 +75,8 @@ class ESPBTDevice {
|
||||
|
||||
uint64_t address_uint64() const;
|
||||
|
||||
const uint8_t *address() const { return address_; }
|
||||
|
||||
esp_ble_addr_type_t get_address_type() const { return this->address_type_; }
|
||||
int get_rssi() const { return rssi_; }
|
||||
const std::string &get_name() const { return this->name_; }
|
||||
|
Reference in New Issue
Block a user