Yeah, it is supposed to be an array of pointers. This is because the
only way you're supposed to get a OCRepPayload object is via the
OCRepPayloadCreate. I've unfortunately not documented that well enough,
and one of the things on my "TODO" list is to move the definition of all
of the OCPayloads
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150915/4412bb0e/attachment.html>
-- next part --
A non-text attachment was scrubbed...
Name: 201509151956564_Z5JE7EUA.gif
Type: image/gif
Size: 13168 bytes
Des
, USA
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150915/14eb360d/attachment.html>
27;, '--libs','dlog', 'com.oic.ri', 'capi-network-wifi',
HTH,
-Ossama
>
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150915/79f68e83/attachment.html>
4)
2. ./groupserver
3. In another terminal at same path, run './groupclient'
Is there anything wrong with the example code? As iotivity-0.9.1 worked fine.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150915/6aa9b629/attachment.html>
4)
2. ./groupserver
3. In another terminal at same path, run './groupclient'
Is there anything wrong with the example code? As iotivity-0.9.1 worked fine.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150915/40518276/attachment.html>
esource/examples/ (my dev is Ubuntu14.04)
2. ./groupserver
3. In another terminal at same path, run './groupclient'
Is there anything wrong with the example code? As iotivity-0.9.1 worked fine.
-- next part --
An HTML attachment was scrubbed...
URL:
&
Hi Erich.
I looked up my samples why it makes fault with the original code and find out
OCRepPayload array values should be pointer of OCRepPayload like
OCRepPayload* c1;
OCRepPayload* c2;
const OCRepPayload* arr[] = {c1,c2};
OCRepPayloadSetPropObjectArray(root, "temp", arr, dimensions);
How