Hi All,
I have a modified the Collection code from the tutorials, to Read the
temperature value and transmit the temperature among the telosb motes (i
have used 2 motes plus one as BaseStation).
But it gives an error, which i am failing to fix, Please Help.
there is an error:
mkdir -p build/telosb
compiling EasyCollectionAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -I/opt/tinyos-2.1.2/tos/lib/net
-I/opt/tinyos-2.1.2/tos/lib/net/le -I/opt/tinyos-2.1.2/tos/lib/net/ctp
-DIDENT_APPNAME=\"EasyCollectionA\" -DIDENT_USERNAME=\"ADludla\"
-DIDENT_HOSTNAME=\"adludla\" -DIDENT_USERHASH=0x5c3bf0feL
-DIDENT_TIMESTAMP=0x50853041L -DIDENT_UIDHASH=0x1166b72bL
EasyCollectionAppC.nc -lm
/opt/tinyos-2.1.2/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** LOW POWER COMMUNICATIONS DISABLED ***"
In component `EasyCollectionAppC':
EasyCollectionAppC.nc:11: component TemperatureC not found
EasyCollectionAppC.nc:24: cannot find `Temperature'
make: *** [exe0] Error 1
there is the code configuration code where the error is indicated, im not
sure if i wired it correct, if not how is it supposed to be wired?
configuration EasyCollectionAppC {}
implementation {
components EasyCollectionC, MainC, LedsC, ActiveMessageC;
components CollectionC as Collector;
components new CollectionSenderC(0xee);
components new TimerMilliC();
components TemperatureC;
EasyCollectionC.Boot -> MainC;
EasyCollectionC.RadioControl -> ActiveMessageC;
EasyCollectionC.RoutingControl -> Collector;
EasyCollectionC.Leds -> LedsC;
EasyCollectionC.Timer -> TimerMilliC;
EasyCollectionC.Send -> CollectionSenderC;
EasyCollectionC.RootControl -> Collector;
EasyCollectionC.Receive -> Collector.Receive[0xee];
EasyCollectionC.Read-> Temperature;
}
Warm Regard
Sara.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help