[Tinyos-help] Using DefaultLpl in TOSSIM
Rodrigo Araya
rodrigo.araya at gmail.com
Sat Sep 15 19:05:35 PDT 2007
Hello,
Is it possible to use the LowPowerListening interface provided by the
module CC2420ActiveMessageC in TOSSIM? Because I get an error at
compile time using:
make micaz sim
But It compiles fine with:
make micaz
(I haven't motes to test it :( )
The code looks like this:
In the APP file:
...
components CC2420ActiveMessageC as LplRadio;
...
App.LowPowerListening -> LplRadio;
In my module:
...
event void AMControl.startDone(error_t err){
if (err == SUCCESS) {
call LowPowerListening.setLocalSleepInterval(100);
...
}
}
Thanks!
Rodrigo Araya E.
More information about the Tinyos-help
mailing list