[dev] Question about function OCPlatform::setPropertyValue()

2018-03-15 Thread 690
Hi, dev Sorry to disturb your work. Now I had a question about function OCPlatform::setPropertyValue(); As you know, I’m making a project in SECURED=1 mode. To set device info, I used function OCPlatform::setPropertyValue to set related values. I used below to set ID OCPlatform::setPropertyVa

[dev] 答复: Using CTT tool can't find device resource in SECURED mode

2018-03-12 Thread 690
Hi, dev, About this issue, I found the root cause. This is because I used wrong version of tinyCbor. Sorry again for disturbing your work. Jason Sun 发件人: Sun Lifeng 孙立峰 (690) 发送时间: 2018年3月9日 17:35 收件人: 'iotivity-dev@lists.iotivity.org' 主题: 答复: Using CTT tool can't find dev

[dev] Using CTT tool can't find device resource in SECURED mode

2018-03-08 Thread 690
Hi, dev, I did a test with CTT2.1.0 and IoT1.3.1. But unfortunately, CTT can’t find the resource I created. Then I run my project with those libs(libocbtstack.so, liboc.so) generated from IoT1.3.0, CTT does can find all. Then I compiles IoT1.3.1 again with following command. scons TARGET_ARCH=a

[dev] One question about SCons script

2018-03-07 Thread 690
Hi, dev, Sorry to disturb your work. I have a question while using CTT to test my project now. 1. With IoT1.3.0 and CTT 1.2.0, in UN-SECURED mode, CTT can find the device resource I created. 2. With IoT1.3.1 and CTT 1.2.0, in UN-SECURED mode, CTT can not find the device resource

[dev] 答复: Using CTT tool can't find device resource in SECURED mode

2018-03-02 Thread 690
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) 发送时间: 2018年2月28日 11:23 收件人: 'iotivit

[dev] Using CTT tool can't find device resource in SECURED mode

2018-02-27 Thread 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

[dev] How to check whether libs are generated from build with SECURED=1 FLAG

2018-02-07 Thread 690
Hi, dev For IoTivity 1.3.1, I have 3 libs named as liboc.so, liboc_logger_core.so, liboc_logger.so, libocpmapi.so, libocprovision.so and liboctbstack.so. Unfortunately, I forgot whether I used flag SECURED=1 when making build. Would you give some suggestions to confirm whether I used that flag

[dev] About SECURED mode

2017-12-11 Thread 690
Hi, dev, For IoTivity project, about SECURED mode, for my understanding, I should generate dat file for the SVR database. Am I right? If I do, how to generate that dat file? Is there a specific tool? Thanks Jason Sun ___ iotivity-dev mailing list iot

[dev] About the space limitation for limited HW

2017-12-01 Thread 690
Hi, dev, Before this, I used to use Raspiberry as the HW to run OCF project. Now I am studying limited HW. For that kind of HW, could you give me some suggestions? Such as the space requirement for ROM and RAM? Those limitation should be different for SECURED and NON-SECURED mode, am I right?