[Tinyos-2-commits] CVS: tinyos-2.x/tos/system AMQueueImplP.nc, 1.7, 1.8

Kevin Klues klueska at users.sourceforge.net
Tue Apr 22 23:25:47 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/system
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21724

Modified Files:
	AMQueueImplP.nc 
Log Message:
Added default command so that the entire parameterized AMSend interface doesnt have to be wired to when instantiating this component.  Useful for reusing this component to build a second layer of queuing on top of a single AM type

Index: AMQueueImplP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/system/AMQueueImplP.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AMQueueImplP.nc	13 Sep 2007 23:10:19 -0000	1.7
--- AMQueueImplP.nc	23 Apr 2008 06:25:45 -0000	1.8
***************
*** 208,210 ****
--- 208,213 ----
          // Do nothing
      }
+     default command error_t AMSend.send[uint8_t id](am_addr_t am_id, message_t* msg, uint8_t len) {
+         return FAIL;
+     }
  }



More information about the Tinyos-2-commits mailing list