Hey,
1. I have no experience in LPL. 2. Note that these are 2 different files: *DummyLplC.nc *and *Default LplC.nc*. I guess that your first application does not really using the LPL interface. Perhaps it's not wired? Arik On Mon, Dec 14, 2009 at 19:32, Daniel Garcia Aubert < [email protected]> wrote: > Hi all! > > I'm working with TinyOS 2.1 under MicaZ plataform. In my program I want to > use Low Power Listening but in the moment to compile I have the following > problem: > > */opt/tinyos-2.1.0/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: > #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"* > > Also, I've compiled another > application"/opt/tinyos-2.1.0/apps/tests/cc2420/LplUnicastPeriodicDelivery" > with the > following output: > > $ make micaz > mkdir -p build/micaz > compiling TestPeriodicAppC to a micaz binary > ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz > -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 > --param max-inline-insns-single=100000 -DACK_LOW_POWER_LISTENING > -DIDENT_APPNAME=\"TestPeriodicApp\" -DIDENT_USERNAME=\"sueko\" > -DIDENT_HOSTNAME=\"sueko-laptop\" -DIDENT_USERHASH=0xe0a01419L > -DIDENT_TIMESTAMP=0x4b266b12L -DIDENT_UIDHASH=0xa92ff5c7L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/micaz/wiring-check.xml > TestPeriodicAppC.nc -lm > */opt/tinyos-2.1.0/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning: > #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***"* > compiled TestPeriodicAppC to build/micaz/main.exe > 13086 bytes in ROM > 353 bytes in RAM > avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec > avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex > writing TOS image > > Both applications have the similar code to use LPL. Any idea? > > Thanks & regards! > > -- > Daniel GarcĂa Aubert > Universidad Carlos III de Madrid. > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Best Regards, Arik Sapojnik [email protected]
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
