[Tinyos-help] change sensor reading

2008-03-26 Thread shivani n s
hi i use tinyos1.i want to introduce a threat which changes the sensor readings of captured nodes.since i am new to tinyos i wish to know how to go about it. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.

[Tinyos-help] Linking a library.

2008-03-26 Thread Shalini Jain
Hello, I want to link a fftw3 library to tinyos. I have already downloaded the fftw3 package however when I compile tinyos using make micaz sim, it does not link to the fftw3. Do I have to make a change to the tinyos makefile? Thanks, Shalini - Never mis

[Tinyos-help] One question about AA batteries for Mica mote

2008-03-26 Thread Chris Yao
Hi, I am wondering what kind of AA batteries can be used for motes. Non-rechargeable AA batteries seem not a good choice. Because if the voltage is not enough, you have to throw them away. But for rechargeable AA batteries, it seems to me all the batteries have 1.2V. Is there any rechargeable

[Tinyos-help] TOSH_DATA_LENGTH

2008-03-26 Thread antonio gonga
Hey All, I've a question. Why TOSH_DATA_LENGTH is set to 28 in Tinyos-2.x? I know that in the previous version was 29. Why not 30, 45, etc?? Is there an article explaining why did they choose this value?. Thanks in advance. _ Dis

Re: [Tinyos-help] tossim source code modification

2008-03-26 Thread renjie huang
The source code is under: C:\tinyos\cygwin\opt\tinyos-1.x\beta\TOSSIM-CC2420 On 3/26/08, funofnet Funofnet <[EMAIL PROTECTED]> wrote: > > Hi, > > Please I want to Know, if it is possible to modify the source code of > tossim. > > Because I want to show some debug messages when running the simul

Re: [Tinyos-help] tossim source code modification

2008-03-26 Thread Enrico Perla
Sure it is, but maybe all you need is just some dbg() call here and there ? - Enrico On 26/03/2008, funofnet Funofnet <[EMAIL PROTECTED]> wrote: > > Hi, > > Please I want to Know, if it is possible to modify the source code of > tossim. > > Because I want to show some debug messages when

[Tinyos-help] tossim source code modification

2008-03-26 Thread funofnet Funofnet
Hi, Please I want to Know, if it is possible to modify the source code of tossim. Because I want to show some debug messages when running the simulation. (if yes so should I add some FLAG in the makefile ?) Thank you very much.

Re: [Tinyos-help] Hello

2008-03-26 Thread José Manuel Sánchez-Matamoros Pérez
Hi! If you're using mica2 and tinyos-1.x, it is very easy. You can read RSSI value from the message directly, that is a field on the AM message: TOS_MsgPtr receive(TOS_MsgPtr m){ uint16_t rssi = m->strength; return m; } On Fri, Mar 21, 2008 at 7:28 PM, Ariel Mauricio Nunez Gomez < [EMAIL PR

Re: [Tinyos-help] send a float

2008-03-26 Thread Michael Schippling
You can also try using the MIG program to generate Java code to convert the message with a float in it, and see what it comes up with. MS Siirtola Harri wrote: sizeof(float) gives the amount of bytes a float number takes. Just send that many bytes and convert back in the receiving end. Regard

Re: [Tinyos-help] Resource.reserve returns EBUSY forever after some time

2008-03-26 Thread Eric Keller
Maybe I'm not programming in the spirit of tinyos, but I don't ever call resource release under normal circumstances. I certainly see no reason to do it in code where there is only one place where sampling is done and the sample rate is fairly high. Your code looks like it should work, but it is

RE: [Tinyos-help] send a float

2008-03-26 Thread Siirtola Harri
sizeof(float) gives the amount of bytes a float number takes. Just send that many bytes and convert back in the receiving end. Regards, Harri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iturralde Garrote, Pablo M. Sent: Wednesday, March

[Tinyos-help] Plug MTS 300 sensor board to MICAz mote

2008-03-26 Thread Chris Yao
Hi, I am trying the MViz application of TinyOS 2.x. When I plug MTS 300 sensor board into MICAz mote, sometimes I can hear a long beep. sometimes I cannot. Why is the difference? Does this mean something? Thanks, Chris __

[Tinyos-help] Corr value

2008-03-26 Thread Rodolfo de Paz Alberola
Hi all, I am emulating cc2420 radio chip in avrora and testing it with tinyos-2.x. Right now, I am working with LQI and RSSI values. However, I don't have idea of how to simulate the correlation value. In the data sheet says that this value can be seen like a "chip error rate". So, I was thinki

[Tinyos-help] send a float

2008-03-26 Thread Iturralde Garrote, Pablo M.
Hi I'm working in tinyos2 with cygwin and telosb motes. I'm trying to send a float over the radio but I don't know how.. does anybody have done this, how I do it ? Thanks in advance Pablo Iturralde ___ Tinyos-help mailing list Tinyos-help@millennium

[Tinyos-help] Resource.reserve returns EBUSY forever after some time

2008-03-26 Thread Sandip Bapat
Hi I am using MultiChannel sampling on the msp430 ADC as shown in tinyos-2.x/apps/tests/msp430/Adc12. When I run the program, it runs correctly for a non-deterministic length of time (sometimes minutes, sometimes a day) and then appears to be stuck. Debugging with LEDs and UART shows that the

Re: [Tinyos-help] Display/Touch interfacing

2008-03-26 Thread Matthias Woehrle
Have a look at this: http://seemote.openwsn.com/ www.cs.virginia.edu/~stankovic/psfiles/SeeDTV_Emnets_as_submitted.pdf On Mar 20, 2008, at 8:47 PM, Aurélien Francillon wrote: Brandon Arnold a écrit : Hey all, I didn't see anything helpful in the archives on this. I'm hoping to get a charac

Re: Re: [Tinyos-help] Low power listening

2008-03-26 Thread Flavio Pompermaier
I'm using tinyos 2.0.1, but the problem is to know why should I listen for 100msecs every 2 seconds or stuff like that. How can I be sure that if a node send a message the other one is listening and will receive the message..? Is there any reference to that? >Which sources are you using? >Boome

[Tinyos-help] Q about connecting camera with tmote sky

2008-03-26 Thread gaurav mathur
Hi, I am using tmote sky as sensor node, and I want to attach a camera with tmote sky. One option is CMUcam, but I want to attach an analog camera. Can any one suggest me about analog camera and how can I attach it with tmote sky? Thanks Gaurav Mathur D-54 Karakoram Hostel IIT Delhi Ph. 991

Re: [Tinyos-help] RSSI code

2008-03-26 Thread David
> > At first I'm sorry for interrupting. Can some one provide me the code to get > the RSSI value for CC2430 mote? and I'm using tinyos-2.x. Please help me. > Thanks for your help. > As far as I know, you can either get a background RSSI value, or RSSI values for individual received packets. I ass

Re: [Tinyos-help] Deluge 2.0 supporting heterogeneous networks

2008-03-26 Thread David
> Can I do something like this. Instead of using the java toolchain from > Deluge for rebooting, create my own command and send it through > BcastInject to the mote. This command will have the nodeid and the > image number to reboot with. When the nodes recieve this command, they > check wheth

[Tinyos-help] Bug in tos/chips/stm25p/Stm25pLogP.nc?

2008-03-26 Thread David
Hello, tinyos developers. (I don't think the regular tinyos users can answer this question). I have a tinyos 2.x app which uses LogRead.read() and LogWrite.append() fairly extensively. After a few minutes, LogRead.read() starts failing, but LogWrite.append() (seemingly) succeeds. My app does hav