I am working on showing the sensor data on the linux terminal. I am getting
the sensor data on the terminal along with the destination address and some
other parameters in the form of a long mesage packet (using the Code
BlinkToradio and BaseStation). But I only want to show the sensor output
value on the terminal window. For that I referred the MIG section on the
following link on the tinyOS website

http://docs.tinyos.net/tinywiki/index.php/Mote-PC_serial_communication_and_SerialForwarder_%28pre-T2.1.1

I followed the whole procedure mentioned under the MIG section but there
was the an error- "java.net.ConnectException: Connection refused". At the
end of the page in the above link there was the solution to this Error
under the heading "Connection Refused Error" . I tried that also but still
it gave the following error-->

sanchay@ubuntu:~/workspace/
BlinkRadio/src$ java BlinkToRadioMsg -comm serial@/dev/ttyUSB1:telosb
Error: Main method not found in class BlinkToRadioMsg, please define the
main method as:
   public static void main(String[] args)

If anyone could please kindly guide me where I am going wrong.

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

Reply via email to