W3C home > Mailing lists > Public > public-device-apis-log@w3.org > October 2016

Re: [sensors] Reporting mode and polling frequency

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Oct 2016 12:26:17 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-256907605-1477657575-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC