Hi,

To summarize your problem, you're running Linux natively on your
computer. You are using TinyOS 1.x. When trying to access the serial
port with the TinyOS 1.x Java APIs, you get errors saying that you
should use Windows-style port names. Is this correct?

If so, did you install by accident the Windows version of the Java
Communications API? Actually, I don't think this is even possible. I
don't know if there is a different TinyOS 1.x Java API for Linux and
Windows. Maybe somebody more familiar with TinyOS 1.x could answer this?
What does tos-check-env say?

Cheers,
Urs

Prashanth Shenoy schrieb:
> Hi everybody,
> When I try to run the Listen application to see the raw packets i get the 
> following error. I have set the MOTECOM=serial@/dev/ttyUSB0:mica2
> , as I am using the /dev/ttyUSB0 to program the motes. (I am running tinyos 
> 1.1.14 on Xubuntu)
> 
> java net.tinyos.tools.Listen
> Error on serial@/dev/ttyUSB0:57600: java.io.IOException: Invalid port. Known 
> serial ports:
> - COM1
> - COM2
> [..]
> - COM47
> - COM48
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to