[Tinyos-help] CC2420_Header Structure

Shuo Xiao shuo.xiao at hotmail.com
Tue Jan 9 19:22:36 PST 2007


Hi all,

I am recently using Micaz platform plus Tinyos 2.0 to implement the 
application BlinkToRadio. But when I used Listen tools to display the 
messages sent from the mote, I didnot quite understand them.

the message header received from the mote by radio is

00 FF FF 00 05 04 00 06

Is this the default message header structure used in Tinyos 2.0, that is
Packet type(1 byte) + Dest addr (2 bytes) + Src addr (2 bytes) + Message 
length (1 byte) + Group ID (1 byte) + Handler ID (1 byte)?

Micaz platform uses CC2420 RF transceiver, but this message header structure 
is quite different from the definition in Tinyos 2.0, more specifically, in 
tinyos-2.x\tos\chips\cc2420\CC2420.h. How to explain this?

If there is a default message header structure in radio transmission in 
Tinyos 2.0, Where can I find it?

In addition, the first byte (00) indicates that this is an AM packet. Where 
can I find the definition about this? And after the message length byte 
(04), it should be the AM group id. Why I received was 00, not the default 
0x22?

I am looking forward to your reply. Thanks a lot.

Shuo

_________________________________________________________________
Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search Now! 
www.seek.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=757263760&_r=Hotmail_EndText_Dec06&_m=EXT



More information about the Tinyos-help mailing list