since Valid response code only used to indicate that
response identified by the entity-tag(ETag option)
to use Changed code is more suitable.
Change-Id: I8ee3ea6e06ae49c4b005a024352cf5ff36d00588
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7951
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
entry->timeStamp = OICGetCurrentTime(TIME_IN_US);
// Send response message.
- SendDirectStackResponse(endPoint, requestInfo->info.messageId, CA_VALID, requestInfo->info.type,
+ SendDirectStackResponse(endPoint, requestInfo->info.messageId, CA_CHANGED, requestInfo->info.type,
requestInfo->info.numOptions, requestInfo->info.options,
requestInfo->info.token, requestInfo->info.tokenLength,
requestInfo->info.resourceUri);