EG_GenPro78e_1003_UG_007_UK
Page 23 / 41
Description and non-contractual illustrations in this document are given as an indication only.
ERCO & GENER reserves the right to make any modifications.
5.8 Main AT commands (HAYES)
The table below shows at a quick glance the main AT commands useful for the control of the modem.
For further information concerning the complete command set see the ERCO&GENER "Commands List”.
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 GSM
network registration
AT+CREG?
+CREG: 0,0
The modem is not recognised by the
network.
+CREG: 0,2
The modem is searching for a
network operator.
+CREG: 0,1
The modem is GSM attached to a
local operator.
+CREG: 0,5
The modem is GSM attached to an
operator in roaming mode.
Reception of an
incoming call (2*)
ATA
OK
Reply to the call
Make a voice call
ATD<telephone
number>;
OK
Communication established
(IMPORTANT: the
;
at
the end of the sequence
specifies a voice call)
+CME ERROR: 11
PIN code not entered
+CME ERROR: 3
The credit has run out or the
communication has already been
established.
Make an emergency
call (112)
ATD112;
OK
Communication established
Lost communication
NO CARRIER
Hang-up ATH
OK
(1*) The command
AT+CMEE=1
allows the display of extended error codes. This command may be saved
with the command
AT&W
.
The command
AT%CSTAT=1
allows the display of the change of status of the SIM card (present,
ready…) and to check divers modem states (modem ready after RESET…). This command may be
saved with the command
AT&W
.
(2*) The command
AT+CRC=1
will in the case of an incoming call, display more detailed ring information
indicating the type of call - voice, data or fax. This command may be saved with the command
AT&W
.
Examples:
For VOICE : +CRING: VOICE
For DATA : +CRING: REL ASYNC
For FAX : +CRING: FAX