[Tinyos-devel] MultihopLQI

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Wed Feb 20 02:04:24 PST 2008


Hi!

On Tue, 19 Feb 2008, Philip Levis wrote:

>
> On Feb 19, 2008, at 9:04 PM, Razvan Musaloiu-E. wrote:
>
>> Hi!
>> 
>> On Tue, 19 Feb 2008, Philip Levis wrote:
>> 
>>> 
>>> On Feb 19, 2008, at 8:44 PM, Razvan Musaloiu-E. wrote:
>>> 
>>>> Hi!
>>>> On Tue, 19 Feb 2008, Philip Levis wrote:
>>>>> I've checked in some fixes to MultihopLQI (lib/net/lqi) so that it 
>>>>> responds properly to the radio being turned on and off underneath it. 
>>>>> The original implementation (1.x port) would lock up in some cases. I 
>>>>> updated the tests/TestMultihopLqi app so that it power cycles the radio 
>>>>> aggressively and randomly. I have not yet updated the README for the 
>>>>> test app. Updating the test also required a patch to TOSSIM such that it 
>>>>> would return a proper error_t on sendDone if the radio was turned off.
>>>> I just noticed that apps/tests/TestMultihopLqi doesn't compile. Is it 
>>>> just an accident or it was abandoned?
>>> 
>>> Does it compile now?
>> 
>> No. :-( I don't know much about this application but I managed to get it to 
>> compile by removing the CC2420ActiveMessageC.nc and commenting out the last 
>> two lines from MultihopOscilloscopeAppC.nc. I don't have any motes around 
>> to test right now. :P
>> 
>
> Oh -- it's not supposed to compile for motes. It's a test application for 
> testing the protocol in TOSSIM. If you want to test it on real motes, use 
> MultihopOscilloscopeLqi.

Rechecking the README.txt now I see that:
 	It achieves this by creating a CC2420ActiveMessageC component
 	 that generates synthetic LQI values.

Sorry for noise.
Razvan ME

> Some kind of hint as to *why* it's not compiling is usually pretty helpful. 
> You know, like the output.
>
> Phil


More information about the Tinyos-devel mailing list