Hello everyone,

I'm trying to understand the packet format used by TinyOS when 802.15.4 MAC TKN 
MAC layer is used.

1- Before, I know that TinyOS message format is : AMPacket | link source addr   
|   msg len   |   groupID   |   handlerID   |   source addr   |   payload

2- I found also that The CC2420 Packet structure is defined in CC2420.h. The 
default I-Frame CC2420 header takes on the following format::: 

typedef nx_struct cc2420_header_t {
   nxle_uint8_t length;
   nxle_uint16_t fcf;
   nxle_uint8_t dsn;
   nxle_uint16_t destpan;
   nxle_uint16_t dest;
   nxle_uint16_t src;
   nxle_uint8_t network;  // optionally included with 6LowPAN layer
   nxle_uint8_t type;
 } cc2420_header_t;

In which format packets are when I use TinyOS with TKN 802.15.4 ? is the first 
one encapsulated in the second one ? or maybe one is used for data and the 
second for 802.15.4 control messages (request, confirm ....) ?

I'll be very thankful if someone can lighten my mind :)

Regards,
Luis.


      
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to