W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

[sensors] Sensors unable to provide their state when instantiated

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 May 2017 07:48:29 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-230949668-1495612108-sysbot+gh@w3.org>
tobie has just created a new issue for https://github.com/w3c/sensors:

== Sensors unable to provide their state when instantiated ==
Some HW sensors on some platforms are unable to provide their state upon instantiation and sometimes take a very long time to provide any reading whatsoever.

This is related to an old issue (see #87), was a concern in previous APIs and this behavior is currently in violation of the spec.

Perhaps the spec should special case such sensors and force them to advertise their inability to provide the current state upfront (e.g. via a dedicated event?)



Please view or discuss this issue at https://github.com/w3c/sensors/issues/214 using your GitHub account
Received on Wednesday, 24 May 2017 07:48:36 UTC

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