User guide

Table Of Contents
EG_GenPro25e_1055_UG_000_UK Page 35 / 66
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO & GENER reserves the right to make any modification.
Dct_427_01
5.10 Main AT commands (HAYES)
The modem contains the EGM standard library (see the documents "EG_EGM_CL_xxx_yy" of ERCO &
GENER); 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 "u-blox_AT_Commands_Manual_xxx.pdf".
Table 13 : Main AT commands used with the modem
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 GSM
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
GSM network.
Verification of
registration on
GPRS network
+CGREG : 0,1
The modem is attached in GPRS to
the local operator.
AT+CGREG?
+CGREG : 0,5
The modem is attached in GPRS to
the roaming operator.
+CGREG : 0,2
The modem is searching for a
network operator.
+CGREG : 0,0 or 0,3
The modem is not recognized by the
GPRS network.
Reception of an
incoming call (2*)
ATA
OK
Answer 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 is already
established.
Make an emergency
call (112)
ATD112;
OK
Communication established
Communication lost
NO CARRIER
Hang-up ATH
OK
(1*) with +CMEE=1. The command AT+CMEE=1 allows the display of extended error codes; it is possible
to save it with the commands AT&W and AT+CFUN=15
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 ERCO & GENER.
(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 channel called. This message corresponds to the type of number called:
voice or data, it is possible to save it with the commands AT&W and AT+CFUN=15
Examples:
If the VOICE number is called, the modem replies: +CRING : VOICE
If the DATA number is called, the modem replies: +CRING : REL ASYNC