ESPHome  2022.12.8
Data Structures | Typedefs | Enumerations | Functions | Variables
esphome::esp32_ble_tracker Namespace Reference

Data Structures

class  BLEEndOfScanTrigger
 
class  BLEEvent
 
class  BLEManufacturerDataAdvertiseTrigger
 
class  BLEServiceDataAdvertiseTrigger
 
class  ESP32BLEStartScanAction
 
class  ESP32BLEStopScanAction
 
class  ESP32BLETracker
 
class  ESPBLEiBeacon
 
class  ESPBTAdvertiseTrigger
 
class  ESPBTClient
 
class  ESPBTDevice
 
class  ESPBTDeviceListener
 
class  ESPBTUUID
 
class  Queue
 
struct  ServiceData
 

Typedefs

using adv_data_t = std::vector< uint8_t >
 

Enumerations

enum  ClientState {
  ClientState::INIT, ClientState::DISCONNECTING, ClientState::IDLE, ClientState::SEARCHING,
  ClientState::DISCOVERED, ClientState::READY_TO_CONNECT, ClientState::CONNECTING, ClientState::CONNECTED,
  ClientState::ESTABLISHED
}
 
enum  ConnectionType { ConnectionType::V1, ConnectionType::V3_WITH_CACHE, ConnectionType::V3_WITHOUT_CACHE }
 

Functions

uint64_t ble_addr_to_uint64 (const esp_bd_addr_t address)
 

Variables

ESP32BLETrackerglobal_esp32_ble_tracker = nullptr
 

Typedef Documentation

◆ adv_data_t

using esphome::esp32_ble_tracker::adv_data_t = typedef std::vector<uint8_t>

Definition at line 53 of file esp32_ble_tracker.h.

Enumeration Type Documentation

◆ ClientState

Enumerator
INIT 
DISCONNECTING 
IDLE 
SEARCHING 
DISCOVERED 
READY_TO_CONNECT 
CONNECTING 
CONNECTED 
ESTABLISHED 

Definition at line 147 of file esp32_ble_tracker.h.

◆ ConnectionType

Enumerator
V1 
V3_WITH_CACHE 
V3_WITHOUT_CACHE 

Definition at line 168 of file esp32_ble_tracker.h.

Function Documentation

◆ ble_addr_to_uint64()

uint64_t esphome::esp32_ble_tracker::ble_addr_to_uint64 ( const esp_bd_addr_t  address)

Definition at line 37 of file esp32_ble_tracker.cpp.

Variable Documentation

◆ global_esp32_ble_tracker

ESP32BLETracker * esphome::esp32_ble_tracker::global_esp32_ble_tracker = nullptr

Definition at line 35 of file esp32_ble_tracker.cpp.