OnCell G2100 Series User’s Manual
AT Command Set
4-7
For example, users in North America would type the following:
PIN Code Management
Operation of the OnCell G2100 Series modem requires the installation of an active SIM (Subscriber
Identity Module) card. The SIM card contains the necessary data to identify the modem to the
network service provider. It is also used to store the GSM/GPRS modem PIN (Personal
Identification Number.) and PUK (Personal Unblocking Key), which are also used with mobile
phones. The PIN helps prevent unauthorized persons from using the mobile devices. Users must
enter the PIN each time the modem is powered up. The PUK is used to unlock a SIM card when an
incorrect PIN code has been entered three times.
Query the Current PIN Status
1.
Connect the RS-232 port of the OnCell G2100 Series modem to a host PC. Start PComm
Terminal Emulator with the current communication parameters (default: 115200 bps, 8 data
bits, None parity, 1 stop bit, and no flow control.)
2.
Type
AT+CPIN?
and press
Enter
.
If the OnCell G2100 Series modem responds with “+CPIN: SIM PIN” then the user must enter
the SIM’s PIN code.
AT+CPIN? responses
+CPIN: READY
Modem is not pending for any password
+CPIN: SIM PIN PIN1 is required
+CPIN: SIM PUK PUK1 is required
If the OnCell G2100 Series modem responds with “
+CPIN: READY”
then the SIM security
is disabled, or the PIN for the SIM was entered correctly.