39#ifndef UWAPPLICATION_CMH_HEADER_H
40#define UWAPPLICATION_CMH_HEADER_H
46#define MAX_LENGTH_PAYLOAD 4096
47#define HDR_DATA_APPLICATION(p) \
48 (hdr_DATA_APPLICATION::access( \
Content header of TRIGGER packet.
uint8_t & priority()
Reference to the priority variable.
static int offset_
Required by the PacketHeaderManager.
int rftt_
Forward Trip Time of the packet.
char payload_msg[MAX_LENGTH_PAYLOAD]
Message payload.
int & rftt()
Reference to the rftt_ variable.
uint16_t sn_
Serial number of the packet.
bool rftt_valid_
Flag used to set the validity of the fft field.
uint16_t payload_size_
Size (bytes) of the payload.
static hdr_DATA_APPLICATION * access(const Packet *p)
static int & offset()
Reference to the offset variable.
bool & rftt_valid()
Reference to the rftt_valid_ variable.
uint16_t & payload_size()
uint16_t & sn()
Reference to the sn_ variable.
uint8_t priority_
Priority flag: 1 means high priority, 0 normal priority.