Re: [Tinyos-help] problem on switching back to tinyos-1.x

2006-10-17 Thread Daniele Munaretto
All this happened after the installation of T2 (or upgrading, without touching T1)..i don't know how i might have messed up the access to that directory. Anyway, is there any possibility to know what to modify in /usr/local/avr ? i don't know exactly how this directory has to be.. thanks very

[Tinyos-help] adding a sim path to application directory

2006-10-17 Thread Cormac Duffy
Hi I was wondering if it possible to edit a .target/.extra or similar file to get ncc to search appDir e.g.(blinkk)/sim directory for tossim specific compenents.I know that it does this in the micaz platform directory, but i have no idea what is telling tossim to search sim specific directorys.if

Re: [Tinyos-help] problem on switching back to tinyos-1.x

2006-10-17 Thread Daniele Munaretto
Hi Michael, I've found the problem right in usr/local folder. It's strange but the sub-folders avr, lib, include, info, share and bin in tinyos-1.x (from a pc which runs only tinyos-1.x) are different than the tinyos-2.x's ones (for example avr folder is empty here). So to switch correctly from

RE: [Tinyos-help] MTS300 sensor reading conversions (micaz, tinyos-1.x)

2006-10-17 Thread Andres Aberasturi
Hi Nuwan, You can see some conversions in the file xconvert.c in opt\tinyos-1.x\contrib\xbow\tools\src\xlisten and in the file mts300.c in opt\tinyos-1.x\contrib\xbow\tools\src\xlisten\boards. I hope this help you. Andrés. From: Nuwan Ginige [EMAIL PROTECTED] To:

Re: [Tinyos-help] telosb communication pc

2006-10-17 Thread patrick kuckertz
Hi,I have additional information regarding the problem with the communication from pc to node. If I use transparent base on two nodes and I am sending a message over uart to node a with the address of nodeb it works. But if I want to send a message over uart to nodea, how can I do that? I

[Tinyos-help] RE: Audio capture

2006-10-17 Thread Michael Collett
Hi Antonio, There should be a soundrecorder.txt file in the folder. Looking at this, it says you need a tool called Txt2Wav: isis.nest.util.Txt2Wav I've not got this in my CVS tree which I got from Sourceforge fairly recently. You may be lucky and find it in yours. If not, all I can suggest

Re: [Tinyos-help] Reduce Signal leangth

2006-10-17 Thread Benjamin Madore
Try getting some metal (NOT vynal) screen at a home improvement store and put the sensor in that. Connect the screen to a ground (a water pipe is good). That will give you a Faraday cage. Alter it with windows in the sides or grounding/ungrounding to get the desired signal strength. It's still

[Tinyos-help] how does tinyos handle Physical layer header

2006-10-17 Thread Tie Luo
In 802.15.4, the frame format is defined as:| PHY preamble | SFD | length | MAC_header | MAC_payload | MAC_footer Therefore the previous three (or two) fieldsseem toform the PHY header. But in tinyos 2.x there is: async command error_t PhySend.send(message_t* msg, uint8_t len) { ... //

Re: [Tinyos-help] Packet loss on Tmote (using TinyOS 1.x)

2006-10-17 Thread Michael Schippling
I like to think of it as a retraction period... I got similar results on micaz and 2, though driven by a host PC rather than another mote: http://www.etantdonnes.com/Motes/report_micaz/ I don't know where the time goes, although using ACKs may help in some cases. It would be interesting to

[Tinyos-help] Time resolution of SysTime.getTime32()

2006-10-17 Thread Sean Casey
Hello, Does anyone know the resolution of SysTime.getTime32() ? Is this in microseconds? It seems to be a 7 digit number. Any help would be appreciated. Thanks, Sean ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] problem on switching back to tinyos-1.x

2006-10-17 Thread Michael Schippling
I dunno why T2 would empty the AVR dir, nor if it works if one exists. Have you tried switching back? Maybe it was an install glitch. MS Daniele Munaretto wrote: Hi Michael, I've found the problem right in usr/local folder. It's strange but the sub-folders avr, lib, include, info, share and

Re: [Tinyos-help] Packet loss on Tmote (using TinyOS 1.x)

2006-10-17 Thread Cory Sharp
It is packet loss at the TOSBase where the serial port operating at 56kbps cannot keep up with the radio operating up to 250kbps. You could try chaning the UART baudrate: http://www.moteiv.com/community/Change_the_default_UART_baud_rate .CoryOn 10/16/06, harish prabhu [EMAIL PROTECTED] wrote:Hi

Re: [Tinyos-help] Packet loss on Tmote (using TinyOS 1.x)

