Re: [dev] Build Problem when modify the code of simpleserver

2017-11-10 Thread Philippe Coval
On 10/11/17 18:40, Mats Wichmann wrote: > On 11/10/2017 05:16 AM, 翟墨 wrote: >> 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. This is the good way to check, 1st time blinkin

Re: [dev] Build Problem when modify the code of simpleserver

2017-11-10 Thread Mats Wichmann
On 11/10/2017 05:16 AM, 翟墨 wrote: > 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: > v

[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 ==