Re: [sensors] Reporting mode and polling frequency

> There's a lot to unpack there, but before I do, can you please 
explain what you mean by: [|f|, MAX_POLLING_FREQUENCY, THRESHOLD] ?

I just wanted to provide simplified notation of how platform sees two 
use-cases that are mentioned and how they are related to reporting 
mode. Platform will select `|f|` provided by the user or use default 
frequency. Same goes for accuracy, but I omitted that, since we use 
default accuracy provided by HW.

Summary:
- Reporting mode can be different for same sensor type, even on the 
same platform.
- Frequency is always used except for special sensors e.g. trigger.

Proposal:
 - Concrete sensor specs should not specify reporting mode.
 - Frequency should be optional for all sensors except the one that do
 not poll.
 - Add informative notes in the spec about possible strategies to 
minimize hw utilization.

-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/126#issuecomment-256907605 using
 your GitHub account

Received on Friday, 28 October 2016 12:26:23 UTC