do you see any leds flash on the TOSBase mote?
If not then nothing is getting out of the UART,
or perhaps the message is not formatted correctly.
If TOSBase flashes, then the radio is not working right.

You'll probably have to debug into SF and see where the
actual failure is happening...
MS


Javier . wrote:
Hi,

I'm trying to make a Java program to receive and send messages to micaz motes. In order to do that I'm using SerialForwarder and a mote programmed with TOSBase plugged on a MIB510. To test it, the motes are programmed one with CntToLedsAndRfm and other with RfmToLeds.

It seems to work when the mote sends me the message, because I can read it, but when the application tries to send a response (message with val=7 so the micaz must turn on the three leds), the mote does not respond and SerialForwarder displays the text "write failed".

I have also try the application BCastInject with a micaz with SimpleCmd and a micaz (in the MIB510) with TOSBase. I send the radio_louder (or other one) message and the micaz with SimpleCmd turns on the green led (so something has been sent through a Java Program-->SerialForwarder-->UART-->radio-->micaz) and SerialForwarder displays the text "write failed" again. Since this first message, no other can modify the state of the leds. Where is the problem?

I have seen similar problems in the mail list but I have not seen that they have been solved.

I'm sure you can help me. Thanks
--------
Javier Pajares Ortega


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

Reply via email to