[dev] Build Problem when modify the code of simpleserver

2017-11-10 Thread
Dear developers: Hi! I built iotivity-1.2.1 both on Raspberry 3. I want to modify the code of simpleserver to operate the gpio to control the led light state. Hence, I added following code before void put(OCRpresentation &rep) in simpleserver: void controlLight(bool state){ if(state ==

[dev] issues when build iotivity for raspberry pi

2017-11-09 Thread
Dear developer: I tried to build Iotivity-1.3_rel with arg TARGET_ARCH=arm on Rapberry 3 Model B instead of linux, and it built successfully. However, when I ran simpleclient and simpleserver, it didn't work, the server kept waiting and the client kept finding, I don't know what the problem.

[dev] issues when build iotivity for raspberry pi

2017-11-06 Thread
Dear develops: Hi! I followed the guidance in https://wiki.iotivity.org/build_iotivity_for_raspberry_pi, to build iotivity for raspberry pi 3 with raspbian jessie OS. When I built with scons TARGET_ARCH=arm in home/pi/iotivity-1.3.0, I met an error: Linking out/linux/arm/release/resource/I