Hi Andrew,

 

If your BlinkToRadio application was working on two motes then your
Radios are certainly communicating.... Now you will have to start
debugging as to what you are receiving on BaseStation. If you use the
"Listen" tool on the BaseStation (Your BaseStation should be connected
to a PC on a serial port), you can use it as follows:

 

java net.tinyos.tools.Listen -comm serial@/dev/ttyS0:mica2
 
USE the APPROPRIATE "ttySn" port on your PC......If you do not receive
anything, then start using the Led's to toggle at different stages of
your application, like you can Toggle an LED in the Receive event, if
the LED toggles then surely you are receiving the packets from
BlinkToRadio application, but there is something wrong with your serial
setup like the port or something. There are lots of discussions in the
archive to fix this.
 
I hope this helps.

 

 

Cheers,

 

Varun Jain

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew
C. Jung
Sent: Tuesday, 10 February 2009 8:28 AM
To: [email protected]
Subject: [Tinyos-help] BaseStation and net.tinyos.tools.Listen --
tutoriallesson 4

 

Hello.  I am following tutorial lesson4 which is "Mote-PC serial
communication and SerialForwarder".  TinyOS 2.0.2 is installed in Ubuntu
8.10 and I am using Mica2 motes.  I am having trouble to follow
"BaseStation and net.tinyos.tools.Listen" part.  It is saying that "Take
one of the two nodes that had BlinkToRadio (from lesson 3
<http://docs.tinyos.net/index.php/Mote-mote_radio_communication> )
installed and install BaseStation on it. If you turn on the node that
still has BlinkToRadio installed, you should see LED 1 on the
BaseStation blinking. BaseStation toggles LED 0 whenever it sends a
packet to the radio and LED 1 whenever it sends a packet to the serial
port. It toggles LED 2 whenever it has to drop a packet:....".

I installed BaseStation which is in
"/opt/tinyos-2.0.2/apps/BaseStation".  When I turn on the mote which
still has BlinkToRadio installed, nothing happened.  If some of you can
help me, please let me know What I have to do.  Thank you.

Andrew


 

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

Reply via email to