Project

General

Profile

Call to messageGateway.Find(config) with invalid COM-port hangs

Added by Gjermund almost 10 years ago

When calling messageGateway.Find(config) with and invalid COM-port, the call hangs.

Is it possible to avoid this? Some user will undoubtably try it...

Regards,
Gjermund Omholt


Replies (1)

RE: Call to messageGateway.Find(config) with invalid COM-port hangs - Added by admin almost 10 years ago

Hi,

This is a bit tricky. The COM port exists but is not a valid port for the modem.

So when the library sends the AT command, there is no response after waiting for 30 seconds for each command.

We have patched it such that if during connection set up, there is no OK response, the library will raise a "Invalid COM port" exception.

In case you have already downloaded version 1.0.0.5, please download it again and try. The exception will be raised after 30 seconds.

    (1-1/1)