This issue has been there since the beginning and was discussed was last year http://lists.iotivity.org/pipermail/iotivity-dev/2015-April/000884.html
but I don?t think anyone has taken it upon themselves to fix it. I?m not actively on the project , but I?d vote that this gets fixed. From: <iotivity-dev-bounces at lists.iotivity.org> on behalf of Ashwini Sharma <[email protected]> Date: Monday, May 30, 2016 at 2:49 PM To: "Schulhof, Gabriel" <gabriel.schulhof at intel.com> Cc: iotivity-dev <iotivity-dev at lists.iotivity.org> Subject: Re: [dev] Main loop operation I second Gabriel's opinion. I think with the current design it drains out the battery too fast. This can be one of the reasons. Thanks, Ashwini On 27 May 2016 14:16, "Schulhof, Gabriel" <gabriel.schulhof at intel.com> wrote: Hey! To clarify with an example: libuv provides two public APIs: int uv_backend_fd(...); int uv_backend_timeout(...); If iotivity were to implement something similar, then those two functions together would inform the application when it was time to call OCProcess(), and how far in the future OCProcess() needed to be executed again. Cheers! Gabriel _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160531/b64a357f/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5859 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160531/b64a357f/attachment.p7s>
