HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 184 of
229
+XSIMSTATE - Display SIM and Phonelock Status
AT+XSIMSTATE=1
+XSIM: <SIM state><CR><LF>
+XLOCK: […]<CR><LF>
OK
or
CME ERROR: <error>
where:
<mode>
parameter sets the result code presentation in the TA:
0 disable
1 enable
<SIM state>
parameter shows the current SIM state and may be:
0 SIM not present
1 PIN verification needed
2 PIN verification not needed . Ready
3 PIN verified . Ready
4 PUK verification needed
5 SIM permanently blocked
6 SIM Error
7 ready for attach (+COPS)
8 SIM Technical Problem
9 SIM Removed
Note 1 :
The state 8 reflects a potentially temporary technical problem in access the SIM
( return code 6F xx in SIM low level access ) , action could either be to retry
current operation or in case of SIM startup this may be a stable condition, then
restarting the phone either automatically or manual should be considered. Because
of the temporary meaning of this state, it does not get reflected by a following
at+xsimstate? Command. Instead the previous state will get reported.
<fac>
facility values (see AT+CLCK):
“PS” PH-SIM (lock Phone to SIM card)
“PN” Network Personalisation (refer GSM 02.22 [33])
“PU” network sUbset Personalisation (refer GSM 02.22 [33])
“PP” service Provider Personalisation (refer GSM 02.22 [33])
“PC” Corporate Personalisation (refer GSM 02.22 [33])
<Lock state>
parameter shows the state of the lock for <fac>
0 the lock is ARMED
1 the lock is ACTIVE
2 the lock is PERMANENT_ACTIVE