User guide
EG_GenPro30e_1006_UG_002_UK Page 23 / 37
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
5.5 Verification of the PIN code
The PIN code is essential in order to make a call or to accept a response coming from the GSM network.
This code is held in the SIM card and can be modified by the user.
To check that the PIN code has been entered, use a communication software like Hyperterminal, and enter
the commandAT+CPIN?
The table hereunder shows the main responses given by the modem:
For more information about AT commands, see the "Commands List" document of ERCO & GENER.
5.6 Verification of the modem registration on the GSM network
1. Ensure that a valid SIM card has been inserted in the SIM card reader of the modem.
2. Using a communication software like Hyperterminal, enter the following AT commands:
a. AT+CPIN="xxxx" to enter the PIN code. The user has only 3 attempts to enter the PIN code.
After the third attempt, only a second code (code PUK) supplied by the operator, will allow you to chose a
new PIN code.
b. AT+CREG? to check the registration status on the network. The response will be of the
following format: +CREG : <mode>, <stat> with:
<Mode> = configuration of the registration message not solicited,
<Stat> = registration status.
3. Check the registration status according to the value given in the table hereunder.
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 "Commands List" document of ERCO & GENER.
Command Response Interpretation
+CPIN : ERROR
The SIM card is absent or not
recognized
+CPIN : READY
The PIN code is correct
+CPIN : SIM PIN
The PIN code is wrong or not entered
yet
AT+CPIN?
+CPIN : SIM PUK
The PUK code is required
Command Response Interpretation
+CREG : 0,0 or 0,3
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 attached in GSM to the
local operator.
AT+CREG?
+CREG : 0,5
The modem is attached in GSM to the
roaming operator.