The maximum that TOSH_DATA_LENGTH can be set do is determined by the CC2420
h/w.

eric

On Fri, May 8, 2009 at 9:09 PM, Xiaohui Liu <[email protected]> wrote:

> Hi Eric,
>
> Thanks for your help. The same is found in TOSROOT\tos\chips\cc2420\CC2420.h.
> However, neither of them talks about the max value that can be set. Any
> thought?
> -Xiaohui
>
> On Fri, May 8, 2009 at 11:32 PM, Eric Decker <[email protected]> wrote:
>
>> You have to start the search from the top level of the T2 tree.
>>
>> I get the following as well as others:
>>
>> ./tos/types/message.h:6:#ifndef TOSH_DATA_LENGTH
>> ./tos/types/message.h:7:#define TOSH_DATA_LENGTH 28
>>
>>
>> eric
>>
>>
>>
>> On Fri, May 8, 2009 at 8:07 PM, Xiaohui Liu <[email protected]> wrote:
>>
>>> I appreciate your help and I find TOSH_DATA_LENGTH in 
>>> TOSROOT\tos\chips\cc2420\CC2420.h,
>>> but it contains no info on the maximum of TOSH_DATA_LENGTH. Any other
>>> idea? Thanks.
>>> -Xiaohui
>>>
>>> On Fri, May 8, 2009 at 7:05 PM, Eric Decker <[email protected]> wrote:
>>>
>>>> The best way is to look in the source code.
>>>> I use something like
>>>>
>>>> find . -exec grep -nHi tosh_data_length \{\} \;
>>>>
>>>>
>>>>
>>>> On Fri, May 8, 2009 at 3:42 PM, Xiaohui Liu <[email protected]> wrote:
>>>>
>>>>> Hi all,
>>>>> What is the max value of TOSH_DATA_LENGTH I can set in TinyOS 2.x? I
>>>>> find some previous discussions on this, but it seems to me no conclusion 
>>>>> has
>>>>> been reached. Also do I find it in TEP 111, which does not clarify this
>>>>> neither. Thanks for your availability.
>>>>>
>>>>> -Xiaohui
>>>>>
>>>>> _______________________________________________
>>>>> Tinyos-help mailing list
>>>>> [email protected]
>>>>>
>>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Eric B. Decker
>>>> Senior (over 50 :-) Researcher
>>>> Autonomous Systems Lab
>>>> Jack Baskin School of Engineering
>>>> UCSC
>>>>
>>>>
>>>
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>> Autonomous Systems Lab
>> Jack Baskin School of Engineering
>> UCSC
>>
>>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to