Hi,

I am using a serial over USB port and I specify the parameter as :
java TestSerial -comm serial@/dev/ttyUSB0:micaz

This command works for the first time. Then, if the same command is used again 
then I get the error "Couldnot open /dev/ttyUSB0:TOSComm JNI library runtime 
error: get_modem_status: No such device".

When I check the /dev directory , I find that another USB port has been added 
as /dev/ttyUSB1.

Now if I use /dev/ttyUSB1 in the command line, the program runs but from the 
next run onwards ; the same error comes that there is no such device.

Now if I check the /dev directory, then I get to see another /ttyUSB2.

Can someone explain me the reason for this strange behavior and also how to 
reuse the same port again.




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

Reply via email to