ESPHome  2022.9.1
Public Member Functions | Static Public Member Functions | Protected Attributes
esphome::esp32_ble::ESPBTUUID Class Reference

#include <ble_uuid.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 ()
 
std::string to_string ()
 

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 14 of file ble_uuid.h.

Constructor & Destructor Documentation

◆ ESPBTUUID()

esphome::esp32_ble::ESPBTUUID::ESPBTUUID ( )

Definition at line 14 of file ble_uuid.cpp.

Member Function Documentation

◆ as_128bit()

ESPBTUUID esphome::esp32_ble::ESPBTUUID::as_128bit ( ) const

Definition at line 100 of file ble_uuid.cpp.

◆ contains()

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

Definition at line 116 of file ble_uuid.cpp.

◆ from_raw() [1/2]

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

Definition at line 27 of file ble_uuid.cpp.

◆ from_raw() [2/2]

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

Definition at line 34 of file ble_uuid.cpp.

◆ from_uint16()

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

Definition at line 15 of file ble_uuid.cpp.

◆ from_uint32()

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

Definition at line 21 of file ble_uuid.cpp.

◆ from_uuid()

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

Definition at line 91 of file ble_uuid.cpp.

◆ get_uuid()

esp_bt_uuid_t esphome::esp32_ble::ESPBTUUID::get_uuid ( )

Definition at line 161 of file ble_uuid.cpp.

◆ operator!=()

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

Definition at line 33 of file ble_uuid.h.

◆ operator==()

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

Definition at line 134 of file ble_uuid.cpp.

◆ to_string()

std::string esphome::esp32_ble::ESPBTUUID::to_string ( )

Definition at line 162 of file ble_uuid.cpp.

Field Documentation

◆ uuid_

esp_bt_uuid_t esphome::esp32_ble::ESPBTUUID::uuid_
protected

Definition at line 40 of file ble_uuid.h.


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