The default packet length is set to 28 bytes in tos/chips/CC2420.h

#define TOSH_DATA_LENGTH 28

According to the CC2420 data sheet, however, you should be able to
send packets with payloads of up to 127 bytes.  Remember though that
some of these bytes will be eaten up by protocol specific header
information e.g. AM packet types.

If you want to change the default packet size to something different
(say 100 bytes), you can add the following to your applications
Makefile:

PFLAGS += -DTOSH_DATA_LENGTH=100

Kevin

On 8/19/07, SANG Junjun <[EMAIL PROTECTED]> wrote:
> what is the max packet size CC2420 can send/receive at one time?
>
> --
> Best Regards,
> SANG JUNJUN
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


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

Reply via email to