The set command subscribes Universal Integrated Circuit Card (UICC) state
notifications.
Syntax:
%XSIM=<n>
Notification syntax:
%XSIM: <state>[,<cause>]
The set command parameters and their defined values are the following:
- <n>
- 0 – Unsubscribe UICC notifications
- 1 – Subscribe UICC notifications
- <state>
- 0 – UICC not initialized
- 1 – UICC initialization OK
- <cause>v1.3.x
- <cause> is included if it has a non-zero value.
- 0 – No specific cause (<cause> omitted)
- 1 – Personal Identification Number (PIN) required
- 2 – PIN2 required
- 3 – Personal Unblocking Key (PUK) required (PIN blocked)
- 4 – PUK2 required (PIN2 blocked)
- 5 – PUK blocked
- 6 – PUK2 blocked
- 7 – Device personalization blocked
- 8 – International Mobile (Station) Equipment Identity (IMEI) lock blocked
- 9 – Universal Subscriber Identity Module (USIM) card failure
- 10 – USIM card changed
- 11 – USIM profile changed
The following command example subscribes UICC state notifications:
AT%XSIM=1
OK
The following notification example indicates that UICC is not initialized:
%XSIM: 0
The following notification example indicates that UICC initialization is completed:
%XSIM: 1