[Tinyos-help] warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
Philip Levis
pal at cs.stanford.edu
Tue Jul 1 11:53:09 PDT 2008
On Jul 1, 2008, at 11:24 AM, John Paul wrote:
> Hi,
> I am working on telosb motes. While compiling the code iam getting a
> warning like the following.
>
>
> /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
> #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
>
>
> Can anyone please tell me what could be the cause of this warning
> and any way to remove it.
The cause of this warning is that, by default, low power communication
is not enabled. The APIs and such are there, but they do nothing. As
it can be hard to tell if the network is actually low power, this
warning seemed like a good idea: it's so you know this is the case.
There is a compile-time option to enable low power communication add
-DLOW_POWER_LISTENING
to your CFLAGs. The README for apps/test/TestLPL has example
instructions.
Phil
More information about the Tinyos-help
mailing list