Re: [Tinyos-help] SerialForwarder with TOSSIM

2009-01-28 Thread Alban Hessler
Hi, You can compile your WSN application with the "sim-sf flag" such as :"make micaz sim-sf". Then modify your test file following the example that you can find in tos/lib/tossim/sf/examples and look at TestSerial.py. Finally, in your Java code, instantiate a "MoteIF" and set the MOTECOM to the

[Tinyos-help] SerialForwarder with TOSSIM

2009-01-28 Thread francisco cassimiro
Hello staff, I would like you to clarify how to connect an application simulated in TOSSIM with java code. More specifically how to connect the application SerialForwarder with a basestation of simulation in tossim. Thank you very much. -- Francisco Cassimiro Neto. Antes de tudo, filho de Deus

[Tinyos-help] iris mote with 420 cc and gps. Power issues.

2009-01-28 Thread stanza
Hi I have iris mote with 420 cc and gps network with fifteen motes all working. But they run out of power in a day in high power mode, which means its difficult to deploy them any distance apart. Has any one got these to last longer and deployed them at length? If so how, any tips? Has anyo

Re: [Tinyos-help] nesC concurrency model

2009-01-28 Thread Philip Levis
On Jan 28, 2009, at 3:21 PM, Mustafa Hammad wrote: > Dear Dr. > > I am trying to study the nesC concurrency model with TinyOS 1.x. > I have developed a basic program with a very long-time task and a > very short-time timer. I have noticed that when the task starts > executing, the timer-fired

[Tinyos-help] How to include the Wasabi Tools Suite (How do I make Tinyos know where the xscale compiler is located)?

2009-01-28 Thread Ivan-Vanja Kablar
Hi people, I did setup Tinyos 1.x with Linux. Now that I have also downloaded the Wasabi Tool Suite, I only need to get it work with my current tinyos installation. How do I tell the compiler to include all the files from that directory that came with the Wasabi Tool Suite? For example: I ge

Re: [Tinyos-help] math.h on Telosb

2009-01-28 Thread BAI LI
Hi, Thanks for your help. But it still didn't work. I tried sqrtf. It is the only one which can be compiled without errors. But the result was totally wrong. So I guess i will give up on the math.h functions. What I can do instead of using pow or sqrt function is to manipulate the bits. 2^1 -

[Tinyos-help] TinyOS on newer MSP430 chip series

2009-01-28 Thread Cameron Ross
Hi, We're constructing a new mote platform based on the MSP430F5438 microcontroller from TI. Note that this is one of the newer chips in the MSP430 series and support for it in mspgcc is still a little sketchy. We are working through outstanding issues with the mspgcc toolchain and can now compi

Re: [Tinyos-help] Low power operation IRIS

2009-01-28 Thread Charles Elliott
Hi Janos I tried taking out those lines an was still getting 3mA draw. I've switched to the Null application adding the flowing line to NullAppC.nc: "47 components ActiveMessageC;" No other changes were made and there is still 3mA of current flowing. Charles On Fri, Jan 23, 2009 at 5:15 PM, J

[Tinyos-help] "Gray area" in simulated sensor network is different than "Gray area" in real sensor network!

2009-01-28 Thread Nouha Baccour
Hi all, I'm using TOSSIM (T2) simulator. Based on extensive simulations, I draw the curve PRR (Packet reception rate) according to distance. This curve shows three reception regions (connected, gray and disconnected), as it is observed in actual sensor networks. Inside the gray (called also tra

[Tinyos-help] Java code called NESC code.

2009-01-28 Thread francisco cassimiro
Hello everybody. I have two questions, to build an application that must run in the sink node with a higher level language, like java, and the remaining nodes with NESC: 1 - Is there a way to make a java code (or C + +) to communicate with NESC code, calling its methods? 2 - If yes. How could I si

Re: [Tinyos-help] I may need some help about the RF230Sniffer

2009-01-28 Thread Miklos Maroti
Hi Saul, I have just added the interface RadioControl to the RF230 stack through which you can change the channel dynamically. It is provided by RF230ActiveMessageC. Best, Miklos On Wed, Jan 28, 2009 at 4:50 PM, Saul Garcia wrote: > Hi Miklos, > > I've been reading about and I decided to keep g

[Tinyos-help] Example of CC2420Transmit.modify()

2009-01-28 Thread Ittipong Khemapech
Hi, Are there any examples of using CC2420Transmit.modify()? I'm trying to sync 2 mote by timestamping the packet. I'm using Tmote, TinyOS 2.0 and Cygwin. Many thanks in advance. Ittipong ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Energy consumption evaluation, powertossim status

2009-01-28 Thread Alban Hessler
Hello, Did the effort of integrating powertossim into TOS 2.x come to a halt? One year ago, it was said to be released with 2.02, but from the CVS, its last commit into /contrib was 16 months ago.. Can we still hope for something there? Or R.I.P. PowerTOSSIM 2? Does anyone has a good alternatives