ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
packet_interface.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::packet_interface::PacketMetaData
 A struct to hold metadata about a packet. More...
 
class  esphome::packet_interface::PacketInterface
 A class that will transport data to and from an abstract channel. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::packet_interface
 

Enumerations

enum  esphome::packet_interface::Capability : uint8_t {
  esphome::packet_interface::CAPABILITY_ENCRYPTION = 1 << 0 , esphome::packet_interface::CAPABILITY_RELIABILITY = 1 << 1 , esphome::packet_interface::CAPABILITY_SESSION = 1 << 2 , esphome::packet_interface::CAPABILITY_ADDRESSING = 1 << 3 ,
  esphome::packet_interface::CAPABILITY_FRAGMENTATION = 1 << 4
}
 What a stack of layers provides, as bits of PacketInterface::get_capabilities(). More...
 

Functions

constexpr size_t esphome::packet_interface::remaining_packet_size (size_t size, size_t used)
 The room left for a packet of size bytes after used bytes, or 0 if it is too small.