On Oct 16, 2006, at 12:36 AM, Tie Luo wrote:
What I sent applies to all motes supported by T2:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:70:#define
TOSH_DATA_LENGTH 28
And we know that telos and micaz use CC2420
/opt/tinyos-2.x/tos/types/message.h:
#ifndef TOSH_DATA_LENGTH
#define TOSH_DATA_LENGTH 28
#endif
SInce all other chips do not define TOSH_DATA_LENGTH, so the value
is always 28.
This is a 1.x vs 2.x difference. In 1.x it is 29 bytes (it was
originally 30 bytes, then the length field made it 29); in 2.x it is
28 bytes.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help