ESPHome 2026.10.2
Loading...
Searching...
No Matches
esphome::api::BluetoothDeviceConnectionResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::BluetoothDeviceConnectionResponse:
esphome::api::ProtoMessage

Public Member Functions

const LogString * message_name () const override
 
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 

Static Public Member Functions

static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 

Data Fields

uint64_t address {0}
 
bool connected {false}
 
uint32_t mtu {0}
 
int32_t error {0}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 69
 
static constexpr uint8_t ESTIMATED_SIZE = 14
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 2414 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

uint32_t esphome::api::BluetoothDeviceConnectionResponse::calc_size_msg ( const void * self)
static

Definition at line 2518 of file api_pb2.cpp.

◆ calculate_size()

uint32_t esphome::api::BluetoothDeviceConnectionResponse::calculate_size ( ) const
inline

Definition at line 2430 of file api_pb2.h.

◆ dump_to()

const char * esphome::api::BluetoothDeviceConnectionResponse::dump_to ( DumpBuffer & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 2163 of file api_pb2_dump.cpp.

◆ encode()

uint8_t * esphome::api::BluetoothDeviceConnectionResponse::encode ( ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
inline

Definition at line 2426 of file api_pb2.h.

◆ encode_msg()

uint8_t * esphome::api::BluetoothDeviceConnectionResponse::encode_msg ( const void * self,
uint8_t *pos PROTO_ENCODE_DEBUG_PARAM )
static

Definition at line 2509 of file api_pb2.cpp.

◆ message_name()

const LogString * esphome::api::BluetoothDeviceConnectionResponse::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2419 of file api_pb2.h.

Field Documentation

◆ address

uint64_t esphome::api::BluetoothDeviceConnectionResponse::address {0}

Definition at line 2421 of file api_pb2.h.

◆ connected

bool esphome::api::BluetoothDeviceConnectionResponse::connected {false}

Definition at line 2422 of file api_pb2.h.

◆ error

int32_t esphome::api::BluetoothDeviceConnectionResponse::error {0}

Definition at line 2424 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::BluetoothDeviceConnectionResponse::ESTIMATED_SIZE = 14
staticconstexpr

Definition at line 2417 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::BluetoothDeviceConnectionResponse::MESSAGE_TYPE = 69
staticconstexpr

Definition at line 2416 of file api_pb2.h.

◆ mtu

uint32_t esphome::api::BluetoothDeviceConnectionResponse::mtu {0}

Definition at line 2423 of file api_pb2.h.


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