[Tinyos-help] some thing what shouldn't be in footer-neighborList

2008-05-20 Thread funofnet Funofnet
Hi, this is where I suspect the bug : LinkEstimatorP.nc **  j = 0;  newPrevSentIdx = 0; NEIGHBOR_TABLE_SIZE = 10 // I added to have all the constants mentionned     for (i = 0; i NEIGHBOR_TABLE_SIZE j maxEntries; i++) {   k = (prevSentIdx + i + 1) %

[Tinyos-help] Problem with MultiHopOscilloscope

2008-05-20 Thread Antonio Prados Vilchez
Hi TinyOS users!! I'm trying to understand how Collection Tree Protocol works. MultiHopOscilloscope would help me to do that, so I have downloaded it into three MICA2 motes. The problem is that it doesn't work. I have modified the application in order to know why it happens. The Send.sendDone

[Tinyos-help] How to store data in a Mysql database from TOSSIM 2

2008-05-20 Thread Eva Maria Garcia
Hi all, I am writting a Tinyos 2 application and I am simulating it with TOSSIM. I have a Python script which takes data from a Mysql database and send this data to the motes through Python packets. When the simulation ends, the Python script gets final data and write it on the database. But I

[Tinyos-help] CVS TestSerialBandwidth Code Error w/Fix

2008-05-20 Thread Federico Spadini
Hey Guys, Just wanted to let you know that the application in /apps/tests/TestSerialBandwidth/ has an error in the java file TestSerial.java. Line 78 should says String source = null; instead of String source = ; Seemed to trivial to bug the guys on the devel list about. Thanks Federico

[Tinyos-help] Sending data from PC to Mote.

2008-05-20 Thread Vincas Benevičius
I went through the mailing list, read TinyOS2 documentation, but couldn’t get to the point, where everything works fine… I’m new to motes, so any help would be very much appreciated. I need to send a message from PC to mote, but just can’t get it right. I’m using TmoteSky platform. Mote is plugged

Re: [Tinyos-help] Problem with MultiHopOscilloscope

2008-05-20 Thread Omprakash Gnawali
On Tue, May 20, 2008 at 1:26 AM, Antonio Prados Vilchez [EMAIL PROTECTED] wrote: Hi TinyOS users!! I'm trying to understand how Collection Tree Protocol works. MultiHopOscilloscope would help me to do that, so I have downloaded it into three MICA2 motes. The problem is that it doesn't work. I

Re: [Tinyos-help] Q about CTP protocol

2008-05-20 Thread Omprakash Gnawali
On Mon, May 19, 2008 at 1:14 PM, gaurav mathur [EMAIL PROTECTED] wrote: Hi, CTP provides Intercept interface, I am not getting how to use event Intercept.forward. Please give me a sample code demonstrating Intercept.forward event. I do not have an example but maybe you can ask Dimas:

Re: [Tinyos-help] some thing what shouldn't be in footer-neighborList

2008-05-20 Thread Omprakash Gnawali
On Tue, May 20, 2008 at 12:26 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi, this is where I suspect the bug : LinkEstimatorP.nc ** j = 0; newPrevSentIdx = 0; NEIGHBOR_TABLE_SIZE = 10 // I added to have all the constants mentionned for (i = 0; i

[Tinyos-help] Re : some thing what shouldn't be in footer-neighborList

2008-05-20 Thread funofnet Funofnet
Hi, Oups, yes you are right ! I didn't pay enough attention. Sorry, Thank you very much Mr. Omprakash __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités

Re: [Tinyos-help] [Tinyos-devel] what version of Gcc should I be using? Possible bug?

