Hi,
One of our test engineers just tested 0.9.2-RC3 on Arduino and did NOT see any 
resets upon receiving an observe request and no reset during sending observe 
notifications.

In addition to creating two resources, can you provide any other information 
about your test environment?  What Arduino board did you use?  What IP shield?  
Full scons build command?

Thanks,
Doug

From: ??? [mailto:[email protected]]
Sent: Tuesday, August 4, 2015 8:51 PM
To: Hudson, Douglas
Cc: IoTivity
Subject: Re: [dev] When observing two resources on one arduino device makes 
problem


Insub and I are in the same team.

We didn't specify RELEASE=no. We know it is debug mode compile option.



The server is reset at the beginning of OBSERVE request.






Samsung S/W Membership Software Developer
Sungkyunkwan Univ. Computer Engineering 08
B.E.S.T. House Team & Side Of House
Jake Kim



-----Original Message-----
From: "Hudson, Douglas"<douglas.hudson at 
intel.com<mailto:[email protected]>>
To: "???"<insooneelife at naver.com<mailto:insooneelife at naver.com>>; 
"iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>"<iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>>;
Cc:
Sent: 2015-07-27 (?) 23:39:10
Subject: Re: [dev] When observing two resources on one arduino device makes 
problem


Hi,

What scons command line options did you use to build for Arduino?  Make sure 
that you do NOT specify



RELEASE=no



Is the server reset only happening when the client does an OBSERVE?  Do you get 
resets if you only do GET or PUT?



--Doug



From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of ???
Sent: Sunday, July 26, 2015 1:02 PM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: [dev] When observing two resources on one arduino device makes problem



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







[http://mail.naver.com/readReceipt/notify/?img=LXF%2FBX0mWrFopov%2FMxmsFotqKqg%2Fa6tXFxEdMogqFrt%2FpoE9MrMlFvIo%2BrkSKog5W4d5W4C5bX0q%2BzkR74FTWx%2Fspze9prwCbZlc%2B63qWrlg16ldp6m5MreR.gif]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150805/278959a2/attachment.html>

Reply via email to