Automatically detect which COM port is connected to a USB GSM Modem using java
I wrote a Java application that reads and sends SMS messages from a USB GSM modem. I'm using SMSLib (which uses JavaCommAPI), and it runs on Windows. I need to pass in the COM PORT, that the modem appears to be connected to. Now in my application am giving hardcoded value for the COM port number which is not user friendly coz the com port depend on the machine the application is run on.
Any ideas on how i can do this will be highly appreciated
Re: Automatically detect which COM port is connected to a USB GSM Modem using java
I came across this forum looking for a way to write a java app to send/receive sms messages through a USB GSM modem. Would you be kind to guide me on how to
go about it. I would really appreciate your help. Thanks in advance