ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
esphome::ble_device_base::ESPBLEiBeacon Class Reference

#include <ble_device.h>

Data Structures

struct  BeaconData
 

Public Member Functions

 ESPBLEiBeacon ()
 
 ESPBLEiBeacon (const uint8_t *data)
 
uint16_t get_major () const
 
uint16_t get_minor () const
 
int8_t get_signal_power () const
 
ESPBTUUID get_uuid () const
 

Static Public Member Functions

static optional< ESPBLEiBeaconfrom_manufacturer_data (const ServiceData &data)
 

Protected Attributes

struct PACKED esphome::ble_device_base::ESPBLEiBeacon::BeaconData beacon_data_
 

Detailed Description

Definition at line 125 of file ble_device.h.

Constructor & Destructor Documentation

◆ ESPBLEiBeacon() [1/2]

esphome::ble_device_base::ESPBLEiBeacon::ESPBLEiBeacon ( )
inline

Definition at line 127 of file ble_device.h.

◆ ESPBLEiBeacon() [2/2]

esphome::ble_device_base::ESPBLEiBeacon::ESPBLEiBeacon ( const uint8_t * data)
explicit

Definition at line 248 of file ble_device.cpp.

Member Function Documentation

◆ from_manufacturer_data()

optional< ESPBLEiBeacon > esphome::ble_device_base::ESPBLEiBeacon::from_manufacturer_data ( const ServiceData & data)
static

Definition at line 250 of file ble_device.cpp.

◆ get_major()

uint16_t esphome::ble_device_base::ESPBLEiBeacon::get_major ( ) const
inline

Definition at line 131 of file ble_device.h.

◆ get_minor()

uint16_t esphome::ble_device_base::ESPBLEiBeacon::get_minor ( ) const
inline

Definition at line 132 of file ble_device.h.

◆ get_signal_power()

int8_t esphome::ble_device_base::ESPBLEiBeacon::get_signal_power ( ) const
inline

Definition at line 133 of file ble_device.h.

◆ get_uuid()

ESPBTUUID esphome::ble_device_base::ESPBLEiBeacon::get_uuid ( ) const
inline

Definition at line 134 of file ble_device.h.

Field Documentation

◆ beacon_data_

struct PACKED esphome::ble_device_base::ESPBLEiBeacon::BeaconData esphome::ble_device_base::ESPBLEiBeacon::beacon_data_
protected

The documentation for this class was generated from the following files: