You can enable it the same way as for CC2420: define LOW_POWER_LISTENING in your makefile. Best, Miklos
On Mon, Jan 17, 2011 at 12:26 PM, Carlos Rodrigues <c...@iol.pt> wrote: > Hi! > > How can enable LPL using Iris plataform? In the tutorial talks about how to > enable low power listening in cc2420 radio but nothing about iris (rf230). > > -----Mensagem original----- > De: tinyos-help-boun...@millennium.berkeley.edu > [mailto:tinyos-help-boun...@millennium.berkeley.edu] Em nome de Markus > Becker > Enviada: sábado, 15 de Janeiro de 2011 12:13 > Para: tinyos-help@millennium.berkeley.edu > Cc: Carlos Rodrigues; Miklos Maroti > Assunto: Re: [Tinyos-help] 6lowpan/blip installation errors > >> Hi Carlos, >> >> The CVS is obsolete, try to use the SVN from google code: >> >> http://code.google.com/p/tinyos-main/ > > blip is broken on trunk at the moment, last working revision of blip-1.0 is > at > r5166 in svn. > > Markus > >> It might work. Best, >> Miklos >> >> On Fri, Jan 14, 2011 at 3:27 PM, Carlos Rodrigues >> >> <rodrigues.carlo...@gmail.com> wrote: >> > Hi, >> > > My name is Carlos Rodrigues and i'm starting work in my master thesis, >> > about sensor networks. >> > I'm trying compiling IPBaseStation (last version in cvs) on iris but the >> > compilation fails with the error below. >> > > It is possible give some "lights" about how solve this problem? >> > > > root@ubuntu:/home/carlos/IPBaseStation# make iris blib install >> > mib510,/dev/ttyUSB0 >> > mkdir -p build/iris >> > compiling BaseStationC to a iris binary >> > ncc -o build/iris/main.exe -Os -fnesc-separator=__ -Wall -Wshadow >> > -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb >> > -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 >> > -DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC\" >> > -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\" >> > -DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x4d3059cbL >> > -DIDENT_UIDHASH=0x5e9a1276L -fnesc-dump=wiring >> > -fnesc-dump='interfaces(!abstract())' >> > -fnesc-dump='referenced(interfacedefs, components)' >> > -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm >> > BaseStationP.nc:93:21: error: devconf.h: No such file or directory >> > BaseStationP.nc:94:24: error: lib6lowpan.h: No such file or directory In >> > file included from BaseStationC.nc:81: >> > In component `BaseStationP': >> > BaseStationP.nc:112: interface IPAddress not found >> > In file included from BaseStationC.nc:81: >> > BaseStationP.nc:139: `BLIP_L2_RETRIES' undeclared here (not in a >> > function) BaseStationP.nc:140: `BLIP_L2_DELAY' undeclared here (not in a >> > function) BaseStationP.nc:149: syntax error before `*' >> > BaseStationP.nc: In function `configureReply.runTask': >> > BaseStationP.nc:180: `reply' undeclared (first use in this function) >> > BaseStationP.nc:180: (Each undeclared identifier is reported only once >> > BaseStationP.nc:180: for each function it appears in.) >> > BaseStationP.nc:180: interface has no command or event named >> > `getShortAddr' BaseStationP.nc: In function `Boot.booted': >> > BaseStationP.nc:218: `reply' undeclared (first use in this function) >> > BaseStationP.nc:218: `config_reply_t' undeclared (first use in this >> > function) >> > BaseStationP.nc:218: syntax error before `)' >> > BaseStationP.nc: In function `SerialControl.startDone': >> > BaseStationP.nc:237: `reply' undeclared (first use in this function) >> > BaseStationP.nc:237: `CONFIG_ERROR_BOOTED' undeclared (first use in this >> > function) >> > BaseStationP.nc: In function `ConfigureReceive.receive': >> > BaseStationP.nc:424: `config_cmd_t' undeclared (first use in this >> > function) BaseStationP.nc:424: `cmd' undeclared (first use in this >> > function) BaseStationP.nc:425: syntax error before `error' >> > BaseStationP.nc:433: syntax error before `)' >> > BaseStationP.nc:436: `CONFIG_ECHO' undeclared (first use in this >> > function) BaseStationP.nc:436: case label does not reduce to an integer >> > constant BaseStationP.nc:438: `CONFIG_SET_PARM' undeclared (first use in >> > this function) >> > BaseStationP.nc:438: case label does not reduce to an integer constant >> > BaseStationP.nc:442: interface has no command or event named >> > `setShortAddr' BaseStationP.nc:452: `CONFIG_REBOOT' undeclared (first >> > use in this function) BaseStationP.nc:452: case label does not reduce to >> > an integer constant BaseStationP.nc:455: `CONFIG_KEEPALIVE' undeclared >> > (first use in this function) >> > BaseStationP.nc:455: case label does not reduce to an integer constant >> > BaseStationP.nc:459: `reply' undeclared (first use in this function) >> > BaseStationP.nc:459: `error' undeclared (first use in this function) >> > BaseStationP.nc: In function `ConfigureTimer.fired': >> > BaseStationP.nc:478: `config_reply_t' undeclared (first use in this >> > function) >> > In file included from >> > /opt/tinyos-2.1.1/tos/lib/serial/Serial802_15_4C.nc:43, >> > from BaseStationC.nc:83: >> > In component `SerialPacketInfo802_15_4P': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> > function `Info.offset': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> > function `Info.dataLinkLength': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41: >> > `cc2420_footer_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In >> > function `Info.upperLength': >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44: >> > `cc2420_header_t' undeclared (first use in this function) >> > /opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44: >> > `cc2420_footer_t' undeclared (first use in this function) >> > In component `BaseStationC': >> > BaseStationC.nc: At top level: >> > BaseStationC.nc:107: component SerialDevConfC not found >> > BaseStationC.nc:114: component IPAddressC not found >> > BaseStationC.nc:108: no match >> > BaseStationC.nc:109: no match >> > BaseStationC.nc:115: no match >> > BaseStationC.nc:118: no match >> > make: ** [exe0] Erro 1 >> >> _______________________________________________ >> Tinyos-help mailing list >> Tinyos-help@millennium.berkeley.edu >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > ------------------------------------------------ > | Dipl.-Ing. Markus Becker > | Communication Networks > | Mobile Research Center > | TZI - Center for Computing Technologies > | University Bremen > | Germany > ------------------------------------------------ > | web: http://www.comnets.uni-bremen.de/~mab/ > | mailto: m...@comnets.uni-bremen.de > | telephone: +49 421 218 62379 > | building: NW1 room: N2260 > ------------------------------------------------ > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > ________________________________________________________________________________ > VIVA os SEUS SONHOS com o Crédito Pessoal Capital Mais. > Peça aqui até 15.000 Euros: http://www.iol.pt/correio/rodape.php?dst=0901052 > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help