W3C home > Mailing lists > Public > public-device-apis@w3.org > January 2010

Thermometer API (Re: [sysinfo] draft ready for review)

From: Thomas Roessler <tlr@w3.org>
Date: Tue, 5 Jan 2010 17:28:23 +0100
Cc: Thomas Roessler <tlr@w3.org>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-Id: <C37A2876-CE1E-4CE0-BC48-63F99C59D6B3@w3.org>
To: Max Froumentin <maxfro@opera.com>
What's the use case for having the 0-1 state value?  What are "allowed" values, and how are they different from the minimum and maximum values the system "can report"?

Also, are you assuming that

	currentTemperature = min + state * (max - min)

(i.e., you interpolate in a linear fashion, as opposed to having, say, state^2 up there)?



Thomas Roessler, W3C  <tlr@w3.org>

On 18 Dec 2009, at 13:27, Max Froumentin wrote:

> Hi WG,
> As promised on Wednesday, I'm submitting a SysInfo draft for review. It is at: http://dev.w3.org/2009/dap/system-info/
> Max.
Received on Tuesday, 5 January 2010 16:28:25 UTC

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