knx
ETS configurable knx-stack
KnxIpFrame Class Reference

#include <knx_ip_frame.h>

Inheritance diagram for KnxIpFrame:
[legend]

Public Member Functions

 KnxIpFrame (uint8_t *data, uint16_t length)
 
 KnxIpFrame (uint16_t totalLength)
 
virtual ~KnxIpFrame ()
 
uint8_t headerLength () const
 
void headerLength (uint8_t length)
 
KnxIpVersion protocolVersion () const
 
void protocolVersion (KnxIpVersion version)
 
uint16_t serviceTypeIdentifier () const
 
void serviceTypeIdentifier (uint16_t identifier)
 
uint16_t totalLength () const
 
void totalLength (uint16_t length)
 
uint8_t * data ()
 

Protected Attributes

bool _freeData = false
 
uint8_t * _data = 0
 
uint16_t _dataLength
 

Detailed Description

Definition at line 36 of file knx_ip_frame.h.

Constructor & Destructor Documentation

◆ KnxIpFrame() [1/2]

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

Definition at line 11 of file knx_ip_frame.cpp.

Here is the call graph for this function:

◆ KnxIpFrame() [2/2]

KnxIpFrame::KnxIpFrame ( uint16_t  totalLength)

Definition at line 71 of file knx_ip_frame.cpp.

Here is the call graph for this function:

◆ ~KnxIpFrame()

KnxIpFrame::~KnxIpFrame ( )
virtual

Definition at line 64 of file knx_ip_frame.cpp.

Member Function Documentation

◆ data()

uint8_t * KnxIpFrame::data ( )

Definition at line 58 of file knx_ip_frame.cpp.

Here is the caller graph for this function:

◆ headerLength() [1/2]

uint8_t KnxIpFrame::headerLength ( ) const

Definition at line 18 of file knx_ip_frame.cpp.

Here is the caller graph for this function:

◆ headerLength() [2/2]

void KnxIpFrame::headerLength ( uint8_t  length)

Definition at line 23 of file knx_ip_frame.cpp.

◆ protocolVersion() [1/2]

KnxIpVersion KnxIpFrame::protocolVersion ( ) const

Definition at line 28 of file knx_ip_frame.cpp.

Here is the caller graph for this function:

◆ protocolVersion() [2/2]

void KnxIpFrame::protocolVersion ( KnxIpVersion  version)

Definition at line 33 of file knx_ip_frame.cpp.

◆ serviceTypeIdentifier() [1/2]

uint16_t KnxIpFrame::serviceTypeIdentifier ( ) const

Definition at line 38 of file knx_ip_frame.cpp.

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

◆ serviceTypeIdentifier() [2/2]

void KnxIpFrame::serviceTypeIdentifier ( uint16_t  identifier)

Definition at line 43 of file knx_ip_frame.cpp.

Here is the call graph for this function:

◆ totalLength() [1/2]

uint16_t KnxIpFrame::totalLength ( ) const

Definition at line 48 of file knx_ip_frame.cpp.

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

◆ totalLength() [2/2]

void KnxIpFrame::totalLength ( uint16_t  length)

Definition at line 53 of file knx_ip_frame.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _data

uint8_t* KnxIpFrame::_data = 0
protected

Definition at line 54 of file knx_ip_frame.h.

◆ _dataLength

uint16_t KnxIpFrame::_dataLength
protected

Definition at line 55 of file knx_ip_frame.h.

◆ _freeData

bool KnxIpFrame::_freeData = false
protected

Definition at line 53 of file knx_ip_frame.h.


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