ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
esphome::bluetooth_proxy::PendingReply Class Reference

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

#include <bluetooth_proxy.h>

Public Member Functions

constexpr void set (uint64_t address, conn_err_t error)
 
constexpr void clear ()
 
constexpr bool empty () const
 
constexpr bool matches (uint64_t address) const
 
constexpr uint64_t address () const
 
constexpr conn_err_t error () const
 

Detailed Description

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

Every error that reaches it fits int16_t.

Definition at line 66 of file bluetooth_proxy.h.

Member Function Documentation

◆ address()

uint64_t esphome::bluetooth_proxy::PendingReply::address ( ) const
inlineconstexpr

Definition at line 80 of file bluetooth_proxy.h.

◆ clear()

void esphome::bluetooth_proxy::PendingReply::clear ( )
inlineconstexpr

Definition at line 73 of file bluetooth_proxy.h.

◆ empty()

bool esphome::bluetooth_proxy::PendingReply::empty ( ) const
inlineconstexpr

Definition at line 77 of file bluetooth_proxy.h.

◆ error()

conn_err_t esphome::bluetooth_proxy::PendingReply::error ( ) const
inlineconstexpr

Definition at line 81 of file bluetooth_proxy.h.

◆ matches()

bool esphome::bluetooth_proxy::PendingReply::matches ( uint64_t address) const
inlineconstexpr

Definition at line 79 of file bluetooth_proxy.h.

◆ set()

void esphome::bluetooth_proxy::PendingReply::set ( uint64_t address,
conn_err_t error )
inlineconstexpr

Definition at line 68 of file bluetooth_proxy.h.


The documentation for this class was generated from the following file: