knx
ETS configurable knx-stack
knx_ip_connect_response.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "knx_ip_frame.h"
4 #include "knx_ip_crd.h"
8 #include "ip_parameter_object.h"
9 #ifdef USE_IP
10 
12 {
14 
18 
19  E_ERROR = 0x0F,
20 
30  E_CONNECTION_IN_USE = 0x2E
31 };
32 
34 {
35  public:
36  KnxIpConnectResponse(IpParameterObject& parameters, uint16_t address, uint16_t port, uint8_t channel, uint8_t type);
37  KnxIpConnectResponse(uint8_t channel, uint8_t errorCode);
39  KnxIpCRD& crd();
40  private:
41  IpHostProtocolAddressInformation _controlEndpoint;
42  KnxIpCRD _crd;
43 };
44 
45 #endif
IpHostProtocolAddressInformation & controlEndpoint()
KnxIpConnectResponse(IpParameterObject &parameters, uint16_t address, uint16_t port, uint8_t channel, uint8_t type)
KnxIpConnectionRequestErrorCodes
@ E_VERSION_NOT_SUPPORTED
@ E_KNX_CONNECTION
@ E_NO_TUNNELLING_ADDRESS
@ E_CONNECTION_OPTION
@ E_CONNECTION_ID
@ E_DATA_CONNECTION
@ E_SEQUENCE_NUMBER
@ E_TUNNELING_LAYER
@ E_NO_MORE_CONNECTIONS
@ E_CONNECTION_IN_USE
@ E_HOST_PROTOCOL_TYPE
@ E_CONNECTION_TYPE
@ E_AUTHORISATION_ERROR