Hi,

Agnelo Silva a écrit :
> Altering the default value 29 of the constant TOSH_DATA_LENGTH in AM.h 
> file (it is also possible, and recommended, to do this in the Makefile 
> of the application directory), I verified that it is possible to change 
> the payload data of our TOS message.
> 
> I made some tests and found the exact limits: inferior 10 and superior 
> 150.  So, after these tests, 2 questions arose:
> 1) Where is defined these limits? Any platform dependency (I supposed so)?
well for 802.15.4 platforms the ieee standard limits the maximum packet 
size (to 128 IIRC), the minimum is probably platform/application 
dependent ...

> 2) What are the final "size" of the packet, considering that I already 
> know the TOS message format to use? The question is related to any 
> possible low level 'stuff' that could be added by the link and physical 
> layers. Any tip or suggestion about additional reading here would be 
> very appreciated.

look at the message.h and platform_message.h (i.e. under 
tos/platforms/micaz/ for micaz) for details but  TEP 111 [1] has 
probably all the information you would need.

Cheers
Aurélien


[1] http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to