- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Jun 2015 16:27:57 +0000
- To: public-device-apis@w3.org
TBH, this is mostly a placeholder to be able to think about things more clearly. > First, URL is not appropriate here: https://url.spec.whatwg.org/#url-apis-elsewhere Noted. > Second, why would you use a Symbol? Someone suggested it in #26. Anything that identifies the actual physical sensor was what I was after. > Third, why is this an "or"? Is the idea here that implementations are allowed to be inconsistent---some of them returning URL objects, some of them Symbols, and some of them USVStrings? Or even a random mix?? No. The idea was just that remote sensors as described in WoT use URLs as identifiers, analog sensors use pin numbers (in Johnny-Five), and something is needed to identify onboard sensors too. See the two issues in the spec about this. -- GitHub Notif of comment by tobie See https://github.com/w3c/sensors/issues/30#issuecomment-110064779
Received on Monday, 8 June 2015 16:27:59 UTC