|
ESPHome 2026.11.0-dev
|
A struct to hold metadata about a packet. More...
#include <packet_interface.h>
Data Fields | |
| StringRef | info {} |
| uint16_t | source_address {0} |
| uint16_t | destination_address {0} |
| float | rssi {NAN} |
| float | snr {NAN} |
| uint8_t | mac_address [MAC_ADDRESS_SIZE] {} |
A struct to hold metadata about a packet.
| info | Additional information about the packet |
| source_address | With an addressing layer, the sender of a received packet; 0 if not known |
| destination_address | With an addressing layer, the destination of a packet; when sending, 0 uses the configured destination |
| rssi | The RSSI of the packet |
| snr | The SNR of the packet |
| mac_address | The MAC address of the sender/receiver |
Definition at line 37 of file packet_interface.h.
| uint16_t esphome::packet_interface::PacketMetaData::destination_address {0} |
Definition at line 41 of file packet_interface.h.
| StringRef esphome::packet_interface::PacketMetaData::info {} |
Definition at line 39 of file packet_interface.h.
| uint8_t esphome::packet_interface::PacketMetaData::mac_address[MAC_ADDRESS_SIZE] {} |
Definition at line 44 of file packet_interface.h.
| float esphome::packet_interface::PacketMetaData::rssi {NAN} |
Definition at line 42 of file packet_interface.h.
| float esphome::packet_interface::PacketMetaData::snr {NAN} |
Definition at line 43 of file packet_interface.h.
| uint16_t esphome::packet_interface::PacketMetaData::source_address {0} |
Definition at line 40 of file packet_interface.h.