Re: [Tinyos-help] TOSSIM segfault in RadioCountToLeds tutorial (test.py)

2009-04-16 Thread Rémi Villé
Thanks for your help Poonam. The test.py I use is copied from the tutorial : http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network -- $ cat test.py #! /usr/bin/python from TOSSIM import * import sys t = Tossim([]) r = t.radio() f = open(topo.txt, r) lines =

Re: [Tinyos-help] TOSSIM segfault in RadioCountToLeds tutorial (test.py)

2009-04-16 Thread Rémi Villé
I tried to remove the part concerning meyer-heavy noise (from 'noise = open(meyer-heavy.txt, r)' to 't.getNode(i).createNoiseModel()'), then i have no segfault but the output is not good (nothing happen after packet sent) : -- $ python test.py 1 2 -54.0 2 1 -55.0 1 3

Re: [Tinyos-help] TOSSIM segfault in RadioCountToLeds tutorial (test.py)

2009-04-16 Thread Rémi Villé
So i found the problem (which came from me). The segfault happened because the meyer-heavy.txt had just 10 line (in the tutorial I didn't read these are the first 10 lines of meyer-heavy.txt :( and I ran event from 0 to 100 steps). So I just copied ten time these 10 lines and it works. (I thought

[Tinyos-help] Empty JNI Interface on Ubuntu 8.10 (Intrepid Ibex)

2009-04-16 Thread Rémi Villé
Hi, I installed TinyOS 2.1 on my laptop (Ubuntu 8.10 Intrepid Ibex). (I have installed TinyOS on a Xubuntu 8.04 Hardy and all is ok). It was ok, but when I run SerialForwarder or the Oscilloscope interface I only have an empty window (unlike on Hardy where it works). The strange thing is that

[Tinyos-help] timestamp found but not working

2009-04-16 Thread Marc Romera
hi! I found a timestamp aplication on http://docs.tinyos.net/index.php/PacketTimeStamp_CC2420_bug, but it doesn't work. the files are P.nc when the manuals says that the files must be C.nc or .nc. Does anybody test this aplication? what kind of file is a file P.nc? thanks for helping us ;-)

Re: [Tinyos-help] Empty JNI Interface on Ubuntu 8.10 (Intrepid Ibex)

2009-04-16 Thread Rémi Villé
I installed java 6 and it works, bizare... 2009/4/16 Rémi Villé ville.r...@gmail.com Hi, I installed TinyOS 2.1 on my laptop (Ubuntu 8.10 Intrepid Ibex). (I have installed TinyOS on a Xubuntu 8.04 Hardy and all is ok). It was ok, but when I run SerialForwarder or the Oscilloscope interface

[Tinyos-help] Help to recover simulation reslults using PowerTOSSIM to draw graphs

2009-04-16 Thread Amel BERRACHEDI
Hi, I wanna to recover simulation results (energy, connectivity ..) by using PowerTossim in order to draw graphs (using Matlab or Excel). I try this instructions http://www.eecs.harvard.edu/~shnayder/ptossim/install.html, I can see the result but I can't stock them. So can I stock this results in

Re: [Tinyos-help] Need help urgently with mica2 MIB520 blink :(

2009-04-16 Thread 200503111
I have fixed my update (unistalled everything and installed it again with the new version of nesc). But, now I am facing another problem. when I type in cygwin "make mica2" (knowing that I have set up all the other required information in this line in (makelocal file). I get the following: symbol

Re: [Tinyos-help] Fuzzy Logic

2009-04-16 Thread Alban Hessler
Hi, yes, you can use fuzzy logic in sensor networks. It was for example done in this paper: http://portal.acm.org/citation.cfm?id=1514274.1514309coll=dl=GUIDEtype=seriesidx=SERIES11635part=seriesWantType=Proceedingstitle=WISEC You can use a free tool, JFS, that generates the fuzzy controller in

Re: [Tinyos-help] Sentilla JCreate support

2009-04-16 Thread Xavier Orduña
Hi Chris, Did you got them working with Tinyos 2.1? Reading your mail seems that you had success Xavi On Sun, Apr 12, 2009 at 11:23 AM, Chris Custine ccust...@apache.org wrote: Just to follow up, the issue was having the FTDI VCP driver installed which interferes with the D2XX library

Re: [Tinyos-help] Need help urgently with mica2 MIB520 blink :(

2009-04-16 Thread João Carlos Giacomin
KS,       the most ease and safe way to install tinyos-1 in Windows is the tinyos-1.1.11-3is.exe, which has a wizard to install. Double click on tinyos-1.1.11-3is.exe and wait. It will do the work for you. At the end, all TinyOS will work fine. Before you install Blink

[Tinyos-help] TinyOS 2.x on AVR RZ Raven

2009-04-16 Thread B . A . f . H
Hi, I try to develop an Application for the Atmel RZ Raven Eval-Kit, but the used Chip ATmega1284P and the AT86RF230 is not in the /tos/chips tree, so I decided to develop/ program this one but now the compiler isn't able to compile code for the ATmega1284P. Can I solve this problem by

[Tinyos-help] Newbie Question: tos-env-check

2009-04-16 Thread David Li
Hi, I installed tinyos 2.1 on Ubuntu 8.10 and ran tos-env-check. There are two warnings I am not sure if they are a big concern: 1. Classpath: -- WARNING: CLASSPATH environment variable doesn't exist. Your classpath should contain and a pointer to the cwd (a dot) Question: Is this a Java

Re: [Tinyos-help] TOSSIM segfault in RadioCountToLeds tutorial (test.py)

2009-04-16 Thread Poonam Hiwal
Hi, you are considering 101 nodes(0 to 100) so should have 101 entries in noise file. @ for i in range(1, 4)@ here you are assuming only four nodes. all occurance of range should be same... @for i in range(0, 100) @ here u r assuming 101 nodes --poonam On Thu, Apr 16, 2009 at 9:43 AM, Rémi

Re: [Tinyos-help] Newbie Question: tos-env-check

2009-04-16 Thread Poonam Hiwal
Hi, you can checkwith /opt/tinyos 2.1/tinyos.sh In this file check is CLASSPATH is set properly? -Poonam On Thu, Apr 16, 2009 at 4:10 PM, David Li w.david...@gmail.com wrote: Hi, I installed tinyos 2.1 on Ubuntu 8.10 and ran tos-env-check. There are two warnings I am not sure if they

Re: [Tinyos-help] Newbie Question: tos-env-check

2009-04-16 Thread Michael Schippling
Have a look at this: http://docs.tinyos.net/index.php/Java_cygwin Search this list, and google, for CLASSPATH to get an idea what it is. And a newer version of graphviz should be fine, it's only used to generate documentation diagrams. MS David Li wrote: Hi, I installed tinyos 2.1 on

[Tinyos-help] Turn off CCA on Iris

2009-04-16 Thread Jane
Is there a simple and clean way to turn CCA off on Iris motes? Thanks! YanYan ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Turn off CCA on Iris

2009-04-16 Thread Miklos Maroti
Hi YanYan, Find the RF230ActiveMessageP.nc file in the tos/chips/rf2xx or rf230 directory and change the async command bool RF230DriverConfig.requiresRssiCca(message_t* msg) { return call IEEE154MessageLayer.isDataFrame(msg); } command to return always

[Tinyos-help] Re: Deluge Simulation on Tossim

2009-04-16 Thread Tehsinullah khan
Sir, I need your help.I want to simulate deluge using tossim.I have compiled the DelugeBasic but i am getting the following warnings.. mkdir -p build/pc compiling DelugeBasic to a pc binary ncc -o build/pc/main.exe -g -O0 -DDELUGE_LEDS -pthread -fnesc-nido-tosnodes=1000 -fnesc-simulate

Re: [Tinyos-help] Need help urgently with mica2 MIB520 blink :(

2009-04-16 Thread 200503111
Joao, tinyos-1.1.11-3is.exe is the tinyos that I have installed from the beginning. My problem is in the nesc version I have 1.2.8 version and it does not support $ sign. This is why I am getting this error. I have downloaded the patch file from

Re: [Tinyos-help] Turn off CCA on Iris

2009-04-16 Thread Jane
Hi Miklos, Thanks for the quick response. You made my day. My head has been spinning from trying to exam the code. You were right, the code has been changed to: return call IEEE154Packet.isDataFrame(msg); Thanks again. YanYan ___

[Tinyos-help] understanding of Timers in TinyOS

2009-04-16 Thread BAI LI
Hi, I am confused about the timer strucuture. someone could clarify it for me? Thanks. In the following code, call Timer1.start(TIMER_REPEAT,2000); event result_t Timer.fired(){ call Timer2.start(TIMER_ONE_SHOT,1); } *** so the timer1 is triggered

[Tinyos-help] Injecting large applications into micaz using Deluge T2

2009-04-16 Thread Henry Medeiros
Hello everyone, I have a 72k application that I am trying to inject it into a micaz mote using Deluge T2 without success. The mote is programmed with the deluge Basestation, and I can inject and reprogram smaller applications without any problem. This is the content of volumes-at45db.xml:

Re: [Tinyos-help] first steps

2009-04-16 Thread olfa gaddour
Hi, thank you for your replay, what is the best tinyos version to install? I installed the 1.0.11, but do you think that 2.0 is more performant? note that in the version that I installed I tried to run tinyvis but it didn't work. any help please? thank in advance Best regards Poonam Hiwal

[Tinyos-help] Deluge Simulation on Tossim

2009-04-16 Thread tehsin
Sir, I need your help.I want to simulate deluge using tossim.I have compiled the DelugeBasic but i am getting the following warnings.. mkdir -p build/pc compiling DelugeBasic to a pc binary ncc -o build/pc/main.exe -g -O0 -DDELUGE_LEDS -pthread -fnesc-nido-tosnodes=1000