knx
ETS configurable knx-stack
CemiFrame Class Reference

#include <cemi_frame.h>

Public Member Functions

 CemiFrame (uint8_t *data, uint16_t length)
 
 CemiFrame (uint8_t apduLength)
 
 CemiFrame (const CemiFrame &other)
 
CemiFrameoperator= (CemiFrame other)
 
MessageCode messageCode () const
 
void messageCode (MessageCode value)
 
uint16_t totalLenght () const
 
uint16_t telegramLengthtTP () const
 
void fillTelegramTP (uint8_t *data)
 
uint16_t telegramLengthtRF () const
 
void fillTelegramRF (uint8_t *data)
 
uint8_t * data ()
 
uint16_t dataLength ()
 
FrameFormat frameType () const
 
void frameType (FrameFormat value)
 
Repetition repetition () const
 
void repetition (Repetition value)
 
SystemBroadcast systemBroadcast () const
 
void systemBroadcast (SystemBroadcast value)
 
Priority priority () const
 
void priority (Priority value)
 
AckType ack () const
 
void ack (AckType value)
 
Confirm confirm () const
 
void confirm (Confirm value)
 
AddressType addressType () const
 
void addressType (AddressType value)
 
uint8_t hopCount () const
 
void hopCount (uint8_t value)
 
uint16_t sourceAddress () const
 
void sourceAddress (uint16_t value)
 
uint16_t destinationAddress () const
 
void destinationAddress (uint16_t value)
 
uint8_t * rfSerialOrDoA () const
 
void rfSerialOrDoA (const uint8_t *rfSerialOrDoA)
 
uint8_t rfInfo () const
 
void rfInfo (uint8_t rfInfo)
 
uint8_t rfLfn () const
 
void rfLfn (uint8_t rfInfo)
 
NPDUnpdu ()
 
TPDUtpdu ()
 
APDUapdu ()
 
uint8_t calcCrcTP (uint8_t *buffer, uint16_t len)
 
bool valid () const
 

Friends

class DataLinkLayer
 

Detailed Description

Definition at line 19 of file cemi_frame.h.

Constructor & Destructor Documentation

◆ CemiFrame() [1/3]

CemiFrame::CemiFrame ( uint8_t *  data,
uint16_t  length 
)

Definition at line 77 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ CemiFrame() [2/3]

CemiFrame::CemiFrame ( uint8_t  apduLength)

Definition at line 87 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ CemiFrame() [3/3]

CemiFrame::CemiFrame ( const CemiFrame other)

Definition at line 101 of file cemi_frame.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ack() [1/2]

AckType CemiFrame::ack ( ) const

Definition at line 259 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ ack() [2/2]

void CemiFrame::ack ( AckType  value)

Definition at line 264 of file cemi_frame.cpp.

◆ addressType() [1/2]

AddressType CemiFrame::addressType ( ) const

Definition at line 281 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ addressType() [2/2]

void CemiFrame::addressType ( AddressType  value)

Definition at line 286 of file cemi_frame.cpp.

◆ apdu()

APDU & CemiFrame::apdu ( )

Definition at line 367 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ calcCrcTP()

uint8_t CemiFrame::calcCrcTP ( uint8_t *  buffer,
uint16_t  len 
)

Definition at line 205 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ confirm() [1/2]

Confirm CemiFrame::confirm ( ) const

Definition at line 270 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ confirm() [2/2]

void CemiFrame::confirm ( Confirm  value)

Definition at line 275 of file cemi_frame.cpp.

◆ data()

uint8_t * CemiFrame::data ( )

Definition at line 195 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ dataLength()

uint16_t CemiFrame::dataLength ( )

Definition at line 200 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ destinationAddress() [1/2]

uint16_t CemiFrame::destinationAddress ( ) const

Definition at line 315 of file cemi_frame.cpp.

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

◆ destinationAddress() [2/2]

void CemiFrame::destinationAddress ( uint16_t  value)

Definition at line 322 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ fillTelegramRF()

