SVC payload conversion from JSON to CBOR
authorHabib Virji <habib.virji@samsung.com>
Thu, 18 Feb 2016 20:18:33 +0000 (20:18 +0000)
committerHabib Virji <habib.virji@samsung.com>
Sat, 12 Mar 2016 13:36:17 +0000 (13:36 +0000)
commit2e43eb2a802ba90f4cc3b123cdcf24b6992f031a
tree5e7d8347459e9cad9e370b19d04f00f0e0add1ec
parent8d8cf6ccd8dc7e1ac04b0e9a133cfa9d33c13a12
SVC payload conversion from JSON to CBOR

Converts SVC payload conversion from JSON to CBOR directly using tinycbor library.

- SVC unit test is updated to match new changes.
- Persistant storage format: { "acl": <aclcbor>, "svc": <svccbor> }

Change-Id: I1a5b5600260b8965e468844636f6d77274688d29
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5047
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5771
resource/csdk/security/include/internal/psinterface.h
resource/csdk/security/include/internal/security_internals.h
resource/csdk/security/include/internal/svcresource.h
resource/csdk/security/src/psinterface.c
resource/csdk/security/src/svcresource.c
resource/csdk/security/unittest/SConscript
resource/csdk/security/unittest/svcresourcetest.cpp