2006-10-17 Thread Michael Schippling
huh, I hadn't considered that...good point. However... at ~40 bytes (320 bits) per message, 100 messages is 32000 bits which _should_ still fit pretty easily and I seem to remember pooping out around that rate. Also I had the same-only-worse problem on the mica2, needing a 20ms retraction period

[Tinyos-help] PropagationModel.java File Missing in tinyos-2.x

2006-10-17 Thread Manish Kochhal
Dear TinyOS Users,I was going through the TOSSIM chapter of tinyos-2.x. Unfortunately, when I executed the following to generate a topologyjava net.tinyos.sim.PropagationModel config.txtException in thread main java.lang.NoClassDefFoundError: net/tinyos/sim/PropagationModelI looked for

Re: [Tinyos-help] Reduce Signal leangth

2006-10-17 Thread Benjamin Madore
While foil may work, its effectiveness should drop off quickly, also it may randomly distort signal patterns. See http://en.wikipedia.org/wiki/Foil_hat. -- For some reason, the United States is the only country on Earth where accidents don't happen – it's always somebody's fault, and you can sue

Re: [Tinyos-help] Help with make pc

2006-10-17 Thread Omprakash Gnawali
On Oct 13, 2006, at 12:17 PM, Nupur Kothari wrote: Phil, Thanks for your response. I have tried out pthread.h with other C programs, and everything works just fine then. Any clues as to what might be going on? What does that line of pthread.h say? My only thought would be that

Re: [Tinyos-help] Reduce Signal leangth

2006-10-17 Thread Sumit Gupta
Dear Sir,Thanks for your advice but I got another alternative. I am using Aluminium Foil to cover the antenna to reduce the signal strength and it worked to some extent. I think if we able to create a cover over telos motes antenna of certain thickness then we can reduce it length accordingly. As

[Tinyos-help] Re: Packet loss on Tmote (using TinyOS 1.x)

2006-10-17 Thread Raghu Ganti
Also consider the fact that the TOSBase has to interleave the reception of the packet and the transmission on the serial port. This reduces your transmission rate further on the serial port. I had done experiments earlier to measure this and found about 21 Kbps was the max rate I could achieve

Re: [Tinyos-help] how to get gdb to work

2006-10-17 Thread Omprakash Gnawali
If you send a description of your platform and the sequence that causes this error to the tinyos-help list, someone might be able to help. - om_p Thanks for your help... it worked... but now I have another problem... when I try run the simulation with mote (run 1), I get this message at

[Tinyos-help] Re: Packet loss on Tmote (using TinyOS 1.x)

2006-10-17 Thread Michael Schippling
You know, I'm just not sure about that... There are separate TxRx lines, so it _should_ be possible to do 56Kb in both directions simultaneously. But it never occurred to me to look. Anybody know for sure? I have been counting each message (send-command and recv- reply in my tests) in coming up

Re: [Tinyos-help] Help with make pc

2006-10-17 Thread Nupur Kothari
Om, Thanks! This fixes make pc. I'm able to compile as well as run simulations with this. The other programs I had tried out, were using the same pthread.h as TOSSIM. They are working even with the modified pthread.h. So it seems that the problem must be with something TinyOS is doing. Thanks,

[Tinyos-help] unable to stop timer

2006-10-17 Thread Sudha Krishna
Hi, I have a component (C) that repeatedly starts a timer in ONE_SHOT mode and each timer the timer fires, a message is sent and the timer is restarted in ONE_SHOT mode. Finally, the main component (A) calls C.stop ( ), which in turn stops the timer. I am using TOSSIM for testing and the

[Tinyos-help] Reg. interrupt in CC24200 radio indicate reception

2006-10-17 Thread Madhu Mudigonda
Hello Eveybody,Is there any interrupt or pin on CC2420 radio (for telos tmotes) which goes high when a message is received? Can I access the state of that interrupt with a command? Actually, I need to add a time-stamp when a message has been received, to indicate the reception time. Any

[Tinyos-help] question about TestTinyViz

2006-10-17 Thread Zhao Stephen
I have one simple question about TestTinyViz. I am learning lesson 5 of TOS tutorial. When I perform tinyviz -run main 30 and watch the debug messages shown on the interface panel, I suddenly thought a question. There are so many nodes (30) to send messages over RF, so I guess that many

Re: [Tinyos-help] PropagationModel.java File Missing in tinyos-2.x

2006-10-17 Thread Philip Levis
On Oct 17, 2006, at 10:06 AM, Manish Kochhal wrote: Dear TinyOS Users, I was going through the TOSSIM chapter of tinyos-2.x. Unfortunately, when I executed the following to generate a topology java net.tinyos.sim.PropagationModel config.txt Exception in thread main