Hi Rubenalia, 

I am working on the same thing, I am trying to simulate CTP+LPL for micaz on
Avrora without any sensorboard or security plan. I cannot verify that LPL is
working properly. 

I wonder how you have simulated CTP+LPL? did you change the codes for CTP
and insert some LPL commands per packet basis? 

The way I am doing it now is that I have added these lines to Makefile:

CFLAGS += -DLOW_POWER_LISTENING
CFLAGS += -DLPL_DEF_LOCAL_WAKEUP=512
CFLAGS += -DLPL_DEF_REMOTE_WAKEUP=512
CFLAGS += -DDELAY_AFTER_RECEIVE=20

and also this interface to the main app: 

uses interface LowPowerListening; 

and also to the configuration file: 

App.LowPowerListening->CC2420ActiveMessageC; 

I wonder if I should any other command elsewhere in the code?



with these changes I still can see that Radio is most of the time in Rx
mode,


Thank you very much, 




Rubenalia wrote:
> 
> Hi all,
> 
> I develop an application that sense temperature and send its value
> throught
> radio CC2420chip (MicaZ plattform). I'm using CTP+LPL and testing it in
> Avrora. I use energy monitor and I can check that it's doing its work
> properly, I mean, the app puts the radio chip in sleep mode during almost
> all the time and i can see that in the output of Avrora.
> 
> the problem is when I try to do the same but with security enabled.
> Everything looks work fine but the results when i simulate it with Avrora
> is
> that energy consumption is very much higher. It seems that LPL is not
> working.
> 
> Can anybody help me?.
> 
> Thanks!
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 

-- 
View this message in context: 
http://old.nabble.com/CTP%2BLPL%2BCC240-Security-tp31497958p32871503.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to