No led flash in TOSBase mote using my application, but with BcastInject
the yellow and red leds turn on sequentially. It indicates that the message
has been well received by de micaz with TOSBase?
The problem is that the micaz with SimpleCmd turns on the green led when
I send the first message (no matter what kind of order led_on, led_off,
radio_louder...) and continues lighting when i send more messages, including
led_off. SerialForwarder always displays the "write failed" error, although
something has been sent to the TOSBase micaz and then via radio to the
SimpleCmd micaz because it turns on the green light one time. why?
From: Michael Schippling <[EMAIL PROTECTED]>
To: "Javier ." <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Tinyos-help] Sending data through TOSBase to micaz
Date: Tue, 14 Mar 2006 12:57:58 -0700
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