ESPHome  2022.6.3
Public Member Functions | Static Public Member Functions | Protected Attributes
esphome::esp32_ble_tracker::ESPBTUUID Class Reference

#include <esp32_ble_tracker.h>

Public Member Functions

 ESPBTUUID ()
 
ESPBTUUID as_128bit () const
 
bool contains (uint8_t data1, uint8_t data2) const
 
bool operator== (const ESPBTUUID &uuid) const
 
bool operator!= (const ESPBTUUID &uuid) const
 
esp_bt_uuid_t get_uuid () const
 
std::string to_string () const
 

Static Public Member Functions

static ESPBTUUID from_uint16 (uint16_t uuid)
 
static ESPBTUUID from_uint32 (uint32_t uuid)
 
static ESPBTUUID from_raw (const uint8_t *data)
 
static ESPBTUUID from_raw (const std::string &data)
 
static ESPBTUUID from_uuid (esp_bt_uuid_t uuid)
 

Protected Attributes

esp_bt_uuid_t uuid_
 

Detailed Description

Definition at line 18 of file esp32_ble_tracker.h.

Constructor & Destructor Documentation

◆ ESPBTUUID()

esphome::esp32_ble_tracker::ESPBTUUID::ESPBTUUID ( )

Definition at line 308 of file esp32_ble_tracker.cpp.

Member Function Documentation

◆ as_128bit()

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::as_128bit ( ) const

Definition at line 394 of file esp32_ble_tracker.cpp.

◆ contains()

bool esphome::esp32_ble_tracker::ESPBTUUID::contains ( uint8_t  data1,
uint8_t  data2 
) const

Definition at line 410 of file esp32_ble_tracker.cpp.

◆ from_raw() [1/2]

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::from_raw ( const uint8_t *  data)
static

Definition at line 321 of file esp32_ble_tracker.cpp.

◆ from_raw() [2/2]

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::from_raw ( const std::string &  data)
static

Definition at line 328 of file esp32_ble_tracker.cpp.

◆ from_uint16()

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::from_uint16 ( uint16_t  uuid)
static

Definition at line 309 of file esp32_ble_tracker.cpp.

◆ from_uint32()

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::from_uint32 ( uint32_t  uuid)
static

Definition at line 315 of file esp32_ble_tracker.cpp.

◆ from_uuid()

ESPBTUUID esphome::esp32_ble_tracker::ESPBTUUID::from_uuid ( esp_bt_uuid_t  uuid)
static

Definition at line 385 of file esp32_ble_tracker.cpp.

◆ get_uuid()

esp_bt_uuid_t esphome::esp32_ble_tracker::ESPBTUUID::get_uuid ( ) const

Definition at line 455 of file esp32_ble_tracker.cpp.

◆ operator!=()

bool esphome::esp32_ble_tracker::ESPBTUUID::operator!= ( const ESPBTUUID uuid) const
inline

Definition at line 37 of file esp32_ble_tracker.h.

◆ operator==()

bool esphome::esp32_ble_tracker::ESPBTUUID::operator== ( const ESPBTUUID uuid) const

Definition at line 428 of file esp32_ble_tracker.cpp.

◆ to_string()

std::string esphome::esp32_ble_tracker::ESPBTUUID::to_string ( ) const

Definition at line 456 of file esp32_ble_tracker.cpp.

Field Documentation

◆ uuid_

esp_bt_uuid_t esphome::esp32_ble_tracker::ESPBTUUID::uuid_
protected

Definition at line 44 of file esp32_ble_tracker.h.


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