Hi,

Use LowPowerListening interface and wire it with ActiveMessageC.
the command will be

call LowPowerListening.setLocalSleepInterval(uint16_t ms);

Best,
Poonam

On Wed, Jun 16, 2010 at 9:07 AM, Giuseppe Cardone <
[email protected]> wrote:

> Hi,
>
> have a look at the LowPowerListening interface and at the example for
> Low Power Listening in $TOSROOT/apps/tests/TestLpl .
>
> Regards
>
> --
> Giuseppe Cardone
>
>
>
> On Tue, Jun 15, 2010 at 3:18 PM, TheMrOrange <[email protected]>
> wrote:
> > How can I change the duty-cycle for LowPowerListening?
> > I only know how to set the sleep interval using:
> > CFLAGS += -DLOW_POWER_LISTENING -DLPL_SLEEP_INTERVAL=1024
> >
> > Thanks
> > Davide
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to