NoSuchPortException when running java application using SMSLib
问题 I'm using SMSLib in my java application to send an SMS , i connect a USB internet modem to my PC then determine it's port number (ie. COMx) then creating a serial modem gateway like this : determining the port number : creating the gateway: SerialModemGateway gateway = new SerialModemGateway("mobile", "COM5", 115200, "Apple", "iPhone"); but whether i define the port as COM4 or as COM5 it runs the connection at first then gives me that following exception then stops the service by the usual