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