Add ByteString type at the Value of RCSResourceAttributes.
authorKIM JungYong <jyong2.kim@samsung.com>
Thu, 15 Dec 2016 09:09:36 +0000 (18:09 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 30 Dec 2016 08:10:58 +0000 (08:10 +0000)
commit1e5d79bf7da9ef976c08e1b8e5c73ce5598a852b
treee3d4b21cbc3144ec7ca659c13559743700375e58
parent53ddd7e65d7c23e3b6b2e3191db9e37852c51306
Add ByteString type at the Value of RCSResourceAttributes.

ByteString(Binary) was added in the Value of OCRepresentation.
But, RE layer does not covered ByteString type.
In this patch, ByteString type is added in RE layer
for synchronization with OC.

patchset #2
handling of OC::AttributeType::Binary is added.
toString method of RCSByteString is fixed.

patchset #4
Description of RCSByteString is added.

patchset #5
Server sample application is update for including byte string
on GET response of custom interface.

Change-Id: If293954c64fe1b072b1bdff967681d6c6e774671
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15695
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-encapsulation/examples/linux/SampleResourceServer.cpp
service/resource-encapsulation/include/RCSResourceAttributes.h
service/resource-encapsulation/src/common/primitiveResource/include/ResourceAttributesConverter.h
service/resource-encapsulation/src/common/primitiveResource/src/RCSResourceAttributes.cpp
service/resource-encapsulation/src/common/primitiveResource/unittests/ResourceAttributesTest.cpp