[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420 CC2420.h, 1.12, 1.13

dmm rincon at users.sourceforge.net
Fri Sep 5 13:39:02 PDT 2008


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

Modified Files:
	CC2420.h 
Log Message:
added more descriptive comments about the header

Index: CC2420.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/CC2420.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** CC2420.h	23 Jun 2008 23:40:21 -0000	1.12
--- CC2420.h	5 Sep 2008 20:39:00 -0000	1.13
***************
*** 44,49 ****
  
  /**
!  * CC2420 header.  An I-frame (interoperability frame) header has an 
!  * extra network byte specified by 6LowPAN
   */
  typedef nx_struct cc2420_header_t {
--- 44,84 ----
  
  /**
!  * CC2420 header definition.
!  * 
!  * An I-frame (interoperability frame) header has an extra network 
!  * byte specified by 6LowPAN
!  * 
!  * Length = length of the header + payload of the packet, minus the size
!  *   of the length byte itself (1).  This is what allows for variable 
!  *   length packets.
!  * 
!  * FCF = Frame Control Field, defined in the 802.15.4 specs and the
!  *   CC2420 datasheet.
!  *
!  * DSN = Data Sequence Number, a number incremented for each packet sent
!  *   by a particular node.  This is used in acknowledging that packet, 
!  *   and also filtering out duplicate packets.
!  *
!  * DestPan = The destination PAN (personal area network) ID, so your 
!  *   network can sit side by side with another TinyOS network and not
!  *   interfere.
!  * 
!  * Dest = The destination address of this packet. 0xFFFF is the broadcast
!  *   address.
!  *
!  * Src = The local node ID that generated the message.
!  * 
!  * Network = The TinyOS network ID, for interoperability with other types
!  *   of 802.15.4 networks. 
!  * 
!  * Type = TinyOS AM type.  When you create a new AMSenderC(AM_MYMSG), 
!  *   the AM_MYMSG definition is the type of packet.
!  * 
!  * TOSH_DATA_LENGTH defaults to 28, it represents the maximum size of 
!  * the payload portion of the packet, and is specified in the 
!  * tos/types/message.h file.
!  *
!  * All of these fields will be filled in automatically by the radio stack 
!  * when you attempt to send a message.
   */
  typedef nx_struct cc2420_header_t {



More information about the Tinyos-2-commits mailing list