W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Re: Sensor API : New draft

From: Ben Combee <ben.combee@gmail.com>
Date: Wed, 16 Nov 2011 18:21:25 -0600
Message-ID: <CAPG+kUOz0O7yjCt8oYrXGXP875-JMDs_rZ08LiDHwH+FOBarxQ@mail.gmail.com>
To: "public-device-apis@w3.org WG" <public-device-apis@w3.org>
Spotted a couple of minor issues in the new draft hosted at

In the first example in part 1, the sensor connection instance
variable is named "sensorCnx", but later is referred to as "session".

In part 5.1, I'm unclear why the range property is described as
"short" when most data values are doubles or collections of doubles.
I also an unclear why range is a single value -- for something like a
temperature sensor which has units of degrees Celsius, the range of
the sensor might not go all the way to absolute 0 so you'd need a
minimum and maximum range, and for other sensors you might need a
range for each sub-component.
Received on Thursday, 17 November 2011 15:55:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:51 UTC