Hello Friends..
I am developing BlinktoRadio application for Multihop .. Just for
understanding purpose.
This i am developing using MultihopOscilloscope application.
But i am getting some errors..which i am unable to remove ..
Please help ..

configuration BlinkToRadioAppC
 {
 }

 implementation
 {
   components MainC;
   components LedsC;
   components BlinkToRadioC as App;
   components new TimerMilliC() as Timer0;
     components CollectionC as Collector;  // Collection layer
     components ActiveMessageC;                       // AM layer
     components new CollectionSenderC(AM_OSCILLOSCOPE); // Sends multihop RF



   App.Boot -> MainC;
   App.Leds -> LedsC;
   App.Timer0 -> Timer0;


App.Send -> CollectionSenderC;
   App.Intercept -> Collector.Intercept[AM_OSCILLOSCOPE];
   App.Receive -> Collector.Receive[AM_OSCILLOSCOPE];
   App.RoutingControl -> Collector;
   App.RadioControl -> ActiveMessageC;
 App.RootControl -> Collector;
  }




-------------------------------------------------------------------------------------------

module BlinkToRadioC
{
   uses interface Boot;
   uses interface Leds;
   uses interface Timer<TMilli> as Timer0;

   uses interface Send;
   uses interface Receive;
   uses interface CollectionPacket;
   uses interface RootControl;
   uses interface SplitControl as RadioControl;
   uses interface StdControl as RoutingControl;
 }

implementation
{
....................  no error from this part..
}

---------------------------------------------------------------------------------------------

This is error..

$ make telosb
mkdir -p build/telosb
    compiling BlinkToRadioAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -
target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x2
2 -DIDENT_APPNAME=\"BlinkToRadioApp\" -DIDENT_USERNAME=\"Administrator\"
-DIDENT
_HOSTNAME=\"himanshu-b8c434\" -DIDENT_USERHASH=0xd3711939L
-DIDENT_TIMESTAMP=0x4
a52d9c6L -DIDENT_UIDHASH=0xfb0d1c21L  BlinkToRadioAppC.nc -lm
In file included from BlinkToRadioAppC.nc:15:
In component `BlinkToRadioC':
BlinkToRadioC.nc:14: interface CollectionPacket not found
BlinkToRadioC.nc:15: interface RootControl not found
In file included from BlinkToRadioAppC.nc:15:
BlinkToRadioC.nc: In function `start.runTask':
BlinkToRadioC.nc:30: interface has no command or event named `setRoot'
BlinkToRadioC.nc: At top level:
BlinkToRadioC.nc:96: unknown interface `Intercept'
In component `BlinkToRadioAppC':
BlinkToRadioAppC.nc:20: component CollectionC not found
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** L
OW POWER COMMUNICATIONS DISABLED ***"
BlinkToRadioAppC.nc:22: component CollectionSenderC not found
BlinkToRadioAppC.nc:22: component `CollectionSenderC' is not generic
BlinkToRadioAppC.nc:31: no match
BlinkToRadioAppC.nc:32: cannot find `Intercept'
BlinkToRadioAppC.nc:33: cannot find `Receive'
BlinkToRadioAppC.nc:34: no match
BlinkToRadioAppC.nc:37: no match
make: *** [exe0] Error 1



_________________________________________________________________________________________

AM_OSCILLOSCOPE is set to 0x93 . Actually i had just copied that from
MultihopOscilloscope.
Can anybody tell me what is significance of that ?

There is one change in my program from multihoposcilloscope .. I have used
intercept instead of snoop..

Thanks in advance ..


-- 
With Best Regards
Himanshu Barve
M.Tech Electrical Engineering (Power System)
IIT Kharagpur , West Bengal , India
Ph: - +91 9775201181
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to