Re: [sensors] Device Proximity (was: Device light and proximity sensor)

Hi Jonas,

On 11.5.2012, at 1.19, ext Jonas Sicking wrote:

> I would also add a warning to
> the "proximitysensor" event in the specification saying that different
> devices will have different .min/.max values as well as different
> resolution and if authors want to just detect "near"/"far" the other
> event.

I merged your proposal with the existing note on granularity as follows:

[[

The definition of granularity i.e. how often the event is fired is left to the implementation. Different devices may also support different minimum and maximum proximities as well as different resolution, thus authors are strongly advised not to assume near or far proximity solely based on the min and max attributes' values.

]]

Let me know if this sounds ok.

-Anssi

Received on Tuesday, 15 May 2012 09:02:05 UTC