ESPHome 2025.5.0
Loading...
Searching...
No Matches
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
 

Typedefs

using raw_adv_data_t
 

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
 

Typedef Documentation

◆ raw_adv_data_t

Initial value:
struct {
uint8_t *data;
size_t length;
esp_power_level_t power_level;
}
uint16_t length
Definition tt21100.cpp:0

Definition at line 16 of file ble_advertising.h.

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 42 of file ble.h.

◆ IoCapability

Enumerator
IO_CAP_OUT 
IO_CAP_IO 
IO_CAP_IN 
IO_CAP_NONE 
IO_CAP_KBDISP 

Definition at line 34 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 420 of file ble.cpp.

Variable Documentation

◆ global_ble

ESP32BLE * esphome::esp32_ble::global_ble = nullptr

Definition at line 431 of file ble.cpp.