ESPHome  2024.7.1
Data Structures | Enumerations | Functions | Variables
esphome::esp32_ble Namespace Reference

Data Structures

class  BLEAdvertising
 
class  BLEDisableAction
 
class  BLEEnableAction
 
class  BLEEnabledCondition
 
class  BLEEvent
 
class  BLEStatusEventHandler
 
struct  conn_status_t
 
class  ESP32BLE
 
class  ESPBTUUID
 
class  GAPEventHandler
 
class  GATTcEventHandler
 
class  GATTsEventHandler
 
class  Queue
 

Enumerations

enum  IoCapability {
  IO_CAP_OUT = ESP_IO_CAP_OUT, IO_CAP_IO = ESP_IO_CAP_IO, IO_CAP_IN = ESP_IO_CAP_IN, IO_CAP_NONE = ESP_IO_CAP_NONE,
  IO_CAP_KBDISP = ESP_IO_CAP_KBDISP
}
 
enum  BLEComponentState {
  BLE_COMPONENT_STATE_OFF = 0, BLE_COMPONENT_STATE_DISABLE, BLE_COMPONENT_STATE_DISABLED, BLE_COMPONENT_STATE_ENABLE,
  BLE_COMPONENT_STATE_ACTIVE
}
 

Functions

uint64_t ble_addr_to_uint64 (const esp_bd_addr_t address)
 

Variables

ESP32BLEglobal_ble = nullptr
 

Enumeration Type Documentation

◆ BLEComponentState

Enumerator
BLE_COMPONENT_STATE_OFF 

Nothing has been initialized yet.

BLE_COMPONENT_STATE_DISABLE 

BLE should be disabled on next loop.

BLE_COMPONENT_STATE_DISABLED 

BLE is disabled.

BLE_COMPONENT_STATE_ENABLE 

BLE should be enabled on next loop.

BLE_COMPONENT_STATE_ACTIVE 

BLE is active.

Definition at line 40 of file ble.h.

◆ IoCapability

Enumerator
IO_CAP_OUT 
IO_CAP_IO 
IO_CAP_IN 
IO_CAP_NONE 
IO_CAP_KBDISP 

Definition at line 32 of file ble.h.

Function Documentation

◆ ble_addr_to_uint64()

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

Definition at line 392 of file ble.cpp.

Variable Documentation

◆ global_ble

ESP32BLE * esphome::esp32_ble::global_ble = nullptr

Definition at line 403 of file ble.cpp.