]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/TestCollection/MultihopOscilloscope.h
Allows a cthreads application to set the collection ID for a client ID
[tinyos-2.x.git] / apps / tosthreads / capps / TestCollection / MultihopOscilloscope.h
index 5f04053921da7d7eb56ffca1fc5ad93f6029e8e6..41d8885cca2ed3b82718a25c1ffcc1508f909c12 100644 (file)
 #ifndef MULTIHOP_OSCILLOSCOPE_H
 #define MULTIHOP_OSCILLOSCOPE_H
 
+#include "Collection.h"
+
 enum {
   /* Number of readings per message. If you increase this, you may have to
      increase the message_t size. */
   NREADINGS = 5,
   /* Default sampling period. */
   DEFAULT_INTERVAL = 1024,
-  AM_OSCILLOSCOPE = 0x93
+  AM_OSCILLOSCOPE = NEW_COLLECTION_CLIENT_ID(),
 };
 
 typedef nx_struct oscilloscope {