[Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-01 Thread Ankur Kamthe
Hi, I am trying to write an application wherein the Tmote receives data over the radio and forwards it to the PC via the UART. I was not getting the data to flow correctly into the PC, so I was concerned about the following things: 1. Is 57600 the default baud rate on the Tmote? 2. Do I need to

Re: [Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-02 Thread Joe Polastre
Hi Ankur, The default baud rate is 57600 in Boomerang. You should use GenericComm or SPC to send messages, and then address messages to the UART if you would like them to go to the PC. UART and Radio messages in Boomerang can be sent in parallel, because SPC implements a pool that processes

Re: [Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-02 Thread Tiago Camilo
Hi Joe, Can you give us an example of using the UART interface with SPC. I had already a function that printf to the UART with HPLUART.put(), but when I integrated it with SPC, it stop working. Thanks, Tiago Joe Polastre wrote: Hi Ankur, The default baud rate is 57600 in Boomerang. You sho

Re: [Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-02 Thread Ankur Kamthe
Hi Joe, Thanks for your reply. regards, ankur ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-02 Thread Joe Polastre
SPC sends packets to the UART, but not raw bytestreams. You need to encapsulate your printf() argument into a message, send the message via SP, and then decode it on the PC using the Java, C, or Python tools. -Joe On 3/2/07, Tiago Camilo <[EMAIL PROTECTED]> wrote: Hi Joe, Can you give us an ex

Re: [Tinyos-help] Concurrent Radio and Mote->PC communication in Tmote

2007-03-02 Thread Philip Levis
On Mar 1, 2007, at 7:04 PM, Ankur Kamthe wrote: Hi, I am trying to write an application wherein the Tmote receives data over the radio and forwards it to the PC via the UART. I was not getting the data to flow correctly into the PC, so I was concerned about the following things: 1. Is 57600 th