]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingAMSnooperC.nc
Changes to allow other subsystems to wire to underlying ActiveMessages (Send, Receive...
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingAMSnooperC.nc
index 962bcbe12c3b71b0c9f05e79d80ec6cb7cbcfc4b..234ef2fc4f3533ed7ca84273f9f6c299301ac265 100644 (file)
@@ -43,8 +43,10 @@ generic configuration BlockingAMSnooperC(am_id_t amId) {
   }
 }
 implementation {
+  components ActiveMessageC;
   components BlockingActiveMessageC as AM;
   BlockingReceive = AM.BlockingSnoop[amId];
+  AM.Snoop[amId] -> ActiveMessageC.Snoop[amId];
   
   Packet = AM;
   AMPacket = AM;