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

Structured representation of an ares packet. More...

#include <packet.h>

Collaboration diagram for ares_packet:

Data Fields

uint8_t sequence_cnt
uint16_t pan_id
uint16_t source_id
uint16_t destination_id
uint16_t packet_id
enum ares_packet_type type
struct ares_packet_payload payload

Detailed Description

Structured representation of an ares packet.

Field Documentation

◆ destination_id

uint16_t ares_packet::destination_id

Destination ID of the packet.

Note
This field is ignored if the packet is a broadcast packet.

◆ packet_id

uint16_t ares_packet::packet_id

Packet ID. Similar to sequence count except this one is for unique transmissions.

◆ pan_id

uint16_t ares_packet::pan_id

Personal Ares Network ID.

◆ payload

struct ares_packet_payload ares_packet::payload

The packet payload.

◆ sequence_cnt

uint8_t ares_packet::sequence_cnt

Sequence count value.

◆ source_id

uint16_t ares_packet::source_id

Source ID of the packet.

◆ type

enum ares_packet_type ares_packet::type

The type of packet received or to construct.


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