TOSH_DATA_LENGTH is just the size of the payload in the struct passed around when manipulating a message. the number of bytes actually sent out over the radio may be different and depends on the value of the length field in the message headers.
Kevin On Thu, Jul 3, 2008 at 2:34 PM, John Paul <[EMAIL PROTECTED]> wrote: > Hi, > I am working on tinyos 2.x and telosb motes . I know that the default value > of TOSH_DATA_LENGTH is 28 bytes and it can varied during compile time. I am > implementing some routing algorithms in which there are control packets and > data packets. But the size of these packets are different. So my doubt is > that since the TOSH_DATA_LENGTH is 28 bytes, eventually the size of both > types of packets will be same as per CC2420. I wanted to know whether iam > right or not? Is there any way i can change the packet size at run time. > > Regards, > John Paul > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
