[dev] Android, failed to set device ID

2018-02-07 Thread ka ka
Hello, IoTivity developers, I am working on an Android based IoTivity project. I need to fix the device ID of IoTivity platform. I used OcPlatform.setDeviceId to set the device ID, but it shows runtime error (UUID length, format are OK). is there some other solution? Regards W

Re: [dev] IoTivity Android build robustness

2018-02-07 Thread Nash, George
Max, We thought that the Android build did pick up the changes if you modify source in any layer C, C++, JNI, or Java. So there are currently no known issues. That does not mean there are no issues. About a quarter of the build time for the Android builder is not under the control of scons (it

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

2018-02-07 Thread Gregg Reynolds
On Feb 7, 2018 3:43 AM, "Philippe Coval" wrote: On 07/02/18 09:39, Sun Lifeng 孙立峰 (690) wrote: 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. libocpmapi will not be built if security wa

Re: [dev] libcoap version

2018-02-07 Thread Dave Thaler via iotivity-dev
George’s summary is correct. From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Nash, George Sent: Wednesday, February 7, 2018 10:16 AM To: Raveendranath Kondrakunta ; iotivity-dev@lists.iotivity.org Subject: Re: [dev] libcoap version Rav

Re: [dev] libcoap version

2018-02-07 Thread Nash, George
Ravee, For 1.3.1 I think the only option is OPTION#2 I have not been involved with the work on libcoap so I may have my information wrong. I will leave it to others to verify or correct. When IoTivity started libcoap was missing some critical option that IoTivity needed for this reason a local

[dev] IoTivity Android build robustness

2018-02-07 Thread Max Kholmyansky
Hi Developers, Recently I was working on some issues with IoTivity 1.3.1 on Android, and I had to modify the source code. Unfortunately, while 'scons' build works well on a "clean" source tree, it does nor help much to apply code modifications. My expectation is that once I modify a source code a

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

2018-02-07 Thread Philippe Coval
On 07/02/18 09:39, Sun Lifeng 孙立峰 (690) wrote: > > 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. > libocpmapi will not be built if security wasn't enabled >   > > Unfortunately

[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