Ares LoRa Firmware
Loading...
Searching...
No Matches
ares_packet_info Struct Reference

Serial buffer metadata that describes the location of a packet in a buffer, the size of the packet, and how many bytes need to be read before deserialization is possible. More...

#include <packet.h>

Data Fields

int start
int size
int bytes_left

Detailed Description

Serial buffer metadata that describes the location of a packet in a buffer, the size of the packet, and how many bytes need to be read before deserialization is possible.

Field Documentation

◆ bytes_left

int ares_packet_info::bytes_left

Number of additional bytes needed for a complete packet.

Note
-1 if no packet header found.

◆ size

int ares_packet_info::size

Size of the packet.

Note
-1 if no packet header found.

◆ start

int ares_packet_info::start

Start index.

Note
-1 if no packet header found.

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