Methods

Setup

Connect to GSM modem/phone on a particular port with a particular buad-rate.

During setup the GSM tool will enter the pin code for the SIM card (if needed) and enable caller-id identification when a call is received.

Some modems register more than one COM port on the PC where it is connected, for instance, a Huawei E173 modem will register two COM ports:

The easiest way to find the correct port is just by trial and error, by trying setting up the tool, for the Huawei E173 modem the correct COM port is the “PC UI Interface” one.

Send SMS

Send a message to a recipient.

Send an SMS with the given text to the given number.

Receive SMS

Get all the SMS messages that has been received since the last time Receive SMS was called.

Receive all the incoming SMS messages from the modem.

Wait for call

Wait for someone to call the phone/modem (does not answer the call).

Wait for a call to be made to the modem, when the call is received the caller-id is also returned.

Answer call

Answer an incoming call

Answer a waiting call.

Hang up

Hang up phone/modem

Hang up an existing call.

Make a call

Send DTMF

Change length of DTMF tones