This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remember a portId in rxtx  RSS feed

 
Enrique Nivasch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I�m writing an application that has to talk to a device through a serial port. I� using rxtx and I already got the PC and the device to talk to each other.

Each time I start the application on the PC side it looks through all the port until it finds the one I�m interested in, I want to save the portId (which is a CommPortIdentifier type variable) but I cannot serialize it. Is there another way I can avoid the search through all ports? Is there another way I can save the portId?


Thanks,

Enrique
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!