Update a CBOR parser logic for well-known keywords to OIC
authorJihun Ha <jihun.ha@samsung.com>
Wed, 9 Mar 2016 05:15:28 +0000 (14:15 +0900)
committerHabib Virji <habib.virji@samsung.com>
Thu, 10 Mar 2016 12:28:56 +0000 (12:28 +0000)
commit16aac4420e1385a2c87c1bbe47d7c1e98463d21c
treece4aff271fe38f67335ca25055194b0191a76a24
parent755ef54828f4e7744b121219b4c259293e748665
Update a CBOR parser logic for well-known keywords to OIC

I've updated a CBOR parsing logic When CBOR parser encounters a well-known
keyword like "href" as an attribute.
If the attribute is *NOT* on the outermost representation bracket, it is
treated as a normal attribute.

Change-Id: I1f1c28dd59ae09e1f3f8ab0188c59a1b9fc3b950
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5597
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
resource/csdk/stack/src/ocpayloadparse.c [changed mode: 0644->0755]