knx
ETS configurable knx-stack
knx_ip_state_request.cpp
Go to the documentation of this file.
1
#include "
knx_ip_state_request.h
"
2
#ifdef USE_IP
3
KnxIpStateRequest::KnxIpStateRequest
(uint8_t* data, uint16_t length)
4
:
KnxIpFrame
(data, length), _hpaiCtrl(data + LEN_KNXIP_HEADER + 1
/*ChannelId*/
+ 1
/*Reserved*/
)
5
{
6
}
7
8
IpHostProtocolAddressInformation
&
KnxIpStateRequest::hpaiCtrl
()
9
{
10
return
_hpaiCtrl;
11
}
12
uint8_t
KnxIpStateRequest::channelId
()
13
{
14
return
_data
[LEN_KNXIP_HEADER];
15
}
16
#endif
IpHostProtocolAddressInformation
Definition:
ip_host_protocol_address_information.h:18
KnxIpFrame
Definition:
knx_ip_frame.h:37
KnxIpFrame::_data
uint8_t * _data
Definition:
knx_ip_frame.h:54
KnxIpStateRequest::channelId
uint8_t channelId()
Definition:
knx_ip_state_request.cpp:12
KnxIpStateRequest::KnxIpStateRequest
KnxIpStateRequest(uint8_t *data, uint16_t length)
Definition:
knx_ip_state_request.cpp:3
KnxIpStateRequest::hpaiCtrl
IpHostProtocolAddressInformation & hpaiCtrl()
Definition:
knx_ip_state_request.cpp:8
knx_ip_state_request.h
src
knx
knx_ip_state_request.cpp
Generated by
1.9.1