While working on IOT-2443 I needed to update the oic_svr_db_server.json with 
some new ACL information.

**Using json2cbor built from 1.3-rel branch:**
Once that was updated I ran the json2cbor tool to convert the *.json file to 
cbor everything looked good

When I tested the output by running

The simpleclient and simpleserver samples I would get an error

onGET Response error: 255

255 is the OC_STACK_ERROR


**Using json2cbor build from master branch:**
Without changing the oic_svr_db_server.json file I repeated the process

I ran simpleclient and simpleserver samples and everything worked as expected.


Using the diff tool there are a few lines that are different between the master 
version and 1.3-rel version
See 
https://gerrit.iotivity.org/gerrit/#/c/22535/6/resource/csdk/security/tool/json2cbor.c
 to see the major differences.

Note additional update to the code done for IOT-2796
See: 
https://gerrit.iotivity.org/gerrit/#/c/22725/3/resource/csdk/security/tool/json2cbor.c

Has anyone else experienced problems using the output from json2cbor on 1.3-rel 
branch?

-George
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to