On Jan 9, 2007, at 7:22 PM, Shuo Xiao wrote:

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.

Please read TEP 113. The packet sent over the serial port is not a CC2420 packet. It is a platform independent serial packet.

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

Reply via email to