Section 5 - Sim Card Specific Information - CalAmp 819-GPRS series User Manual

Gsm gprs serial cellular data modem
Table of Contents

Advertisement

S
S
E
E
C
C
T
T
I
I
O
O
N
N
5
5
S
S
I
I
M
M
The AT+CPIN command controls network authentication of the TC65.
The read command (AT+CPIN?) returns an alphanumeric string indicating whether or not network
authentication is required.
The write command allows the modem to store the entered password. This may be for example the
SIM PIN1 to register to the GSM network, or the SIM PUK1 to replace a disabled SIM PIN1 with a
new one, or the PH-SIM PIN if the client has taken precautions for preventing damage in the event
of loss or theft etc. If no PIN1 request is pending (for example if PIN1 authentication has been done
and the same PIN1 is entered again) the modem responds "+CME ERROR: operation not allowed";
no further action is required.
Each time a password is entered with AT+CPIN the module starts reading data from the SIM. The
duration of reading varies with the SIM card. This may cause a delay of several seconds before all
commands which need access to SIM data are effective.
Users should be aware that when using a phonebook, SMS or Remote SAT command quickly after
SIM PIN authentication the SIM data may not yet be accessible, resulting in a short delay before the
requested AT command response is returned. This delay is due to the initial process of loading SIM
data once after SIM PIN authentication. The duration of loading SIM data is dependent on the SIM
card used and may take a couple of seconds.
Successful PIN authentication only confirms that the entered PIN was recognized and correct. The
output of the result code OK does not necessarily imply that the mobile is registered to the desired
network. Typical example: PIN was entered and accepted with OK, but the ME fails to register to the
network. This may be due to missing network coverage, denied network access with currently used
SIM card, no valid roaming agreement between home network and currently available operators etc.
The modem offers various options to verify the present status of network registration: For example,
the AT+COPS? command indicates the currently used network. With AT+CREG you can also check
the current status and activate an unsolicited result code which appears whenever the status of the
network registration changes (e.g. when the ME is powered up, or when the network cell changes).
The <pin> and <new pin> can also be entered in quotation marks (e.g. "1234").
To check the number of remaining attempts to enter the passwords use the AT^SPIC command.
See AT+CPWD and AT^SPWD for information on passwords, Section 9, Table 9.6.
See AT+CLCK and AT^SLCK for information on lock types, Section 9, Table 9.6.
To query and change the status of the SIM's PIN enter the following AT commands:
AT+CMEE=2
AT+CLCK="SC",2
AT+CPIN=xxxx
AT+CLCK="SC",0,xxxx Will set the PIN to "lock inactive", where xxxx is the current active PIN
C
C
A
A
R
R
D
D
S
S
P
P
E
E
C
C
I
I
F
F
I
I
C
C
I
I
N
N
Will enable error messages to be displayed as text.
Will display the status of the PIN, 0=lock is inactive, 1=lock is active
Will verify that PIN xxxx is valid.
F
F
O
O
R
R
M
M
A
A
T
T
I
I
O
O
N
N
001-0003-829 Revision 1
Page 32 of 65

Advertisement

Table of Contents
loading

Table of Contents