[IOT-921]Return correct resource type in /oic/d
authorHabib Virji <habib.virji@samsung.com>
Fri, 11 Mar 2016 12:37:43 +0000 (12:37 +0000)
committerHabib Virji <habib.virji@samsung.com>
Mon, 21 Mar 2016 18:42:10 +0000 (18:42 +0000)
commitbca93d94dd40e457f1b77af5a17866a92abd1902
tree4cf9e1e681c00acac8a677485c7a3dcebc13c935
parent2a7b046b63032c419db682fa11ed2ad2bf84081e
[IOT-921]Return correct resource type in /oic/d

It adds support to add device resource type via API.

Jira Issue: IOT-921
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Change-Id: Ib47f637ff343b5bc8dbce5d5f0cc2b5f1eab46ab
Reviewed-on: https://gerrit.iotivity.org/gerrit/5747
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
14 files changed:
plugins/samples/linux/IotivityandZigbeeServer.c
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/include/octypes.h
resource/csdk/stack/include/payload_logging.h
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
resource/csdk/stack/samples/tizen/SimpleClientServer/ocserver.cpp
resource/csdk/stack/src/ocpayload.c
resource/csdk/stack/src/ocpayloadconvert.c
resource/csdk/stack/src/ocpayloadparse.c
resource/csdk/stack/src/ocresource.c
resource/examples/devicediscoveryserver.cpp
resource/src/OCRepresentation.cpp
resource/unittests/OCPlatformTest.cpp
resource/unittests/OCRepresentationEncodingTest.cpp