Hello, guys. I have a question. 

I made two resource on arduino. 

ver. iotivity 0.9.1
Resource 1:
Type: "fire.sensor.temperature"
URI: "/fire/sensor/temperature"

Resource 2: 
Type: "fire.sensor.gas"
URI: "/fire/sensor/gas"

And then, my linux client tried to observe those resources.
It successfully found those resources.
But after registered the resources, the arduino board was reset.

This is log messages from arduino board.

1.   INFO: ArduinoServer: Created Gas resource with result: OC_STACK_OK
2.   INFO: ArduinoServer: Created Temperature resource with result: OC_STA
3.   INFO: ArduinoServer: Flag includes OC_REQUEST_FLAG
4.   INFO: ArduinoServer: GET CALLED IN arduino Gas entity!!!!!!!!!!!!!!!!
5.   INFO: ArduinoServer: Received OC_OBSERVE_REGISTER from client
6.   INFO: ArduinoServer: Flag includes OC_REQUEST_FLAG
7.   INFO: ArduinoServer: GET CALLED IN arduino Temperature entity!!!!!!!!
8.   INFO: ArduinoServer: o \0xf0\0xd8DEBUG: ArduinoServer: OCServer is 
starting...
9.   INFO: ArduinoServer: IP Address:  112.108.39.210
10. INFO: ArduinoServer: Created Gas resource with result: OC_STACK_OK

11. INFO: ArduinoServer: Created Temperature resource with result: OC_STA

As you can see at 1,2, Gas resource and Temperature resource was created.
And at 5, OC_OBSERVE_REGISTER method was received.
But after 8, arduino board was blown out and starts again.
After that, the board can't receive requests from client.

What is the cause of this error?

Samsung S/W Membership Software Developer
Hankuk Univ. of Foreign Studies Computer Engineering 11 
Insub Im
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150727/e7dc7076/attachment.html>

Reply via email to