Hi all,

I am trying to implement acknowledgementsin my telosb motes, using the tinyos2.0.2. I am using the component CC2420ActiveMessageC with the interface PacketAcknowledgements as suggested in the TestAcks application of folder cc2420. However i can make this work using the BaseStationCC2420 application ( tinyos2.0.1). The source does not receive any acknowledgments from the BaseStation. I found out that in the makefile there is the declaration: CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS, which explains the lack of ack. However when i try to compile BaseStationCC2420 without this option i have this error: compiling BaseStationC to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -D'TOSH_DATA_LENGTH=102' -DIDENT_PROGRAM_NAME=\"BaseStationC\" -DIDENT_USER_ID=\"tandre\" -DIDENT_HOSTNAME=\"homenux\" -DIDENT_USER_HASH=0xb4d39b1cL -DIDENT_UNIX_TIME=0x46cc4aafL -DIDENT_UID_HASH=0xeb773d58L BaseStationC.nc -lm In file included from /opt/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlC.nc:53, from /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:61, from /opt/tinyos- 2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:58, from /opt/tinyos-2.x/tos/platforms/telosa/ActiveMessageC.nc:61,
                from BaseStationC.nc:71:
In component `CC2420ControlP':
CC2420ControlP.nc :236: `CC2420Config.getShortAddr': async mismatch with declaration /opt/tinyos-2.x/tos/chips/cc2420/interfaces/CC2420Config.nc:64: previous declaration of `CC2420Config.getShortAddr' CC2420ControlP.nc:244: `CC2420Config.getPanAddr': async mismatch with declaration /opt/tinyos-2.x/tos/chips/cc2420/interfaces/CC2420Config.nc:70: previous declaration of `CC2420Config.getPanAddr'
CC2420ControlP.nc:76: `CC2420Config.setAutoAck' not implemented
CC2420ControlP.nc:76: `CC2420Config.isAddressRecognitionEnabled' not implemented
CC2420ControlP.nc:76: `CC2420Config.setAddressRecognition' not implemented
CC2420ControlP.nc:76: `CC2420Config.isAutoAckEnabled' not implemented
CC2420ControlP.nc:76: `CC2420Config.isHwAutoAckDefault' not implemented
In component `CC2420ControlC':
/opt/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlC.nc:98: cannot find `ActiveMessageAddress'
make: *** [exe0] Error 1

I know that the CC2420 stack was changed in this last version. Are we still waiting for a updated BaseStationCC2420 (since in 2.0.2 cvs it seems to be deleted), or am I missing something?

Thanks in advance,
Tiago Camilo
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to