[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces PacketTimeStamp.nc, 1.1, 1.2 SpiPacket.nc, 1.6, 1.7

David Gay idgay at users.sourceforge.net
Fri Jun 20 14:39:11 PDT 2008


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

Modified Files:
	PacketTimeStamp.nc SpiPacket.nc 
Log Message:
txBuf, rxBuf can be null

Index: PacketTimeStamp.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/PacketTimeStamp.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PacketTimeStamp.nc	29 May 2008 15:43:11 -0000	1.1
--- PacketTimeStamp.nc	20 Jun 2008 21:39:09 -0000	1.2
***************
*** 25,28 ****
--- 25,30 ----
  {
  	/**
+ 	 * @param 'message_t *ONE msg' Message to examine.
+ 	 *
  	 * Returns TRUE if the time stamp of the message is valid. Under special
  	 * circumstances the radio chip might not be able to correctly assign a
***************
*** 37,40 ****
--- 39,44 ----
  
  	/**
+ 	 * @param 'message_t *ONE msg' Message to get timestamp from.
+ 	 *
  	 * Return the time stamp for the given message. Please check with the
  	 * isValid command if this value can be relied upon. If this command is
***************
*** 49,52 ****
--- 53,58 ----
  
  	/**
+ 	 * @param 'message_t *ONE msg' Message to modify.
+ 	 *
  	 * Sets the isValid flag to FALSE.
  	 */
***************
*** 54,57 ****
--- 60,65 ----
  
  	/**
+ 	 * @param 'message_t *ONE msg' Message to modify.
+ 	 *
  	 * Sets the isValid flag to TRUE and the time stamp value to the
  	 * specified value.

Index: SpiPacket.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/SpiPacket.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SpiPacket.nc	11 Jun 2008 00:46:24 -0000	1.6
--- SpiPacket.nc	20 Jun 2008 21:39:09 -0000	1.7
***************
*** 62,67 ****
     * Notification that the send command has completed.
     *
!    * @param 'uint8_t* COUNT(len) txBuf' The buffer used for transmission
!    * @param 'uint8_t* COUNT(len) rxBuf' The buffer used for reception
     * @param len    The request length of the transfer, but not necessarily
     *               the number of bytes that were actually transferred
--- 62,67 ----
     * Notification that the send command has completed.
     *
!    * @param 'uint8_t* COUNT_NOK(len) txBuf' The buffer used for transmission
!    * @param 'uint8_t* COUNT_NOK(len) rxBuf' The buffer used for reception
     * @param len    The request length of the transfer, but not necessarily
     *               the number of bytes that were actually transferred



More information about the Tinyos-2-commits mailing list