ESPHome  2024.11.0
Data Structures | Namespaces | Enumerations | Functions
api_frame_helper.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::api::ReadPacketBuffer
 
struct  esphome::api::PacketBuffer
 
class  esphome::api::APIFrameHelper
 
class  esphome::api::APINoiseFrameHelper
 
struct  esphome::api::APINoiseFrameHelper::ParsedFrame
 
class  esphome::api::APIPlaintextFrameHelper
 
struct  esphome::api::APIPlaintextFrameHelper::ParsedFrame
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::api
 

Enumerations

enum  esphome::api::APIError : int {
  esphome::api::APIError::OK = 0, esphome::api::APIError::WOULD_BLOCK = 1001, esphome::api::APIError::BAD_HANDSHAKE_PACKET_LEN = 1002, esphome::api::APIError::BAD_INDICATOR = 1003,
  esphome::api::APIError::BAD_DATA_PACKET = 1004, esphome::api::APIError::TCP_NODELAY_FAILED = 1005, esphome::api::APIError::TCP_NONBLOCKING_FAILED = 1006, esphome::api::APIError::CLOSE_FAILED = 1007,
  esphome::api::APIError::SHUTDOWN_FAILED = 1008, esphome::api::APIError::BAD_STATE = 1009, esphome::api::APIError::BAD_ARG = 1010, esphome::api::APIError::SOCKET_READ_FAILED = 1011,
  esphome::api::APIError::SOCKET_WRITE_FAILED = 1012, esphome::api::APIError::HANDSHAKESTATE_READ_FAILED = 1013, esphome::api::APIError::HANDSHAKESTATE_WRITE_FAILED = 1014, esphome::api::APIError::HANDSHAKESTATE_BAD_STATE = 1015,
  esphome::api::APIError::CIPHERSTATE_DECRYPT_FAILED = 1016, esphome::api::APIError::CIPHERSTATE_ENCRYPT_FAILED = 1017, esphome::api::APIError::OUT_OF_MEMORY = 1018, esphome::api::APIError::HANDSHAKESTATE_SETUP_FAILED = 1019,
  esphome::api::APIError::HANDSHAKESTATE_SPLIT_FAILED = 1020, esphome::api::APIError::BAD_HANDSHAKE_ERROR_BYTE = 1021, esphome::api::APIError::CONNECTION_CLOSED = 1022
}
 

Functions

const char * esphome::api::api_error_to_str (APIError err)