This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I posted a msg yesterday asking about serial communications, so I am reposting a more descriptive msg in accordance with Ranch policies. I am trying to find out if I have incorrect syntax or possibly some other reason why, when in a CodeWarrior debug session, I try an execute the command to connect to a COM port and it fails? Below is the line of code doing the connect: sc = (StreamConnection)Connector.open("comm:1;baudrate=4800;databits=8;parity=none;stopbits=1;flowcontrol=Hardware",Connector.READ_WRITE); Should I be using another type for the connection? Is there documentation somewhere that discusses the EXACT parameters of what you can pass? I have searched all over and been unable to find anything on java.sun.com and numerous other sites. Thank You
------------------ Sun Certified Programmer for Java 2 Platform [This message has been edited by Cindy Glass (edited December 19, 2001).]
Joined: Dec 13, 2001
Thank You. However, I have read that the COMMAPI can't run on a J2ME MIDP MIDlet, do you know if that's correct? That's why I stuck with trying to use the microedition Connector but if it will work I suppose getting the COMMAPI is a more specific solution.