[Tinyos-help] Any simple example for Telosb Uart and Radio Communications in the same code?

WSNDeveloper WSN wsndeveloper at gmail.com
Mon Aug 20 04:56:57 PDT 2012

Hi Eric,

Thanks for your reply.

As far as I was able to check the arbitration done in BaseStation code is
done at high programming level, so I tried to use variables as RadioBusy
but my problem is not yet solved. I think I should use Resource Interface
and modify the Msp430UartConfiguration every time I want to use Radio or
Uart, since the problem is due to Msp430 hardware where both Uart0 and
Radio are multiplexed. This is why I should modify configuration in real

Any other example in which can be observed the arbitration in Msp430

2012/8/18 Eric Decker <cire831 at gmail.com>

> look at the BaseStation code.   That is exactly what it does.
> There is some header rewriting because the packet formats on the radio vs.
> serial line are different.
> On Sat, Aug 18, 2012 at 4:22 AM, WSNDeveloper WSN <wsndeveloper at gmail.com>wrote:
>> Hi guys,
>> I am trying to get data from UART0 in Telosb and then send this data via
>> Radio to basestation. In order to do this, I have tested Uart0
>> communication without Radio components in the code and worked fine. A
>> sucessful result was also gotten when I tried just with Radio components
>> (without using UartStream components). But when I try to call
>> UartStream.send() after a command via Radio is received by Telosb I can not
>> see any byte sent from the mote via Uart0.
>> I have read a lot of threads in TinyOS e-mail list but I continue without
>> having very clear how I should use Resource component and when I should
>> call the Resource methods.
>> I have been using in my program UartStream and Resource components as I
>> did with Uart previous program but it does not work now with Radio
>> communication.
>> Any example in which makes use of Resource and UartStream interfaces with
>> Radio communication would be really appreciated.
>> Thanks in advance.
>> WK
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120820/7c55abcd/attachment.htm 

More information about the Tinyos-help mailing list