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 13:50:16 +0000 (13:50 +0000)
commitd169909bf2b7d7d0c9fe84c7b5e83b2641dab804
tree62e98ce8508bfda10d02372e31c8f0beb5d6a264
parent61853f8bce9f038b91fd1aa1127c990469b58c24
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/5623
Reviewed-by: Habib Virji <habib.virji@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
resource/csdk/stack/src/ocpayloadparse.c [changed mode: 0644->0755]