DESERT 3.5.1
Loading...
Searching...
No Matches
hdr_uwal Struct Reference

#include <hdr-uwal.h>

Public Member Functions

uint8_t & srcID ()
 
unsigned int & pktID ()
 
uint16_t & framePayloadOffset ()
 
uint8_t & Mbit ()
 
char * dummyStr ()
 
char * binPkt ()
 
uint32_t & binPktLength ()
 
uint32_t & binHdrLength ()
 

Static Public Member Functions

static int & offset ()
 
static struct hdr_uwalaccess (const Packet *p)
 

Public Attributes

uint8_t srcID_
 
unsigned int pktID_
 
uint16_t framePayloadOffset_
 
uint8_t Mbit_
 
char dummyStr_ [MAX_DUMMY_STRING_LENGTH]
 
char binPkt_ [MAX_BIN_PKT_ARRAY_LENGTH]
 
uint32_t binPktLength_
 
uint32_t binHdrLength_
 

Static Public Attributes

static int offset_
 

Detailed Description

hdr_uwal describes the packet header used by Uwal objects.

Definition at line 52 of file hdr-uwal.h.

Member Function Documentation

◆ access()

static struct hdr_uwal * hdr_uwal::access ( const Packet *  p)
inlinestatic

Definition at line 62 of file hdr-uwal.h.

◆ binHdrLength()

uint32_t & hdr_uwal::binHdrLength ( )
inline

Reference to the binHdrLength_ variable.

Definition at line 159 of file hdr-uwal.h.

◆ binPkt()

char * hdr_uwal::binPkt ( )
inline

Return to the binPkt_ array pointer.

Definition at line 141 of file hdr-uwal.h.

◆ binPktLength()

uint32_t & hdr_uwal::binPktLength ( )
inline

Reference to the binPktLength_ variable.

Definition at line 150 of file hdr-uwal.h.

◆ dummyStr()

char * hdr_uwal::dummyStr ( )
inline

Return the pointer to the dummyStr_ array.

Definition at line 132 of file hdr-uwal.h.

◆ framePayloadOffset()

uint16_t & hdr_uwal::framePayloadOffset ( )
inline

Reference to the frameOffset_ variable.

Definition at line 114 of file hdr-uwal.h.

◆ Mbit()

uint8_t & hdr_uwal::Mbit ( )
inline

Reference to the Mbit_ variable.

Definition at line 123 of file hdr-uwal.h.

◆ offset()

static int & hdr_uwal::offset ( )
inlinestatic

Definition at line 57 of file hdr-uwal.h.

◆ pktID()

unsigned int & hdr_uwal::pktID ( )
inline

Reference to the pktID_ variable.

Definition at line 105 of file hdr-uwal.h.

◆ srcID()

uint8_t & hdr_uwal::srcID ( )
inline

Reference to the srcID_ variable.

Definition at line 96 of file hdr-uwal.h.

Member Data Documentation

◆ binHdrLength_

uint32_t hdr_uwal::binHdrLength_

number of chars in binPkt_ to consider as header.

Definition at line 89 of file hdr-uwal.h.

◆ binPkt_

char hdr_uwal::binPkt_[MAX_BIN_PKT_ARRAY_LENGTH]

array to store binary data as encoded from or to be decoded to this NS-Miracle packet header (NOTE: this CANNOT be fragmented) and the active packers linked to packer.

See also
classes packer and uwmphy_modem

Definition at line 80 of file hdr-uwal.h.

◆ binPktLength_

uint32_t hdr_uwal::binPktLength_

number of chars in binPkt_ to consider.

Definition at line 88 of file hdr-uwal.h.

◆ dummyStr_

char hdr_uwal::dummyStr_[MAX_DUMMY_STRING_LENGTH]

array containing a dummy string.

Definition at line 75 of file hdr-uwal.h.

◆ framePayloadOffset_

uint16_t hdr_uwal::framePayloadOffset_

Offset of the frame payload.

Definition at line 71 of file hdr-uwal.h.

◆ Mbit_

uint8_t hdr_uwal::Mbit_

M bit: if set to 0 the current frame is the last or the only one; if set to 1 the current frame is not the last.

Definition at line 72 of file hdr-uwal.h.

◆ offset_

int hdr_uwal::offset_
static

Definition at line 55 of file hdr-uwal.h.

◆ pktID_

unsigned int hdr_uwal::pktID_

ID of the packet.

Definition at line 70 of file hdr-uwal.h.

◆ srcID_

uint8_t hdr_uwal::srcID_

ID of the packet's source node.

Definition at line 69 of file hdr-uwal.h.


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