- From: pablochacin via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jun 2015 15:57:22 +0000
- To: public-device-apis@w3.org
@tobie In our current system, we model sensors as providing "maps" of variables. That is, the event don't have a single `sensorReading()` method, but a generic `getMeasurement(String variable)` method. In that way, we don't have to specialize sensor interfaces to access the different variables. Regarding performance, the higher penalty is for the event meta data (time stamp, location, attributes) and for the connection/transmission overhead, more than for transferring a few more bytes of data. -- GitHub Notif of comment by pablochacin See https://github.com/w3c/sensors/issues/51#issuecomment-112859591
Received on Wednesday, 17 June 2015 15:57:24 UTC