[IOT-914] Change format of the device id as text string
authorHabib Virji <habib.virji@samsung.com>
Thu, 10 Mar 2016 17:59:51 +0000 (17:59 +0000)
committerHabib Virji <habib.virji@samsung.com>
Tue, 19 Apr 2016 08:53:27 +0000 (08:53 +0000)
commit37525f8688c3695054e31c3c022187c2343e8e95
tree8bd014cc8c44918a7c87905644649140594ef8c9
parent051a66f72f1b2efd1bd146b779d4b2e519aa324a
[IOT-914] Change format of the device id as text string

DI field was being sent as a byte string over ther wire.

This patch update it to be sent as a string.

ocpayloadparse.c can handle both byte string and text string.
But ocpayloadconvert.c will be sending in text string.

Jira Issue: IOT-914
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Change-Id: I049bf4cff5f2b390e589eb5cf55966e8034838b1
Reviewed-on: https://gerrit.iotivity.org/gerrit/5691
Reviewed-by: Dwarkaprasad Dayama <dwarka.dayama@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
(cherry picked from commit d96fb8bee5a4895962f4b8fce8fee0f314bcce3b)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7811
12 files changed:
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/include/octypes.h
resource/csdk/stack/include/payload_logging.h
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/csdk/stack/src/ocstack.c
resource/include/OCSerialization.h
resource/src/OCRepresentation.cpp
resource/unittests/OCRepresentationEncodingTest.cpp