- to add payloadSize in CAInfo_t type in CA Sample.
- to update address and port number automatically.
Change-Id: I0080d4572797539d1a74150edc7b3bd5dafba76e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2016
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
} else if (subject.equals(getString(R.string.remote_port))) {
StringBuilder sb = new StringBuilder();
String uri = mReqData_ed.getText().toString();
+ sb.append(uri);
if (null != receivedData && uri.contains("."))
{
- sb.append(uri).append(":").append(receivedData);
+ sb.append(":").append(receivedData);
}
sb.append(getString(R.string.uri));
mReqData_ed.setText(sb.toString());
return;
}
snprintf(responseData.payload, length, SECURE_INFO_DATA, resourceURI, g_localSecurePort);
+ responseData.payloadSize = length;
}
else
{
return;
}
snprintf(responseData.payload, length, NORMAL_INFO_DATA, resourceURI);
+ responseData.payloadSize = length;
}
responseData.type = messageType;