Hi all,
I'm using Octopus (A management/visualization application), MicaZ motes
(CC2420 radio) and TinyOS 2.1.1.
I'm currently receiving an error when trying to compile the Octopus mote
application, in regard to the setLocalDutyCycle function/interface not being
found. The developers of Octopus suggest that I should take a look at
updating the “CC2420ActiveMessageC” component in the
“\opt\tinyos-2.x\tos\chips\cc2420” path. The error is listed below
mkdir -p build/micaz
compiling OctopusAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -DENERGY_MONITORING=0 -fnesc-separator=__
-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 -I/opt/tinyos-2.1.1/tos/lib/net/
-I/opt/tinyos-2.1.1/tos/lib/net/ctp -I/opt/tinyos-2.1.1/tos/lib/net/le
-I/opt/tinyos-2.1.1/tos/lib/net/drip -I. -DIDENT_APPNAME=\"OctopusAppC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\"
-DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x4bc4eb09L
-DIDENT_UIDHASH=0x12f6a910L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml OctopusAppC.nc -lm
In file included from OctopusAppC.nc:41:
In component `OctopusC':
OctopusC.nc: In function `setLocalDutyCycle':
OctopusC.nc:902: interface has no command or event named `setLocalDutyCycle'
OctopusC.nc:904: interface has no command or event named `setLocalDutyCycle'
/opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning:
#warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***"
make: *** [exe0] Error 1
Has anyone come across this error before, or have any tips on how I could
work around it?
Much apreciated!
Regards,
Dave
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help