Removed href from device and platform payload 65/15265/3
authorHabib Virji <habib.virji@samsung.com>
Wed, 30 Nov 2016 22:09:30 +0000 (22:09 +0000)
committerZiran Sun <ziran.sun@samsung.com>
Mon, 12 Dec 2016 10:50:12 +0000 (10:50 +0000)
commit922b36783c17296bbf09831f89bc4b0ce9c0e688
treef8c3cea3bb0b2bb09eaf6736cf30fb6aac4e6633
parent6e251ff6afcb8c0b3180b249032c176c693aa07c
Removed href from device and platform payload

- Created a separate function to handle Device and Platform payload.
- rt, if and attribute information are the only included in the payload.
- BuildResponseRepresentation updated to avoid information about device and platform payload.
- Updated dmv value from res.1.1.0,sh.1.2.0 to res.1.1.0,sh.1.1.0.

Change-Id: I59059997f170d177663e87eddea9df32275ca882
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14979
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15265
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
resource/csdk/stack/samples/tizen/SimpleClientServer/ocserver.cpp
resource/csdk/stack/src/ocresource.c
resource/examples/devicediscoveryserver.cpp
resource/examples/simpleserver.cpp