void CemiFrame::fillTelegramRF ( uint8_t *  data)

Definition at line 176 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ fillTelegramTP()

void CemiFrame::fillTelegramTP ( uint8_t *  data)

Definition at line 149 of file cemi_frame.cpp.

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

◆ frameType() [1/2]

FrameFormat CemiFrame::frameType ( ) const

Definition at line 215 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ frameType() [2/2]

void CemiFrame::frameType ( FrameFormat  value)

Definition at line 220 of file cemi_frame.cpp.

◆ hopCount() [1/2]

uint8_t CemiFrame::hopCount ( ) const

Definition at line 292 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ hopCount() [2/2]

void CemiFrame::hopCount ( uint8_t  value)

Definition at line 297 of file cemi_frame.cpp.

◆ messageCode() [1/2]

MessageCode CemiFrame::messageCode ( ) const

Definition at line 126 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ messageCode() [2/2]

void CemiFrame::messageCode ( MessageCode  value)

Definition at line 131 of file cemi_frame.cpp.

◆ npdu()

NPDU & CemiFrame::npdu ( )

Definition at line 357 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ operator=()

CemiFrame & CemiFrame::operator= ( CemiFrame  other)

Definition at line 113 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ priority() [1/2]

Priority CemiFrame::priority ( ) const

Definition at line 248 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ priority() [2/2]

void CemiFrame::priority ( Priority  value)

Definition at line 253 of file cemi_frame.cpp.

◆ repetition() [1/2]

Repetition CemiFrame::repetition ( ) const

Definition at line 226 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ repetition() [2/2]

void CemiFrame::repetition ( Repetition  value)

Definition at line 231 of file cemi_frame.cpp.

◆ rfInfo() [1/2]

uint8_t CemiFrame::rfInfo ( ) const

Definition at line 337 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ rfInfo() [2/2]

void CemiFrame::rfInfo ( uint8_t  rfInfo)

Definition at line 342 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ rfLfn() [1/2]

uint8_t CemiFrame::rfLfn ( ) const

Definition at line 347 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ rfLfn() [2/2]

void CemiFrame::rfLfn ( uint8_t  rfInfo)

Definition at line 352 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ rfSerialOrDoA() [1/2]

uint8_t * CemiFrame::rfSerialOrDoA ( ) const

Definition at line 327 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ rfSerialOrDoA() [2/2]

void CemiFrame::rfSerialOrDoA ( const uint8_t *  rfSerialOrDoA)

Definition at line 332 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ sourceAddress() [1/2]

uint16_t CemiFrame::sourceAddress ( ) const

Definition at line 303 of file cemi_frame.cpp.

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

◆ sourceAddress() [2/2]

void CemiFrame::sourceAddress ( uint16_t  value)

Definition at line 310 of file cemi_frame.cpp.

Here is the call graph for this function:

◆ systemBroadcast() [1/2]

SystemBroadcast CemiFrame::systemBroadcast ( ) const

Definition at line 237 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ systemBroadcast() [2/2]

void CemiFrame::systemBroadcast ( SystemBroadcast  value)

Definition at line 242 of file cemi_frame.cpp.

◆ telegramLengthtRF()

uint16_t CemiFrame::telegramLengthtRF ( ) const

Definition at line 171 of file cemi_frame.cpp.

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

◆ telegramLengthtTP()

uint16_t CemiFrame::telegramLengthtTP ( ) const

Definition at line 141 of file cemi_frame.cpp.

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

◆ totalLenght()

uint16_t CemiFrame::totalLenght ( ) const

Definition at line 136 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ tpdu()

TPDU & CemiFrame::tpdu ( )

Definition at line 362 of file cemi_frame.cpp.

Here is the caller graph for this function:

◆ valid()

bool CemiFrame::valid ( ) const

Definition at line 372 of file cemi_frame.cpp.

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

Friends And Related Function Documentation

◆ DataLinkLayer

friend class DataLinkLayer
friend

Definition at line 21 of file cemi_frame.h.


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