Added support for CBOR content format option.
authorStephane Lejeune <stlejeun@cisco.com>
Mon, 24 Aug 2015 14:15:30 +0000 (16:15 +0200)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Tue, 8 Sep 2015 17:34:54 +0000 (17:34 +0000)
commit32ab1cbaedf2932760fcafd5c3555b80377536eb
tree515be9d0c8bf16e1f941ff634536915bfcaddba3
parent236ed8857cdfddfcefce659021be21c2ce8cbedb
Added support for CBOR content format option.

Added a new option defining content format for CBOR encoded payloads.
This will allow a more robust interpretation of incomming payloads
and will also permit generic stacks that have no apriori knowledge
about OIC to interpret the payloads going accross the network.

Change-Id: I34feb4e305458fcef4e7343cda313d9a52d12046
Signed-off-by: Stephane Lejeune <stlejeun@cisco.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2262
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/connectivity/api/cacommon.h
resource/csdk/connectivity/common/src/caremotehandler.c
resource/csdk/connectivity/lib/libcoap-4.1.1/pdu.h
resource/csdk/connectivity/src/caprotocolmessage.c
resource/csdk/stack/src/ocserverrequest.c
resource/csdk/stack/src/ocstack.c