2008-05-20 Thread Janos Sallai
Eric, I can't help you, but I suspect that the gcc you're using to compile the MCU application is not version 4.1.2. To get ncc spit out the correct gcc version you need to type ncc --version -target=telosb (replacing telosb with whatever mote you're using). Also, in the future, please

[Tinyos-help] Problem with AMSend interface of CC2420

2008-05-20 Thread Juan Francisco Del Amor Lajarin
Hi all, It´s my first time, so I apologise in advance if there are many erros with my English, I am a student that is doing a report of interfaces about CC2420 Chipcom. My doubt is why at first of the code of AMSend interface make this operation CC2420_SIZE = MAC_HEADER_SIZE + MAC_FOOTER_SIZE.

[Tinyos-help] Timers on MSP430

2008-05-20 Thread Alexandre Buist
Hi all, 1 I made a platform and I am trying out the timers. The Alarm32Khz16C is working good but If I uses interface BusyWaitTMilli, uint16_t as PreciseWait; ( - BusyWaitMilliC ) and I test call Leds.led2On(); //yellow call PreciseWait.wait(5); call

Re: [Tinyos-help] problems about Deluge

2008-05-20 Thread Razvan Musaloiu-E.
Hi! On Tue, 20 May 2008, jiwen zhang wrote: Hello : 2008/5/20 Razvan Musaloiu-E. [EMAIL PROTECTED]: Hi! On Sun, 18 May 2008, jiwen zhang wrote: Hello : 2008/5/16 Razvan Musaloiu-E. [EMAIL PROTECTED]: Hi! On Thu, 15 May 2008, jiwen zhang wrote: Hello Razvan ME : today, i modify

[Tinyos-help] Order of placement of global variables in SRAM

2008-05-20 Thread raj raj
Dear all, Is there a way to force some order in the way variables (global/static) are placed in .data and .bss sections ? For example, let my program has 2 initialized global variables g1 and g2 and 5 uninitialized global variables u1,u2,u3,u4 and u5. g1 and g2 are first placed in program

Re: [Tinyos-help] How to store data in a Mysql database from TOSSIM 2

2008-05-20 Thread Paul Stickney
How does the intermediate get generated? On Tue, May 20, 2008 at 3:44 AM, Eva Maria Garcia [EMAIL PROTECTED] wrote: Hi all, I am writting a Tinyos 2 application and I am simulating it with TOSSIM. I have a Python script which takes data from a Mysql database and send this data to the motes

Re: [Tinyos-help] Sending data from PC to Mote.

2008-05-20 Thread Paul Stickney
You may want to look at the SF interface in $TOSROOT/support/sdk/c/sf (I'm not saying use it, although I find it handy, but it should offer some insight on packet encoding, etc.) On Tue, May 20, 2008 at 5:23 AM, Vincas Benevičius [EMAIL PROTECTED] wrote: I went through the mailing list, read

Re: [Tinyos-help] Sending data from PC to Mote.

2008-05-20 Thread Razvan Musaloiu-E.
Hi! You might find useful this TEP: http://www.tinyos.net/tinyos-2.x/doc/html/tep113.html and the information from here: http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x-contrib/jhu/python/README.html The important thing is to always send Data Frames when you send

[Tinyos-help] Matlab, Basestation, and Reading the Serial Port

2008-05-20 Thread Joey Wilson
Hello all, I am trying to read data directly from the serial port, using Matlab and the Basestation tinyos program. When I use the java net.tinyos.tools.Listen program, it appears that all my packet data is being received by the basestation correctly. However, I would like to read the data

Re: [Tinyos-help] Matlab, Basestation, and Reading the Serial Port

2008-05-20 Thread Michael Schippling
You might be having trouble with the escape byte used to preface certain values. If it is used it will add an extra byte to the stream. See all the teps and the octavetech document that get referenced on this list about every 3 months... MS Joey Wilson wrote: Hello all, I am trying to read

Re: [Tinyos-help] Matlab, Basestation, and Reading the Serial Port

2008-05-20 Thread Greg Hackmann
Joey Wilson wrote: Now, the problem that I am having is that the alignment of each packet coming in can be different. For example, if I know the 3rd byte is the node ID, I try to read the 3rd byte. This shifts around though, so I can't parse the data consistently. I think it is happening