beautypg.com

Modem (ascii), Modemconfig (ascii) – NavCom Sapphire Rev.J User Manual

Page 160

background image

Sapphire Technical Reference Manual Rev. J

160

1.108

MODEM (ASCII)

SF-3050

Sapphire

SF-3040

The [MODEM] command is used to connect to or disconnect from the GSM modem. In the first
release, this command displays the status of the current connection, CONNECTED OR
DISCONNECTED, but the command cannot be used to change that status.

Command:

[MODEM]

CONNECT

– Connects the modem to a communications channel

DISCONNECT

– Disconnects the modem from a communications channel

The status will be displayed as either OK or ERROR.

1.109

MODEMCONFIG (ASCII)

SF-3050

Sapphire

SF-3040

This command, which is slated for use with the SF-3040, will be used to set up and control the
output of the GSM modem. When issued with no parameters, this command returns the current
configuration.

Command:

[MODEMCONFIG] {OPERATOR,REGISTRATION,PDP_CONTEXT}

Parameter

Definition

OPERATOR

Keyword that specifies the operator status of the modem

REGISTRATION

Consult the modem provider for the exact content and format of these values

PDP_CONTEXT

Consult the modem provider for the exact content and format of these values

The modem saves data to private storage when it receives this command, uses the
data to connect the modem at network connect time, and returns the data when this
command arrives with no parameters.

One example of how the arguments might look:

, to report the current configuration of the modem

The items listed below, as three strings in the order shown, set the status of the modem:

OPERATOR, REGISTRATION, PDP_CONTEXT

Consult the modem provider for the exact content and format of these values and
enter them here exactly the same way as one enters them directly to the modem,
using the AT commands (or equivalent

– ask the vendor!) named here. After they

are entered once, the modem saves them in memory and reports them in the same
order and format in response to the [MODEMCONFIG] command entered with no
keywords.