I?m seeing a strange problem when I add 3-4 resources to my device. My code 
runs great with 1-2 devices, but once I add a 3-4 resources, the resource 
Discovery starts failing (sometimes 3, but always when there?s 4+ resources).

I?ve used the WIKI here to run the discovery: 
https://wiki.iotivity.org/resource_find_registration and quering for ?/oic/res".

Digging a bit into where it?s failing, in OCHandleResponse the 
responseInfo.Result ==  CA_REQUEST_ENTITY_INCOMPLETE , causing the Discovery 
Payload later to be null and return out.

If I run ?resource\csdk\stack\samples\linux\SimpleClientServer\occlient.exe -t 
1? , this sample will actually discover all my resources, but it seems to me it 
uses a different discovery approach than what is used in the wiki.


Is there a known issue here or could I be doing something wrong?


Thanks
/Morten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170107/03623c55/attachment.html>

Reply via email to