$areg auto registration, $hostif configure host to modem interface – Horner APG XLt OCS HE-GSM04 User Manual

Page 60

Advertising
background image

PAGE 60

GPRS / GSM MODEM Configuration

MAN4005-04-EN

26. $AREG Auto Registration

$AREG

Auto Registration

Command Function

This command sets the auto registration state of the modem

Command Functional
Group

Enfora specific

Command Format Query
Response

AT$AREG=?
$AREG: (0,2)
OK

Write Format
Response

AT$AREG=<state>
OK

Read Format
Response

AT$AREG?
$AREG: <state>
OK

Execution Format
Response

N/A
N/A

Parameter Values

0

Autoreg off

1

Autoreg on

<state>

2

Auto GPRS Activation on Power up. (for $hostif=1 and 2, MT will perform
GPRS activation and go into PAD data mode. For Hostif=0 and 3, MT will
perform GPRS activation, but remain in AT command mode)

Notes

This command sets GMS registration state.
When set to 1, upon power on, the modem will automatically register on the GSM
network. To set the modem to automatically attach to the GPRS network on power
on, see AT%CGAATT command.

AT+CGDCONT must be entered and saved before MT is placed in AREG=2.

* If PIN is enabled, the modem will not complete the auto registration process
until after the PIN has been entered (AT+CPIN).


27. $HOSTIF Configure Host to Modem Interface

$HOSTIF

Configure Host to Modem Interface

Command Function

This command allows the user to configure the desired Host to Modem interface.
This parameter determines the behavior of the ATD command.

Command Functional
Group

Enfora Specific

Command Format Query
Response

AT$HOSTIF=?
(0-3)

Write Format
Response

AT$HOSTIF=<host interface>
OK

Read Format
Response

AT$HOSTIF=?
HOSTIF: <host interface>

Execution Format
Response

N/A
N/A

Parameter Values

0 = Establish normal external Dial up networking modem to network connection.

1 = Establish UDP PAD session. Upon establishment of a network activation, a
CONNECT message will be displayed. “No Carrier” or error will indicate failed or
terminated UDP PAD session.

2 = Establish TCP PAD session Upon establishment of a network activation, a
CONNECT message for at$active=1, or a LISTEN message for at$active=0 will
be displayed. “No Carrier” or error will indicate failed or terminated TCP PAD
session.

<host interface>

3 = Establish non-GPRS PPP connection.

Page 60 of 62 ECN # 956

Advertising
This manual is related to the following products: