#include <ble_device.h>
|
| static optional< ESPBLEiBeacon > | from_manufacturer_data (const ServiceData &data, bool *prefix_rejected=nullptr) |
| | prefix_rejected: caller must initialise to false; set to true ONLY when a 23-byte Apple frame was refused for lacking the 0x02/0x15 iBeacon prefix — the case the legacy esp32 parser accepted.
|
| |
Definition at line 129 of file ble_device.h.
◆ ESPBLEiBeacon() [1/2]
| esphome::ble_device_base::ESPBLEiBeacon::ESPBLEiBeacon |
( |
| ) |
|
|
inline |
◆ ESPBLEiBeacon() [2/2]
| esphome::ble_device_base::ESPBLEiBeacon::ESPBLEiBeacon |
( |
const uint8_t * | data | ) |
|
|
explicit |
◆ from_manufacturer_data()
| optional< ESPBLEiBeacon > esphome::ble_device_base::ESPBLEiBeacon::from_manufacturer_data |
( |
const ServiceData & | data, |
|
|
bool * | prefix_rejected = nullptr ) |
|
static |
prefix_rejected: caller must initialise to false; set to true ONLY when a 23-byte Apple frame was refused for lacking the 0x02/0x15 iBeacon prefix — the case the legacy esp32 parser accepted.
Never written on accept or on the non-Apple/wrong-size rejects. The caller with the device address does the logging (see ESPBTDevice::get_ibeacon()).
Definition at line 269 of file ble_device.cpp.
◆ get_major()
| uint16_t esphome::ble_device_base::ESPBLEiBeacon::get_major |
( |
| ) |
const |
|
inline |
◆ get_minor()
| uint16_t esphome::ble_device_base::ESPBLEiBeacon::get_minor |
( |
| ) |
const |
|
inline |
◆ get_signal_power()
| int8_t esphome::ble_device_base::ESPBLEiBeacon::get_signal_power |
( |
| ) |
const |
|
inline |
◆ get_uuid()
| ESPBTUUID esphome::ble_device_base::ESPBLEiBeacon::get_uuid |
( |
| ) |
const |
|
inline |
◆ beacon_data_
The documentation for this class was generated from the following files: