knx
ETS configurable knx-stack
knx_ip_routing_indication.cpp
Go to the documentation of this file.
2 #include <cstring>
3 
4 #ifdef USE_IP
6 {
7  return _frame;
8 }
9 
10 
12  uint16_t length) : KnxIpFrame(data, length), _frame(data + headerLength(), length - headerLength())
13 {
14 }
15 
17  : KnxIpFrame(frame.totalLenght() + LEN_KNXIP_HEADER), _frame(_data + headerLength(), frame.totalLenght())
18 {
20  memcpy(_data + LEN_KNXIP_HEADER, frame.data(), frame.totalLenght());
21 }
22 #endif
uint8_t * data()
Definition: cemi_frame.cpp:195
uint16_t totalLenght() const
Definition: cemi_frame.cpp:136
uint16_t serviceTypeIdentifier() const
uint8_t * _data
Definition: knx_ip_frame.h:54
KnxIpRoutingIndication(uint8_t *data, uint16_t length)
@ RoutingIndication
Definition: knx_ip_frame.h:32