- From: JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>
- Date: Mon, 10 Oct 2011 23:15:36 +0200
- To: Bryan Sullivan <blsaws@gmail.com>
- Cc: "public-device-apis@w3.org" <public-device-apis@w3.org>
Thanks for the comments. SensorManager is at http://dev.w3.org/2009/dap/system-info/Sensors.html#sensormanager, maybe you have a problem with the browser cache? best El 10/10/11 22:30, "Bryan Sullivan" <blsaws@gmail.com> escribi�: >Jose, >Some comments: > >In the example, you use "session.startWatch(watchOptions)" when you >should be using "sensorConnection". > >For the "sensor not available" exception, I suggest to use >"DOMException.NOT_SUPPORTED_ERR (9)" from >http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-17189187. > >For "threshold", recommend that the description be: >The threshold attribute represents a sensor data value which when >reached will cause a sensordata event to be delivered. Multiple watch >operations with different thresholds can be used for example to >monitor sensor "min/max" ranges. Monitoring for a delta changes can >also be accomplished by clearing a watch upon the sensordata event, >and creating a new watch with the desired delta threshold. >No exceptions. > >I don't see the "SensorManager" interface you refer to re "a proposal >to support basic discovery is on the draft under the SensorManager >interface.". > >Thanks, >Bryan Sullivan > >On Sat, Oct 8, 2011 at 3:14 AM, JOSE MANUEL CANTERA FONSECA <jmcf@tid.es> >wrote: >> >> Hi, >> A new draft of the sensor API is available at [1]. It tries to capture >>the different comments received during the last conf. Call and through >>the mailing list. @Claes a proposal to support basic discovery is on the >>draft under the SensorManager interface. >> Your feedback is needed. >> Thanks, all the best >> [1] http://dev.w3.org/2009/dap/system-info/Sensors.html >> >> ________________________________ >> Este mensaje se dirige exclusivamente a su destinatario. Puede >>consultar nuestra pol�tica de env�o y recepci�n de correo electr�nico en >>el enlace situado m�s abajo. >> This message is intended exclusively for its addressee. We only send >>and receive email on the basis of the terms set out at. >> http://www.tid.es/ES/PAGINAS/disclaimer.aspx > > > >-- > >Thanks, >Bryan Sullivan Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol�tica de env�o y recepci�n de correo electr�nico en el enlace situado m�s abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at. http://www.tid.es/ES/PAGINAS/disclaimer.aspx
Received on Monday, 10 October 2011 21:16:09 UTC