This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serial Port Communications

 
Bill Ceglia
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to recv data through a COM port on my PC. I have verified that the port works by using hyperterminal however, when I run my MIDlet in the CodeWarrior debugger I run the line to open the COM port and it just kills the debug session and gives no errors or indication of what might be wrong? Below is the code trying to perform the open:
sc = (StreamConnection)Connector.open ("comm:1;baudrate=4800;databits=8;parity=none;stopbits=1;flowcontrol=Hardware",Connector.READ_WRITE);

[This message has been edited by Bill Ceglia (edited December 19, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic