StreamConnection in Wireless Toolkit

Chris Rotberg <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Does anyone know the correct parameters for connecting to a device via the
serial port with the Toolkit?


I tried this
private String parameters =  "comm:COM20;baudrate=9600";

and

private String parameters =  "comm:0;baudrate=9600";


streamConn =
(StreamConnection)Connector.open(parameters,Connector.READ_WRITE,false);

I am using a USB adaptor on the laptop so my COM port is 20

I get this error

cannot open port(00000002)
GetLastError - The system cannot find the file specified.

Thanks

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.