Add support for application/ocf.vnd+ocf discovery payloads.
authorTodd Malsbary <todd.malsbary@intel.com>
Wed, 1 Mar 2017 01:10:38 +0000 (17:10 -0800)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 27 Mar 2017 19:45:05 +0000 (19:45 +0000)
commitc18d0ffa08e0feb19d8451de980c93d63d464133
treeecd3f1f398c07376bee754a17359e114a5783908
parentee6839962bf1146f574a9914b7bbd11413a74559
Add support for application/ocf.vnd+ocf discovery payloads.

- Remove baseURI and add anchor property.
- Plumb content format through to parsing/converting payloads.

Change-Id: I05d2a9263b085dec3683f6345190a4b4574ff2dc
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17575
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
23 files changed:
resource/csdk/include/octypes.h
resource/csdk/resource-directory/SConscript
resource/csdk/resource-directory/unittests/rddatabase.cpp
resource/csdk/routing/src/routingmessageparser.c
resource/csdk/security/provisioning/src/cloud/aclid.c
resource/csdk/security/provisioning/src/cloud/crl.c
resource/csdk/security/src/crlresource.c
resource/csdk/stack/include/internal/ocpayloadcbor.h
resource/csdk/stack/include/internal/ocserverrequest.h
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/payload_logging.h
resource/csdk/stack/src/ocobserve.c
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/ocserverrequest.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/oickeepalive.c
resource/csdk/stack/src/oicresourcedirectory.c
resource/csdk/stack/test/cbortests.cpp
resource/include/OCSerialization.h
resource/unittests/OCRepresentationEncodingTest.cpp