ESPHome 2026.10.0-dev
Loading...
Searching...
No Matches
esphome::bluetooth_proxy Namespace Reference

Data Structures

class  BluetoothProxy
 
class  PendingReply
 One owed address-keyed reply in a single word: 48-bit address low, 16-bit error on top. More...
 

Typedefs

using BluetoothConnection = bluetooth_connection::BluetoothConnection
 

Enumerations

enum  BluetoothProxyFeature : uint32_t {
  FEATURE_PASSIVE_SCAN = 1 << 0 , FEATURE_ACTIVE_CONNECTIONS = 1 << 1 , FEATURE_REMOTE_CACHING = 1 << 2 , FEATURE_PAIRING = 1 << 3 ,
  FEATURE_CACHE_CLEARING = 1 << 4 , FEATURE_RAW_ADVERTISEMENTS = 1 << 5 , FEATURE_STATE_AND_MODE = 1 << 6 , FEATURE_CONNECTION_PARAMS_SETTING = 1 << 7
}
 
enum  BluetoothProxySubscriptionFlag : uint32_t { SUBSCRIPTION_RAW_ADVERTISEMENTS = 1 << 0 }
 

Functions

constexpr bool pending_reply_round_trips (uint64_t address, uint64_t expected_address, conn_err_t error)
 

Variables

BluetoothProxyglobal_bluetooth_proxy = nullptr
 

Typedef Documentation

◆ BluetoothConnection

Enumeration Type Documentation

◆ BluetoothProxyFeature

Enumerator
FEATURE_PASSIVE_SCAN 
FEATURE_ACTIVE_CONNECTIONS 
FEATURE_REMOTE_CACHING 
FEATURE_PAIRING 
FEATURE_CACHE_CLEARING 
FEATURE_RAW_ADVERTISEMENTS 
FEATURE_STATE_AND_MODE 
FEATURE_CONNECTION_PARAMS_SETTING 

Definition at line 48 of file bluetooth_proxy.h.

◆ BluetoothProxySubscriptionFlag

Enumerator
SUBSCRIPTION_RAW_ADVERTISEMENTS 

Definition at line 59 of file bluetooth_proxy.h.

Function Documentation

◆ pending_reply_round_trips()

bool esphome::bluetooth_proxy::pending_reply_round_trips ( uint64_t address,
uint64_t expected_address,
conn_err_t error )
constexpr

Definition at line 89 of file bluetooth_proxy.h.

Variable Documentation

◆ global_bluetooth_proxy

BluetoothProxy * esphome::bluetooth_proxy::global_bluetooth_proxy = nullptr

Definition at line 873 of file bluetooth_proxy.cpp.