EG_GenLoc41e_1055_UG_003_UK
Page 31 / 71
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCOGENER reserves the right to make any modifications.
Dct_427_02
5.9 Main AT commands (HAYES)
The modem contains the EGM standard library (see the documents "EG_EGM_CL_xxx_yy" of
ERCOGENER); in this case, the table below shows the main AT commands necessary for the control of the
modem.
Other AT commands are available, see the document "EG_EGM_CL_xxx_yy" of ERCOGENER.
Table: Main AT commands used with the modem.
(1*) with
+CMEE=1
. The command
AT+CMEE=1
allows the display of extended error codes; it is possible
to save it with the command
AT&W
.
By default, some event codes
+EGEVT
allow the display of status change of the SIM card (card
present, card ready
…) and allows to know some status of the modem (modem ready after a
RESET…), see the Command List of ERCOGENER.
(2*) with
+CRC=1
. The command
AT+CRC=1
allows in the case of an incoming call to display an extended
message that indicates the canal called. This message corresponds to the type of number called: voice
or data, it is possible to save it with the command
AT&W
.
Examples:
If the VOICE number is called, the modem replies: +CRING : VOICE
If the DATA number is called, the modem replies: +CRING : REL ASYNC
Description
AT Command
Response
Interpretation
Enter the PIN code
AT+CPIN="xxxx"
OK
PIN code accepted
(xxxx = PIN code)
+CME ERROR: 16
PIN code incorrect (1*)
+CME ERROR: 3
PIN code already entered (1*)
Verification of
registration on the
network
+CREG : 0,1
The modem is attached in GSM to
the local operator.
AT+CREG?
+CREG : 0,5
The modem is attached in GSM to
the roaming operator.
+CREG : 0,2
The modem is searching for a
network operator.
+CREG : 0,0
or
0,3
The modem is not recognized by the
network.
Reception of an
incoming call (2*)
ATA
OK
Reply to the call
Make an outgoing
voice call
ATD<telephone
number>;
OK
Communication established
(the
;
at the end of the
sequence is important; it
allows to make a voice
call)
+CME ERROR: 11
PIN code not entered
+CME ERROR: 3
The credit has run out or a
communication has already been
established.
Make an emergency
call (112)
ATD112;
OK
Communication established
Communication lost
NO CARRIER
Hang-up
ATH
OK