when I connect to port 24, I got the below exception:

SEVERE: org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException: javax.comm.PortInUseException:
Port currently owned by Unknown Windows Application
        at org.smslib.modem.SerialModemDriver.connectPort
(SerialModemDriver.java:97)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
110)
        at org.smslib.modem.ModemGateway.startGateway
(ModemGateway.java:158)
        at org.smslib.Service$1Starter.run(Service.java:252)

Oct 16, 2009 1:44:18 PM com.menggaris.message.ReadSendMessageManager
start
SEVERE: java.lang.NullPointerException
        at org.smslib.AGateway.stopGateway(AGateway.java:312)
        at org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:
168)
        at org.smslib.Service.stopService(Service.java:327)
        at com.menggaris.message.ReadSendMessageManager.start
(ReadSendMessageManager.java:247)
        at com.menggaris.message.ReadSendMessageManager.main
(ReadSendMessageManager.java:1045)


when I connect to port 23, I got no response and no exception either

when I connect to port 23, I am able to connect and able to read
message from the device but not able to send out any


On Oct 16, 1:06 pm, Mark Thien <[email protected]> wrote:
> Hi guys,
>
>    I aware that smslib now support Prolink 3.5G USB HSDPA Modem as
> stated in the wiki's compatibility. I just bought 1 to try out.
> However, I must install the software that come the the device else it
> won't function as the Device Manager won't show it under the Modems
> and Ports section. Once I installed the software and keep it running
> there, it shows instantly in the Device Manager. The light turned blue
> from red also.
>
>    The problem is that when you keep the software running, it's
> hogging the port and smslib unable to use the port as it threw
> exception saying that port in use.
>
>     I am using Windows Vista Business edition. The Device Manager
> showing like below:
>
> Modems
>    - PROLiNK PHS100 USB HSDPA Modem
>
> when I right click and select properties, under the Modem tab, it
> showing COM25
>
> Ports (COM & LPT)
>    - PROLiNK HS-USB Diagnostics Interface (COM23)
>    - PROLiNK HS-USB NMEA Interface (COM24)
>
> I tried all the ports 23, 24, 25 and smslib still not able to connect.
>
> Can anyone out there please advice this please?
>
> Thanks & regards,
> Mark Thien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to