ESPHome  2022.9.2
Public Member Functions | Static Public Member Functions | Protected Attributes
esphome::esp32_ble_tracker::ESPBLEiBeacon Class Reference

#include <esp32_ble_tracker.h>

Public Member Functions

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

Static Public Member Functions

static optional< ESPBLEiBeaconfrom_manufacturer_data (const ServiceData &data)
 

Protected Attributes

struct {
   uint8_t   sub_type
 
   uint8_t   length
 
   uint8_t   proximity_uuid [16]
 
   uint16_t   major
 
   uint16_t   minor
 
   int8_t   signal_power
 
beacon_data_
 

Detailed Description

Definition at line 55 of file esp32_ble_tracker.h.

Constructor & Destructor Documentation

◆ ESPBLEiBeacon() [1/2]

esphome::esp32_ble_tracker::ESPBLEiBeacon::ESPBLEiBeacon ( )
inline

Definition at line 57 of file esp32_ble_tracker.h.

◆ ESPBLEiBeacon() [2/2]

esphome::esp32_ble_tracker::ESPBLEiBeacon::ESPBLEiBeacon ( const uint8_t *  data)

Definition at line 545 of file esp32_ble_tracker.cpp.

Member Function Documentation

◆ from_manufacturer_data()

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

Definition at line 546 of file esp32_ble_tracker.cpp.

◆ get_major()

uint16_t esphome::esp32_ble_tracker::ESPBLEiBeacon::get_major ( )
inline

Definition at line 61 of file esp32_ble_tracker.h.

◆ get_minor()

uint16_t esphome::esp32_ble_tracker::ESPBLEiBeacon::get_minor ( )
inline

Definition at line 62 of file esp32_ble_tracker.h.

◆ get_signal_power()

int8_t esphome::esp32_ble_tracker::ESPBLEiBeacon::get_signal_power ( )
inline

Definition at line 63 of file esp32_ble_tracker.h.

◆ get_uuid()

ESPBTUUID esphome::esp32_ble_tracker::ESPBLEiBeacon::get_uuid ( )
inline

Definition at line 64 of file esp32_ble_tracker.h.

Field Documentation

◆ beacon_data_

struct { ... } esphome::esp32_ble_tracker::ESPBLEiBeacon::beacon_data_

◆ length

uint8_t esphome::esp32_ble_tracker::ESPBLEiBeacon::length

Definition at line 69 of file esp32_ble_tracker.h.

◆ major

uint16_t esphome::esp32_ble_tracker::ESPBLEiBeacon::major

Definition at line 71 of file esp32_ble_tracker.h.

◆ minor

uint16_t esphome::esp32_ble_tracker::ESPBLEiBeacon::minor

Definition at line 72 of file esp32_ble_tracker.h.

◆ proximity_uuid

uint8_t esphome::esp32_ble_tracker::ESPBLEiBeacon::proximity_uuid[16]

Definition at line 70 of file esp32_ble_tracker.h.

◆ signal_power

int8_t esphome::esp32_ble_tracker::ESPBLEiBeacon::signal_power

Definition at line 73 of file esp32_ble_tracker.h.

◆ sub_type

uint8_t esphome::esp32_ble_tracker::ESPBLEiBeacon::sub_type

Definition at line 68 of file esp32_ble_tracker.h.


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