Re: [Tinyos-help] Sending a message to the Base Station from the PC

2006-04-24 Thread Michael Schippling
I'm a little unclear on the concept here... I'm guessing that "turn the LED ON" means that you are trying to send a message through TOSBase to a re-Mote that is running whatever program that knows to flash LEDs for that message. I forget, is that the SimpleCmd demo app? How are you sending the p

[Tinyos-help] UART communication using TOSSIM

2006-04-24 Thread Manik Gupta
Hi All! Well I wanted to know is it possible to perform UART communication from nodes which are being simulated using TOSSIM. I have come to know that UART communication is possible for node 0 by specifying [EMAIL PROTECTED] Is there no way to do this for node ids other than 0? Also when I try

[Tinyos-help] Questions about magsetting interface!

2006-04-24 Thread Liupeng
Hi, everybody.   My question is about the gainAdjustX and gainAdjustY method in the MagSetting interface. These two methods is used to set an appropriate input for the AD5242, a Digital Potentiometer. But i have no idea how to determine the parameters for the gainAdjustX(Y) methods? Furthermore, wh

Re: [Tinyos-help] Off-Topic: TinyOS @ Wikipedia

2006-04-24 Thread Sankar Gorthi
I did start the article on Crossbow too, but wasn't sure if this was the right place to ask for input. http://en.wikipedia.org/wiki/Crossbow_technology On Mon, 24 Apr 2006 18:45:30 -0500, Muthiah Annamalai <[EMAIL PROTECTED]> wrote: Dear friends, Excuse me for starting a discussion off

[Tinyos-help] Sending a message to the Base Station from the PC

2006-04-24 Thread Liliane Fegard
I found some previous postings having the same question but with no answer. How can I change the TOSBase code so when I send a packet from my PC to the MIB510 of the following format: 7E 42 FF FF 00 7d 0b 01 01 00 00 00 00 00 00 00 00 00 69 b0 7E 42packet without achknowledgments ---Br

[Tinyos-help] Off-Topic: TinyOS @ Wikipedia

2006-04-24 Thread Muthiah Annamalai
Dear friends, Excuse me for starting a discussion off-topic. I would like potential wikipedia fans, and already-wikipedians to contribute to the entry on 'TinyOS' and 'NesC'. http://en.wikipedia.org/wiki/TinyOSHave fun. -Muthu Blab-away for as little as 1¢/min. Make PC-to-Phone Cal

Re: [Tinyos-help] timestamping in t-mote

2006-04-24 Thread Brano Kusy
this is in 1/32k sec; or 1 jiffy = 30 microseconds btw. SysTimestamping has been ported to CC2420 -> see /contrib/vu/tos/lib/CC2420/TimeStamping* brano Tony L wrote: Hi, I use t-mote sky. I want to add timestamp to the message. I use TimerC. LocalTime to replace the SysTime in SysTimeStamp

[Tinyos-help] timestamping in t-mote

2006-04-24 Thread Tony L
Hi, I use t-mote sky. I want to add timestamp to the message. I use TimerC. LocalTime to replace the SysTime in SysTimeStamping component. My question is how to read this four bytes timestamping in milliseconds? Thanks. Best regards, Tony

Re: [Tinyos-help] Rationale for 29 bytes payload

2006-04-24 Thread Philip Levis
On Apr 24, 2006, at 10:07 AM, David Gay wrote: It's historical. The original TinyOS motes had a radio that was controlled by software at the bit level, and somebody (Jason?) found that 36 bytes/packet was a good place to be (maximise throughput, minimise chance of packets getting lost because o

Re: [Tinyos-help] Rationale for 29 bytes payload

2006-04-24 Thread Raghu Ganti
If you assume a gilbert-elliot model for the bit error rate and plot the packet size vs. throughput, the optimum occurs at around ~35 bytes per packet. Basically, a gilbert-elliot model is a 2 state markov chain model, where one state is a good state (where bit errors do not occur) and the other st

Re: [Tinyos-help] RE: Turning radio off and on.

2006-04-24 Thread Raghu Ganti
You can put an ammeter in series and observe the current change. It works, I have tried it. The power consumption when the radio is on for a micaz is 24mA and when it is off is ~5mA. Raghu Message: 7 Date: Mon, 24 Apr 2006 22:31:32 -0500 (GMT) From: Pankaj Ghanshani<[EMAIL PROTECTED]>

[Tinyos-help] Surge_msg type,reading,paraddr,seq_no nesessary

2006-04-24 Thread davisj2
Hey all, In Surge_Reliable, the SurgeMsg has bytes for type, reading, parentaddr, and 4 bytes for battery and sequence number. I understand the type. But reading is never used, parentaddr is contained in the multihop header as Source Address?? And , why is there another sequence number??? and w

Re: [Tinyos-help] Rationale for 29 bytes payload

2006-04-24 Thread David Gay
On 4/21/06, Vinai Sundaram <[EMAIL PROTECTED]> wrote: > 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

Re: [Tinyos-help] RE: Turning radio off and on.

2006-04-24 Thread Pankaj Ghanshani
thanx a lot for the help, i ll try my best to get it working, but how do you observe the power output Pankaj Ghanshani On Sun, 23 Apr 2006, Gregory A. Moore wrote: > bhushan, > > Turning the radio off and in is as simple as the following: > > RadioControl.stop(); > RadioControl.start(); >

RE: [Tinyos-help] Rationale for 29 bytes payload

2006-04-24 Thread David Moss
Vinai, There were two motes used: One was Rx-only and the other was Tx-only. Nothing was competing for the radio. The throughput was at the application layer, using GenericComm. CRC's were checked, and the motes were sitting about 3 feet apart. The Tx mote would start sending a message, and as

Re: [Tinyos-help] Getting system time and clock ticks in tinyos

2006-04-24 Thread Cory Sharp
On 4/24/06, Jose L. Ponce <[EMAIL PROTECTED]> wrote: > On Sun, 2006-04-23 at 09:46 -0400, Vinayak Naik wrote: > > You can use SimpleTime component to get system time. > > > > Alternatively, I think you can use LocalTimeMicroC too to get the mote > time. I am working with Telos and SimpleTime doesn'

Re: [Tinyos-help] Sending data to UART0 in tmote

2006-04-24 Thread Chris Pettus
You can also look at the example that I placed in CVS contrib (tinyos-1.x/contrib/SharedUSART/).  This example switches between UART and SPI mode and allows you to transmit and receive bytes to a UART0 device over the radio.  This is an example and has limitations so read the README file.   Chris 

[Tinyos-help] How to change the MAC protocol in TinyOS

2006-04-24 Thread Venkat Manoj
Hi all,   Can somebody please tell me how I can change the MAC protocol in TinyOS from B-MAC to S-MAC and T-MAC. I downloaded the components from the CVS repository. But what to do from then?   Thanks for any help ..   Regards, Venkat.___ Tinyos-help mail

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

2006-04-24 Thread Jose L. Ponce
Hi, Thanks for your reply. On Fri, 2006-04-21 at 13:15 -0600, Michael Schippling wrote: > 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 > somepla

Re: [Tinyos-help] Getting system time and clock ticks in tinyos

2006-04-24 Thread Jose L. Ponce
On Sun, 2006-04-23 at 09:46 -0400, Vinayak Naik wrote: > You can use SimpleTime component to get system time. > Alternatively, I think you can use LocalTimeMicroC too to get the mote time. I am working with Telos and SimpleTime doesn't seem to work, and LocalTimeMicroC seems like a valid alternat