User guide

EG_GenPro2xe_1003_UG_005_UK Page 30 / 63
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
Dct_427_00
If the modem is not registered: check the connection between the modem and the antenna or the reception
level of the signal (cf. paragraph 5.5).
For more information about AT commands, see the document "EG_EGM_CL_xxx_yy" of ERCO & GENER.
5.8 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 "EG_EGM_CL_xxx_yy" of ERCO & GENER.
Table: 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 the
network
AT+CREG?
+CREG : 0,1
The modem is attached in GSM to
the local operator.
+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 a 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
(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 ERCO & GENER.