]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/telosa/chips/s10871/HamamatsuS10871TsrC.nc
Added DeviceMetadata interface to telosb sensors.
[tinyos-2.x.git] / tos / platforms / telosa / chips / s10871 / HamamatsuS10871TsrC.nc
index 6c2a16410e2f2a506795c4eecd6eae4855ca6844..49b7aabcfaedced001ed79d4520af84f5ccf8128 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 generic configuration HamamatsuS10871TsrC() {
+  provides interface DeviceMetadata;
   provides interface Read<uint16_t>;
   provides interface ReadStream<uint16_t>;
 }
@@ -49,6 +50,7 @@ implementation {
   ReadStream = AdcReadStreamClientC;
 
   components HamamatsuS10871TsrP;
+  DeviceMetadata = HamamatsuS10871TsrP;
   AdcReadClientC.AdcConfigure -> HamamatsuS10871TsrP;
   AdcReadStreamClientC.AdcConfigure -> HamamatsuS10871TsrP;
 }