• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serial Port Connection

 
Nidheesh Puthalath
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

how can i connect to a serial port (comm port) in java.
i have the url like,
String commURL = "comm:com1;baudrate=38400;bitsperchar=8;stopbits=1;parity=none;autocts=off;autorts=off";

my intention is to read and write bytes in the serial port.

Thanks in advance

Nidheesh
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to look at the Java Comm API. Since this is not part of the Java IO API, I'm moving this post to the Other API's Forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!