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

Payload of ares packets. More...

#include <packet.h>

Data Fields

enum ares_packet_payload_type type
union { 
   struct { 
      int64_t   sec 
      uint64_t   nsec 
   }   START
   struct { 
      bool   ready 
   }   HEARTBEAT
   struct { 
      uint8_t   part 
      uint8_t   num_parts 
      uint16_t   log_id 
      const char *   msg 
      size_t   msg_len 
   }   LOG
   struct { 
      uint8_t   part 
      uint8_t   num_parts 
      uint16_t   log_id 
   }   LOG_ACK
payload

Detailed Description

Payload of ares packets.

Field Documentation

◆ [union]

union { ... } ares_packet_payload::payload

The payload data.

◆ type

enum ares_packet_payload_type ares_packet_payload::type

The payload type.


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