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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150719/cc9f88b9/attachment.html>

Reply via email to