[Tinyos-2-commits] CVS: tinyos-2.x/doc/txt tep116.txt,1.8,1.9

Phil Levis scipio at users.sourceforge.net
Tue Mar 20 23:47:23 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/doc/txt
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11330/txt

Modified Files:
	tep116.txt 
Log Message:
Include cancel


Index: tep116.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/txt/tep116.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** tep116.txt	14 Mar 2007 01:56:33 -0000	1.8
--- tep116.txt	21 Mar 2007 06:47:18 -0000	1.9
***************
*** 297,300 ****
--- 297,308 ----
  a new sending interface that supports multiple pending transmissions.
  
+ The cancel command allows a sender to cancel the current transmission.
+ A call to cancel when there is no pending sendDone event MUST return FAIL.
+ If there is a pending sendDone event and the cancel returns SUCCESS, then
+ the packet layer MUST NOT transmit the packet and MUST signal sendDone
+ with ECANCEL as its error code. If there is a pending sendDone event
+ and cancel returns FAIL, then sendDone SHOULD occur as if the cancel
+ was not called. 
+ 
  2.3 Receive interface
  --------------------------------------------------------------------



More information about the Tinyos-2-commits mailing list