Re: StreamConnection in Wireless Toolkit

Robin Chaddock <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Is "COM20" or "0" a valid entry in the comma-separated list returned by System.getProperty("microedition.commports") ?

  ----- Original Message ----- 
  From: Chris Rotberg 
  To: [email protected] 
  Sent: Tuesday, August 14, 2007 6:06 AM
  Subject: StreamConnection in Wireless Toolkit


  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". 

________________________________________________________________________
E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which I-play, a trading name of Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

(C) 2005. I-play is a trademark and trading name of Digital Bridges Limited. All Rights Reserved.
________________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

===========================================================================
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.