CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem)
C.3 PIN Configuration
AT+CPIN
Enter PIN
Test command
AT+CPIN=?
Response
OK
Read command
AT+CPIN?
Response
TA returns an alphanumeric string indicating whether some password is
required or not.
+CPIN: <code> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<code>
READY no further entry needed
SIM PIN ME is waiting for SIM PIN
SIM PUK ME is waiting for SIM PUK
PH_SIM PIN ME is waiting for phone to SIM card
(antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2 PIN2, e.g. for editing the FDN book, possible
only if preceding command was
acknowledged with
+CME ERROR:17
SIM PUK2 possible only if preceding command was
acknowledged with error
+CME ERROR:18
Set command
AT+CPIN=<pin>
[, <newpin>]
Response
TA stores a password which is necessary before it can be operated (SIM
PIN, SIM PUK, PH-SIM PIN, etc.). If the PIN is entered twice, the TA will
automatically repeat the PIN. If no PIN request is pending, no action is
taken and an error message,
+CME ERROR
is returned to TE.
If the PIN required is SIM PUK or SIM PUK2, the second PIN is required.
This second PIN,
<newpin>
, is used to replace the old PIN in the SIM.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<pin>
password (string type) does not need any
quotes. e.g. AT+CPIN=9515
<new pin>
if the PIN required is SIM PUK or SIM PUK2:
new password
C.4 Changing the operating frequency between
EU/Rest of world and US wavebands
In Europe and much of the rest of the world GSM communications happens either
in the 900 or 1800 MHz band (check with your local service provider). In the US
and some other countries the 850/1900 MHz bands are used. To switch to
alternative bands the modem must be connected to a PC and a command issued to
change the setup.
C-4