@@ -34,7 +34,7 @@ KnxIpSearchResponseExtended::KnxIpSearchResponseExtended(IpParameterObject& para
34
34
35
35
void KnxIpSearchResponseExtended::setDeviceInfo (IpParameterObject& parameters, DeviceObject& deviceObject)
36
36
{
37
- println ( " setDeviceInfo" );
37
+ // setDeviceInfo");
38
38
KnxIpDeviceInformationDIB _deviceInfo (_data + currentPos);
39
39
_deviceInfo.length (LEN_DEVICE_INFORMATION_DIB);
40
40
_deviceInfo.code (DEVICE_INFO);
@@ -65,7 +65,7 @@ void KnxIpSearchResponseExtended::setDeviceInfo(IpParameterObject& parameters, D
65
65
66
66
void KnxIpSearchResponseExtended::setSupportedServices ()
67
67
{
68
- println (" setSupportedServices" );
68
+ // println("setSupportedServices");
69
69
KnxIpSupportedServiceDIB _supportedServices (_data + currentPos);
70
70
_supportedServices.length (LEN_SERVICE_DIB);
71
71
_supportedServices.code (SUPP_SVC_FAMILIES);
@@ -82,7 +82,7 @@ void KnxIpSearchResponseExtended::setSupportedServices()
82
82
83
83
void KnxIpSearchResponseExtended::setIpConfig (IpParameterObject& parameters)
84
84
{
85
- println (" setIpConfig" );
85
+ // println("setIpConfig");
86
86
KnxIpConfigDIB _ipConfig (_data + currentPos);
87
87
_ipConfig.length (LEN_IP_CONFIG_DIB);
88
88
_ipConfig.code (IP_CONFIG);
@@ -97,14 +97,14 @@ void KnxIpSearchResponseExtended::setIpConfig(IpParameterObject& parameters)
97
97
98
98
void KnxIpSearchResponseExtended::setIpCurrentConfig (IpParameterObject& parameters)
99
99
{
100
- println (" setIpCurrentConfig" );
100
+ // println("setIpCurrentConfig");
101
101
KnxIpConfigDIB _ipCurConfig (_data + currentPos, true );
102
102
_ipCurConfig.length (LEN_IP_CURRENT_CONFIG_DIB);
103
103
_ipCurConfig.code (IP_CUR_CONFIG);
104
104
_ipCurConfig.address (parameters.propertyValue <uint32_t >(PID_CURRENT_IP_ADDRESS));
105
105
_ipCurConfig.subnet (parameters.propertyValue <uint32_t >(PID_CURRENT_SUBNET_MASK));
106
106
_ipCurConfig.gateway (parameters.propertyValue <uint32_t >(PID_CURRENT_DEFAULT_GATEWAY));
107
- _ipCurConfig.dhcp (parameters. propertyValue < uint32_t >(PID_DHCP_BOOTP_SERVER) );
107
+ _ipCurConfig.dhcp (0 );
108
108
_ipCurConfig.info1 (parameters.propertyValue <uint8_t >(PID_CURRENT_IP_ASSIGNMENT_METHOD));
109
109
_ipCurConfig.info2 (0x00 ); // Reserved
110
110
@@ -113,7 +113,7 @@ void KnxIpSearchResponseExtended::setIpCurrentConfig(IpParameterObject& paramete
113
113
114
114
void KnxIpSearchResponseExtended::setKnxAddresses (IpParameterObject& parameters, DeviceObject& deviceObject)
115
115
{
116
- println (" setKnxAddresses" );
116
+ // println("setKnxAddresses");
117
117
KnxIpKnxAddressesDIB _knxAddresses (_data + currentPos);
118
118
_knxAddresses.length (4 ); // minimum
119
119
_knxAddresses.code (KNX_ADDRESSES);
@@ -136,7 +136,7 @@ void KnxIpSearchResponseExtended::setKnxAddresses(IpParameterObject& parameters,
136
136
137
137
void KnxIpSearchResponseExtended::setTunnelingInfo (IpParameterObject& parameters, DeviceObject& deviceObject, KnxIpTunnelConnection tunnels[])
138
138
{
139
- println (" setTunnelingInfo" );
139
+ // println("setTunnelingInfo");
140
140
KnxIpTunnelingInfoDIB _tunnelInfo (_data + currentPos);
141
141
_tunnelInfo.length (4 ); // minlength
142
142
_tunnelInfo.code (TUNNELING_INFO);
@@ -196,7 +196,7 @@ void KnxIpSearchResponseExtended::setTunnelingInfo(IpParameterObject& parameters
196
196
197
197
void KnxIpSearchResponseExtended::setExtendedDeviceInfo ()
198
198
{
199
- println (" setExtendedDeviceInfo" );
199
+ // println("setExtendedDeviceInfo");
200
200
KnxIpExtendedDeviceInformationDIB _extended (_data + currentPos);
201
201
_extended.length (LEN_EXTENDED_DEVICE_INFORMATION_DIB);
202
202
_extended.code (EXTENDED_DEVICE_INFO);
0 commit comments