[Tinyos-help] help with distance calculation using RSSI

2006-04-21 Thread mikhail chainani
Im trying to calculate the distance between 2 mica2 motes using the received signal strength (ie I want to use the msg-strength field in the TOS_Msg packet). Can sombody give me a relation between the distance and the signal strength. From what ive read the distance is inversely proportional

[Tinyos-help] Rationale for 29 bytes payload

2006-04-21 Thread Vinai Sundaram
Hi , I need to send more than 29 bytes for the application I am working on. However, I do not want to increase the payload size so much that it will reduce the throughput of the network. Is 29 bytes found to give close to optimal throughput? Are there any empirical/analytical studies that

[Tinyos-help] Problems when running SURGE on TOSSIM

2006-04-21 Thread Venkat Manoj
Hi all, I have tried simulating the surge application on TOSSIM. I have added some debug statements that print out the parent that is chosen in the debug messages tab. My problem is like this .. I have 4 motes arranged in line such that atmost each node has 2 neighbors. I used empirical radio

[Tinyos-help] Receiving different message types simultaneously in Java.

2006-04-21 Thread Jose L. Ponce
Hi all, Once again, I have a quick question regarding Java and message management. When classes which require receiving messages from the motes are programmed, usually all those classes are based on MessageListener. In this way, we have the following method when we receive a message:

[Tinyos-help] Re: RSSI

2006-04-21 Thread Sankar Gorthi
The Linear Regression approximation was exactly what we were trying to do. Didn't know about the indoor limitations. Please do clear this one doubt for us though - We were taking these measurements at increments of 1 inch corresponding to about 15 seconds on the curve that I attached in

[Tinyos-help] problem with getContinuosData()

2006-04-21 Thread decesco
Hi, i have problem sending messages when using getContinuosData(). Everything looks like if it works, i mean i get the sendDone event with success result, but nothing seems to be going out the radio. I saw someone post the same problem, but got no answer, thanks in advane, -Bill

[Tinyos-help] how to put off the radio??

2006-04-21 Thread Pankaj Ghanshani
please help Pankaj Ghanshani - (on isc) Powered by TREND VirusWall: Information Superhighway Centre, IIT Roorkee -

Re: [Tinyos-help] Receiving different message types simultaneously in Java.

2006-04-21 Thread Michael Schippling
I haven't use the interface in question, but it looks as if the message routing (via handlerID) is left as an exercise for the reader. I imagine that you need to build a messageListener factory someplace that instantiates the right class for each reception. There are some comments in MoteIF about

Re: [Tinyos-help] Problems when running SURGE on TOSSIM

2006-04-21 Thread Venkat Manoj
Hey guys, I found the problem in my approach. I was not hitting the update key in the radio model tab. So the radio model was not getting registered. Sorry for the trouble. Thanks, Venkat.- Original Message From: Venkat Manoj [EMAIL PROTECTED]To: tos