Hi Jason,
json2cbor is a one way tool, so it is impossible to use it to generate json back from dat. But you can use any another CBOR decoding tool to review content of dat files.
Best regards, Aleksey Volkov
--------- Original Message --------- Sender : Sun Lifeng 孙立峰 (690) <sunlifeng...@haier.com> Date : 2018-03-02 11:47 (GMT+2) Title : [dev] 答复: Using CTT tool can't find device resource in SECURED mode
Hi, Dev Sorry to disturb you. I used file out/linux/arm/release/resource/csdk/security/tool/json2cbor to trans from json file to dat file. Is there a way to change the file from dat back to json? Thanks Jason Sun 发件人: Sun Lifeng 孙立峰 (690) Hi, dev For IoTivity 1.3.1 in SECURED mode, I did a program and generate a device resource. With that I used CTT tool to do a testing. But unfortunately, the resource can’t be found. Could you help check whether the json file, seeing the attachment, is right and give me some suggestions? The resource is /test, need I declare in this file? And how could I do? I am sure that the resource is generated since without SECURED mode CTT tool can find the resource. Thanks Jason Sun _______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev
|
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev