X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftelosa%2Fchips%2Fsht11%2FSensirionSht11C.nc;h=871903b430d85dd33a5e0f24dac4bb1e282a3d87;hb=d32c29caca7c7ae33003c7e0a3a3d3b0ec3620cc;hp=6adb709f1302c48990cb19700b3a6bd0ad533f6e;hpb=0fffffea892a816d115acf2fc2d39268f16cc0ea;p=tinyos-2.x.git diff --git a/tos/platforms/telosa/chips/sht11/SensirionSht11C.nc b/tos/platforms/telosa/chips/sht11/SensirionSht11C.nc index 6adb709f..871903b4 100644 --- a/tos/platforms/telosa/chips/sht11/SensirionSht11C.nc +++ b/tos/platforms/telosa/chips/sht11/SensirionSht11C.nc @@ -44,13 +44,17 @@ generic configuration SensirionSht11C() { provides interface Read as Temperature; + provides interface DeviceMetadata as TemperatureMetadata; provides interface Read as Humidity; + provides interface DeviceMetadata as HumidityMetadata; } implementation { components new SensirionSht11ReaderP(); Temperature = SensirionSht11ReaderP.Temperature; + TemperatureMetadata = SensirionSht11ReaderP.TemperatureMetadata; Humidity = SensirionSht11ReaderP.Humidity; + HumidityMetadata = SensirionSht11ReaderP.HumidityMetadata; components HalSensirionSht11C;