Hi,

I tried to run ctp together with lpl on a mica2 mote. I used MViz (demo app) 
as ctp implementation and tried to add lpl support. It seems that the 
listening part of lpl just works fine, but the motes don't send their packages 
with lpl behavior.

My changes in "MVizC.nc" are:

in "Boot.booted():"
        call LowPowerListening.setLocalSleepInterval(250);

in "event void Timer.fired()" just before  "if (call Send.send(&sendbuf, 
sizeof(local)) == SUCCESS)"

        call LowPowerListening.setRxSleepInterval(&sendbuf, 250);

My changes in "MVizAppC.nc" are:

        components CC1000CsmaRadioC as LplRadio;
        MVizC.LowPowerListening -> LplRadio;

I see that Collection has its own send implementation in 
"CtpForwardingEngineP.nc" there it uses AMSend. Would this be the right place 
to implement Low Power Listening for fast results, or did I miss something 
else? Perhaps there is a way that does not affect the ctp implementation as 
well?

Best regards,
Richard Figura
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to