So I got it to build by comparing files from tinyos-2.1.0. It gives a bunch of warnings: /Users/abhay/Developer/Source/tinyos-2.x/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning: #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***" /Users/abhay/Developer/Source/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4: warning: #warning Accessing TimerA for ADC12 /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:151: warning: `Energy.toggleLed' called asynchronously from `Leds.led2Toggle' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:121: warning: `Energy.toggleLed' called asynchronously from `Leds.led1Toggle' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:91: warning: `Energy.toggleLed' called asynchronously from `Leds.led0Toggle' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:131: warning: `Energy.startLed' called asynchronously from `Leds.led2On' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:101: warning: `Energy.startLed' called asynchronously from `Leds.led1On' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:71: warning: `Energy.startLed' called asynchronously from `Leds.led0On' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:141: warning: `Energy.stopLed' called asynchronously from `Leds.led2Off' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:111: warning: `Energy.stopLed' called asynchronously from `Leds.led1Off' /Users/abhay/Developer/Source/tinyos-2.x/tos/system/LedsP.nc:81: warning: `Energy.stopLed' called asynchronously from `Leds.led0Off'
I installed it on a couple of motes. Followed all the instructions (setting moteid and defining MOTECOM, etc.). But the GUI is empty. No nodes. Tried it on both my macbook and ubuntu and its the same result: empty GUI. Moreover no LEDs blink and there is no way to know if the program is actually running. All settings in OctopusConfig.h are unchanged. On Fri, Nov 13, 2009 at 1:18 AM, Enzeneer <[email protected]> wrote: > Hi, > > I tried to build the latest version mentioned by you. But some errors > persist (related to setLocalDutyCycle). > Looks like the Low Power Listening interface on the CC2420 has been > changed. That function and few others are missing from the tinyos-2.x > cvs code. > > I wonder how I can get an older working version of the code. > > Abhat > > > 2009/11/12 "Nils T. Kannengießer" <[email protected]>: >> Hi, >> you might try out the new versions >> >> http://www.csi.ucd.ie/content/octopus-dashboard-sensor-networks-visual-control >> >> KR, >> N.T. Kannengiesser >> >> >> Enzeneer schrieb: >> >> Hi, >> >> Thanks for that. Now "make telosb" returns the following: >> mkdir -p build/telosb >> compiling OctopusAppC to a telosb binary >> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul >> -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb >> -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 >> -I/Users/abhay/Developer/Source/tinyos-2.x/tos/lib/net/ >> -I/Users/abhay/Developer/Source/tinyos-2.x/tos/lib/net/ctp >> -I/Users/abhay/Developer/Source/tinyos-2.x/tos/lib/net/drip >> -I/Users/abhay/Developer/Source/tinyos-2.x/tos/lib/printf >> -I/Users/abhay/Developer/Source/tinyos-2.x/tos/lib/net/4bitle -I. >> -DIDENT_APPNAME=\"OctopusAppC\" -DIDENT_USERNAME=\"abhay\" >> -DIDENT_HOSTNAME=\"nozomi\" -DIDENT_USERHASH=0x388bf940L >> -DIDENT_TIMESTAMP=0x4afc9c89L -DIDENT_UIDHASH=0xef7c68e8L >> OctopusAppC.nc -lm >> In file included from OctopusAppC.nc:47: >> In component `OctopusC': >> OctopusC.nc: In function `collectSendTask.runTask': >> OctopusC.nc:376: too few arguments to function `CollectSend.getPayload' >> OctopusC.nc: In function `serialSendTask.runTask': >> OctopusC.nc:387: too few arguments to function `SerialSend.getPayload' >> OctopusC.nc: In function `CollectReceive.receive': >> OctopusC.nc:536: too few arguments to function `SerialSend.getPayload' >> OctopusC.nc: In function `setLocalDutyCycle': >> OctopusC.nc:556: interface has no command or event named `setLocalDutyCycle' >> OctopusC.nc:566: interface has no command or event named `setLocalDutyCycle' >> /Users/abhay/Developer/Source/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4: >> warning: #warning Accessing TimerA for ADC12 >> /Users/abhay/Developer/Source/tinyos-2.x/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: >> warning: #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***" >> make: *** [exe0] Error 1 >> >> Any ideas? >> >> Abhay >> >> On Wed, Nov 11, 2009 at 12:55 PM, Mehmet Akif Antepli >> <[email protected]> wrote: >> >> >> Hi, >> >> The path for dissemination is missing in the makefile. You should add it as >> follows; >> >> There is the following line in the make file: >> >> CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/ctp >> -I$(TOSDIR)/lib/printf -I$(TOSDIR)/lib/net/le -I. >> >> change it to the one below; >> >> CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/ctp >> -I$(TOSDIR)/lib/net/drip -I$(TOSDIR)/lib/printf -I$(TOSDIR)/lib/net/4bitle >> -I. >> >> Use 4bitle instead of le as link quality estimator. They both implement the >> same interface but the former is more reliable. >> >> >> All the best, >> >> -- >> Mehmet Akif Antepli >> >> On Wed, Nov 11, 2009 at 7:26 PM, Enzeneer <[email protected]> wrote: >> >> >> Hi, >> >> I am not able to get the Octopus source to build. It complains of >> missing DessiminatorC and DessiminationC. >> >> Abhay >> >> On Mon, Nov 9, 2009 at 12:53 PM, Mehmet Akif Antepli >> <[email protected]> wrote: >> >> >> Hi, >> >> You can have a look at "Octopus" application in the following link; >> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/ucd/ >> >> I have been using it for a long time. You have to play with payload >> struct >> in order for the gui to communicate with your network. >> >> All the best, >> >> -- >> Mehmet Akif Antepli >> >> >> >> On Mon, Nov 9, 2009 at 10:13 AM, mojtaba raznahan >> <[email protected]> wrote: >> >> >> Hi, >> >> Is there any Visualization tool for TinyOs 2.x ? I heard TinyViz >> doesn't >> work with TinyOs 2.x. >> Simulating with just TOSSIM is not very sensible... and i want to see >> what >> are my algorithms doing . >> And at this point, what other people do for visualization in TinyOs 2.x >> ? >> Recently I found a framework named "cadena" for eclipse ...does this >> framework have visualization tools ? or just compiling ? >> >> Regards, >> >> -- >> Mojtaba Raznahan >> BS of Computer engineering >> TMU university >> www.raznahan.com >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> >> >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> >> >> -----BEGIN PGP PUBLIC KEY BLOCK----- >> Version: GnuPG v1.4.10 (MingW32) >> >> mQENBEr0UhgBCADAdzdAhpCiYPCZP+HbNRV/oKuAbs664yjbLAxN6hQpKv6XQXlM >> zf+vTH3zCdwjV0zQpkvO2y09aeBP8jkkPKH0TMZbMs5mpnZVNDUzlymd0xTFL00G >> Hxs0EhvbdyT/fjuaDKNY3Ml+BMnLYnJ1AsCqtZ7aTgMG44qwdYvqB8AM2VeMxhNA >> IaVbRio2w/I9SAvD2whtp5iA6YFUafwYhpawRHeddFsvLew/kvRyOTNNBNUdcF6y >> Z8nfabh4JHiNijynmuwKkNu0g798FWnXWhxlO1n4hsm7UQaLMs+YrzZ8iyMa7jQv >> KDD7ZLzYLGguZbKfIsCRI/W+5VRGFirYFC8tABEBAAG0JU5pbHMgVC4gS2FubmVu >> Z2llw59lciA8bmlsc3RrQGdteC5kZT6JAT4EEwECACgFAkr0UhgCGyMFCQlmAYAG >> CwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEMCvFRDFwOfqS5cH/ROC4juTJuMf >> CWmUMH+TeEBH7Y5zemT0saz2UA7HysPoqVB8LMgGagct3gUYB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3qdyMwY/9XxEntZwXIAWVmT >> =Y0O9 >> -----END PGP PUBLIC KEY BLOCK----- >> >> > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
