Hi,
I’m writing a program in Java that uses rxtx for serial communications. Every time I start the program the communications object has to look for a specific port, acquire it, open it and only then can I start using it. The first part of the process, looking for the port, takes a long time so I was thinking of saving in a file the CommPortIdentifier type variable that identifies the port so I won’t have to look for it. I tried saving it using Serializable but CommPortIdentifier is not Serializable. Any ideas how I can save the variable?
Thanks,
Enrique