Agora  1.2.0
Agora project
MacPacketPacked Struct Reference

#include <message.h>

Collaboration diagram for MacPacketPacked:

Public Member Functions

uint16_t Frame () const
 
uint16_t Symbol () const
 
uint16_t Ue () const
 
uint16_t Crc () const
 
uint16_t PayloadLength () const
 
const unsigned char * Data () const
 
void Set (const uint16_t &f, const uint16_t &s, const uint16_t &u, const uint16_t &data_size)
 
void LoadData (const unsigned char *src_data)
 
void Crc (const uint16_t &crc)
 
unsigned char * DataPtr ()
 

Static Public Attributes

static constexpr size_t kHeaderSize = sizeof(MacPacketHeaderPacked)
 

Private Attributes

MacPacketHeaderPacked header_
 
unsigned char data_ []
 

Member Function Documentation

◆ Crc() [1/2]

uint16_t MacPacketPacked::Crc ( ) const
inline
Here is the call graph for this function:

◆ Crc() [2/2]

void MacPacketPacked::Crc ( const uint16_t &  crc)
inline
Here is the call graph for this function:

◆ Data()

const unsigned char* MacPacketPacked::Data ( ) const
inline

◆ DataPtr()

unsigned char* MacPacketPacked::DataPtr ( )
inline
Here is the caller graph for this function:

◆ Frame()

uint16_t MacPacketPacked::Frame ( ) const
inline
Here is the call graph for this function:

◆ LoadData()

void MacPacketPacked::LoadData ( const unsigned char *  src_data)
inline
Here is the call graph for this function:

◆ PayloadLength()

uint16_t MacPacketPacked::PayloadLength ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Set()

void MacPacketPacked::Set ( const uint16_t &  f,
const uint16_t &  s,
const uint16_t &  u,
const uint16_t &  data_size 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Symbol()

uint16_t MacPacketPacked::Symbol ( ) const
inline
Here is the call graph for this function:

◆ Ue()

uint16_t MacPacketPacked::Ue ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ data_

unsigned char MacPacketPacked::data_[]
private

◆ header_

MacPacketHeaderPacked MacPacketPacked::header_
private

◆ kHeaderSize

constexpr size_t MacPacketPacked::kHeaderSize = sizeof(MacPacketHeaderPacked)
staticconstexpr

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