In http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html , it says The
CC2420 header is 11 bytes long.
But I print the length of each field of message_t with dbg() in tossim,
"%d %d %d %d %d
\n",sizeof(message_t),sizeof(message_header_t),TOSH_DATA_LENGTH,sizeof(message_footer_t),sizeof(message_metadata_t)
I got the following result:
41 7 28 2 4

Why the header length is 7, and why the footer length is 2 while the doc
says that cc2420 don't have a footer?
-- 
Regards,
Xiaozong Cui
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to