Jake,

Hi!

Can you confirm that the problem exists using the stack API? This would help to 
determine if this is in the core framework or the Things Manager layers.

Pat

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of ???
Sent: Saturday, July 18, 2015 3:18 PM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Two resources on one arduino device make problem


Hello, guys. I have a question.



1. Can I make two or more resources on one arduino mega 2560 board?



I tested it just now.

I made two resource on arduino.



Resource 1:

Type: fire.sensor

URI: /sensor/gas



Resource 2:

Type: fire.sensor

URI: /sensor/temperature



And then, my linux client tried to find resources using findCandidateResource 
function in ThingsManager class.

But client couldn't find resources. It just print this error message.



0: listenCallback failed to parse a malformed message: rapidjson internal 
assertion failure: IsObject()



0: 
{"oc":[{"href":"/sensor/gas","sid":"bf078bb6-3ce5-ed31-4c84-9c8a89755f29","prop":{"rt":["fire.sensor"],"if":["oic.if.baseline"],"obs":1}},]}



0: 0

What is the cause of this error?


Samsung S/W Membership Software Developer
Sungkyunkwan Univ. Computer Engineering 08
B.E.S.T. House Team & Side Of House
Jake Kim
[http://mail.naver.com/readReceipt/notify/?img=Lr%2B%2FBX0mWrKXMrtXMomsKApoFAUqpzpvpAi4K6tdK6UZKApvpoJgMX%2B0Mog%2F74lR74lcWNFlbX30WLloWrdQar0T%2Bz0r1B3l7630%2BvIn1BFdbZlGWX3G%2B40dDLlTb4b%3D.gif]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150720/8ae999fa/attachment.html>

Reply via email to