ESPHome  2024.9.0
Data Structures | Typedefs | 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
 

Typedefs

using raw_adv_data_t = struct { uint8_t *data
 

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
 
size_t length
 
esp_power_level_t power_level
 

Typedef Documentation

◆ raw_adv_data_t

using esphome::esp32_ble::raw_adv_data_t = typedef struct { uint8_t *data

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

Variable Documentation

◆ global_ble

ESP32BLE * esphome::esp32_ble::global_ble = nullptr

Definition at line 411 of file ble.cpp.

◆ length

size_t esphome::esp32_ble::length

Definition at line 18 of file ble_advertising.h.

◆ power_level

esp_power_level_t esphome::esp32_ble::power_level

Definition at line 19 of file ble_advertising.h.