ESPHome 2025.6.2
Loading...
Searching...
No Matches
esphome::api::PacketInfo Struct Reference

#include <api_frame_helper.h>

Public Member Functions

 PacketInfo (uint16_t type, uint16_t off, uint16_t size)
 

Data Fields

uint16_t message_type
 
uint16_t offset
 
uint16_t payload_size
 
uint16_t padding
 

Detailed Description

Definition at line 31 of file api_frame_helper.h.

Constructor & Destructor Documentation

◆ PacketInfo()

esphome::api::PacketInfo::PacketInfo ( uint16_t type,
uint16_t off,
uint16_t size )
inline

Definition at line 37 of file api_frame_helper.h.

Field Documentation

◆ message_type

uint16_t esphome::api::PacketInfo::message_type

Definition at line 32 of file api_frame_helper.h.

◆ offset

uint16_t esphome::api::PacketInfo::offset

Definition at line 33 of file api_frame_helper.h.

◆ padding

uint16_t esphome::api::PacketInfo::padding

Definition at line 35 of file api_frame_helper.h.

◆ payload_size

uint16_t esphome::api::PacketInfo::payload_size

Definition at line 34 of file api_frame_helper.h.


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