knx
ETS configurable knx-stack
TpFrame Class Reference

#include <tp_frame.h>

Public Member Functions

 TpFrame (CemiFrame &cemiFrame)
 
 TpFrame (uint16_t maxSize=263)
 
 ~TpFrame ()
 
void addByte (uint8_t byte)
 
uint16_t size ()
 
uint16_t flags ()
 
void addFlags (uint8_t flags)
 
uint8_t * data ()
 
uint8_t data (uint16_t pos)
 
void reset ()
 
bool isFull ()
 
bool isExtended ()
 
uint16_t source ()
 
std::string humanSource ()
 
std::string humanDestination ()
 
uint16_t destination ()
 
uint8_t payloadSize ()
 
uint8_t headerSize ()
 
uint16_t fullSize ()
 
bool isGroupAddress ()
 
uint16_t cemiSize ()
 
uint8_t * cemiData ()
 Creates a buffer and converts the TpFrame into a CemiFrame. More...
 
bool isValid ()
 
bool isComplete ()
 
bool isRepeated ()
 

Detailed Description

Definition at line 33 of file tp_frame.h.

Constructor & Destructor Documentation

◆ TpFrame() [1/2]

TpFrame::TpFrame ( CemiFrame cemiFrame)
inline

Definition at line 57 of file tp_frame.h.

Here is the call graph for this function:

◆ TpFrame() [2/2]

TpFrame::TpFrame ( uint16_t  maxSize = 263)
inline

Definition at line 70 of file tp_frame.h.

◆ ~TpFrame()

TpFrame::~TpFrame ( )
inline

Definition at line 80 of file tp_frame.h.

Member Function Documentation

◆ addByte()

void TpFrame::addByte ( uint8_t  byte)
inline

Definition at line 89 of file tp_frame.h.

Here is the call graph for this function:

◆ addFlags()

void TpFrame::addFlags ( uint8_t  flags)
inline

Definition at line 121 of file tp_frame.h.

Here is the call graph for this function:

◆ cemiData()

uint8_t* TpFrame::cemiData ( )
inline

Creates a buffer and converts the TpFrame into a CemiFrame.

Important: After processing (i.e. also after using the CemiFrame), the reference must be released manually.

Definition at line 256 of file tp_frame.h.

Here is the call graph for this function:

◆ cemiSize()

uint16_t TpFrame::cemiSize ( )
inline

Definition at line 247 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ data() [1/2]

uint8_t* TpFrame::data ( )
inline

Definition at line 129 of file tp_frame.h.

Here is the caller graph for this function:

◆ data() [2/2]

uint8_t TpFrame::data ( uint16_t  pos)
inline

Definition at line 137 of file tp_frame.h.

◆ destination()

uint16_t TpFrame::destination ( )
inline

Definition at line 203 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ flags()

uint16_t TpFrame::flags ( )
inline

Definition at line 113 of file tp_frame.h.

Here is the caller graph for this function:

◆ fullSize()

uint16_t TpFrame::fullSize ( )
inline

Definition at line 229 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ headerSize()

uint8_t TpFrame::headerSize ( )
inline

Definition at line 220 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ humanDestination()

std::string TpFrame::humanDestination ( )
inline

Definition at line 186 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ humanSource()

std::string TpFrame::humanSource ( )
inline

Definition at line 178 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isComplete()

bool TpFrame::isComplete ( )
inline

Definition at line 300 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isExtended()

bool TpFrame::isExtended ( )
inline

Definition at line 164 of file tp_frame.h.

Here is the caller graph for this function:

◆ isFull()

bool TpFrame::isFull ( )
inline

Definition at line 156 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isGroupAddress()

bool TpFrame::isGroupAddress ( )
inline

Definition at line 238 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRepeated()

bool TpFrame::isRepeated ( )
inline

Definition at line 305 of file tp_frame.h.

◆ isValid()

bool TpFrame::isValid ( )
inline

Definition at line 283 of file tp_frame.h.

Here is the call graph for this function:

◆ payloadSize()

uint8_t TpFrame::payloadSize ( )
inline

Definition at line 212 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void TpFrame::reset ( )
inline

Definition at line 145 of file tp_frame.h.

Here is the caller graph for this function:

◆ size()

uint16_t TpFrame::size ( )
inline

Definition at line 105 of file tp_frame.h.

Here is the caller graph for this function:

◆ source()

uint16_t TpFrame::source ( )
inline

Definition at line 173 of file tp_frame.h.

Here is the call graph for this function:
Here is the caller graph for this function:

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