Hi all,

I was following the TinyOS-1.x tutorial, (lesson 6: Displaying Data on a PC) 
and I have a problem with the Listen application.
I am using a USB - SerialPort conversor.
My platform is tinynode
My MOTECOM is MOTECOM=serial@/dev/ttyUSB0:tinynode

I install Oscilloscope in my mote and I try to execute java java 
net.tinyos.tools.Listen.

At the begining I got this:


java net.tinyos.tools.Listen
Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Invalid port. Known 
serial ports:
- /dev/ttyS0
- /dev/ttyS1

After this I tried installing the javax.comm package. I copied some libraries 
like libParallel.so and libSerial.so and I included a .jar in my CLASSPATH. I 
also changed a line in the javax.comm.properties:

# Paths to server-side serial port devices
serpath0 = /dev/ttyUSB0 # before was "serpath0 = /dev/ttyS0"
serpath1 = /dev/ttyS1

Now I get a different error:

java net.tinyos.tools.Listen
Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Couldn't configure 
/dev/ttyUSB0


Any suggestion will be great. Thanks,

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

Reply via email to