#include <proto.h>
Definition at line 934 of file proto.h.
◆ check_authenticated_()
| bool esphome::api::ProtoService::check_authenticated_ |
( |
| ) |
|
|
inlineprotected |
◆ check_connection_setup_()
| bool esphome::api::ProtoService::check_connection_setup_ |
( |
| ) |
|
|
inlineprotected |
◆ is_authenticated()
| virtual bool esphome::api::ProtoService::is_authenticated |
( |
| ) |
|
|
protectedpure virtual |
◆ is_connection_setup()
| virtual bool esphome::api::ProtoService::is_connection_setup |
( |
| ) |
|
|
protectedpure virtual |
◆ on_fatal_error()
| virtual void esphome::api::ProtoService::on_fatal_error |
( |
| ) |
|
|
protectedpure virtual |
◆ on_no_setup_connection()
| virtual void esphome::api::ProtoService::on_no_setup_connection |
( |
| ) |
|
|
protectedpure virtual |
◆ read_message()
| virtual void esphome::api::ProtoService::read_message |
( |
uint32_t | msg_size, |
|
|
uint32_t | msg_type, |
|
|
const uint8_t * | msg_data ) |
|
protectedpure virtual |
◆ send_buffer()
| virtual bool esphome::api::ProtoService::send_buffer |
( |
ProtoWriteBuffer | buffer, |
|
|
uint8_t | message_type ) |
|
protectedpure virtual |
◆ send_message_impl()
| virtual bool esphome::api::ProtoService::send_message_impl |
( |
const ProtoMessage & | msg, |
|
|
uint8_t | message_type ) |
|
protectedpure virtual |
Send a protobuf message by calculating its size, allocating a buffer, encoding, and sending.
This is the implementation method - callers should use send_message() which adds logging.
- Parameters
-
| msg | The protobuf message to send. |
| message_type | The message type identifier. |
- Returns
- True if the message was sent successfully, false otherwise.
Implemented in esphome::api::APIConnection.
The documentation for this class was generated from the following file: