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 the default baud rate on the Tmote?
2. Do I need to use Resource Arbitration to send data to the PC and do
radio communication for the Tmote?

I am wiring my send, receive interfaces to UARTNoCRCPacket which wires
to HPLUSART1M at the lower levels. HPLUSART1M gives the implementation
of USART0 lowlevel functionality. I thought that Resource Arbitration
was required only for communication between the radio and UART0.

Could anyone correct me if I am making a wrong conclusion?

In TinyOS 2.x, if you want to send AM packets over the UART, you can use the interfaces and components specified in TEP 113. If you want to send raw byte streams of your own formatting, you can use the interfaces and components specified in TEP 117. Note that you won't want to use both abstractions at the same time. While you could do so for transmitting (just alternate between them), reception is tricky.

Phil
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to