[Tinyos-help] Maximum packet data length

João Paulo Amaro da Costa Luz Carneiro jcarneiro at netcabo.pt
Wed Nov 5 18:22:51 PST 2008


Hi,
Thanks for the link.
After some tests I could determine the following:

- The maximum message size I could have was 106Bytes (my message  
structure has 5 nx_uint16_t fields and one array of 48 nx_uint16_t).
- The message is only sent if DTOSH_DATA_LENGTH is set to a value  
between 114 and 242.
- If 243  <= DTOSH_DATA_LENGTH <= 347 send signals success, but  
senddone never occurs
- if 347 < DTOSH_DATA_LENGTH both send and senddone fail.

Can someone please explain me these results I'm experiencing?

regards,

Joao


On 2008/10/29, at 12:55, Ittipong Khemapech wrote:

> I think the following link may be useful to you.
>
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-August/027614.html
>
> Ittipong
>
> 2008/10/29 João Paulo Amaro da Costa Luz Carneiro <jcarneiro at netcabo.pt 
> >
> I believe 28 bytes is the default size (TEP111) which can be  
> increased by defining DTOSH_DATA_LENGTH at compile time . What I  
> would like to know is what is the maximum value you can assign to  
> DTOSH_DATA_LENGTH is set to .
> I've tested with 300 and send will still return with SUCCESS while  
> 500 won't.
>
> Joao
>
>
>
> On 2008/10/29, at 11:37, Ittipong Khemapech wrote:
>
>> Not sure about TinyOS 2.1. I'm using TinyOS 2.0.2 and the maximum  
>> payload is 29 bytes.
>>
>> Ittipong
>>
>> 2008/10/29 João Paulo Amaro da Costa Luz Carneiro <jcarneiro at netcabo.pt 
>> >
>> Can you tell me what is the maximum value for tinyos 2.1?
>>
>> Joao
>>
>>
>> On 2008/10/29, at 11:30, Ittipong Khemapech wrote:
>>
>>> I think it's about TinyOS instead of the platform. Please correct  
>>> me if I misunderstand.
>>>
>>> Ittipong
>>>
>>> 2008/10/29 João Paulo Amaro da Costa Luz Carneiro <jcarneiro at netcabo.pt 
>>> >
>>> Hi,
>>> Is there a maximum DTOSH_DATA_LENGTH value for the iris mote?
>>>
>>> Best regards,
>>>
>>> Joao
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help at millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081106/c21d823d/attachment-0001.htm 


More information about the Tinyos-help mailing list