Hi Manjunath,
I am still having no luck getting UART0 and the Radio to work together. I can successfully read data from UART0, I then call my releaseBus method to pass control back to the radio. My sendMsg method claims to have sent a message, but when the sendDone event is called the success parameter is always FAIL and no radio message is ever received. Also, when i then call my getBus method it also returns FAIL preventing me from accessing UART0 any more.

This is as far as I have got unfortunatly. I spent most of last week banging my head against the desk trying to get this working again, but gave up after getting nowhere :-( The only thing I can think of is that there is a problem with my own getBus and releaseBus methods which configure the UART for rs232 operation or radio operation, or that there is as problem with the BusArbitration class. At the moment, I am at a complete loss.

- David

Manjunath Prabhu wrote:

Hi all,
I am trying to communicate over radio from the base station to a remote mote. I want to send commands to the remote mote, which uses uart0 to extract values and then sends the TOS packet(with the extracted value) over radio back to the base station. I am unable to send the reply back over radio

I followed the link http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-October/012433.html and the dicussion between joe and david. i am using the bus arbitration, but am getting stuck at the point mentioned above.

I am able to send commands over radio and the remote mote is successful in sending over uart0. I am not able to send the reply back over radio. I fire a timer and glow LED when the send command and sendDone events are called and I see the 2 LEDs toggling. The radio seems to be sending the messages. May be releaseBus() is not function properly. The function does work fine...again I am checking through LEDs.

Please do tell me if I have missed something.
Any pointes and help is appreciated.

Thanks,
Manjunath


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to