Specifications
Chapter 13 – SIM-Related Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 237
Chapter 13 – SIM-Related Commands
The AT commands described in this chapter are related to the Subscriber Identity Module (SIM) connected to the
Multi-Tech wireless device.
If using data from the SIM please bear in mind that the content of all Elementary Files is subject to change at any
moment!
This is true because the network can change the SIM’s data in the background via the SIM Application Toolkit (SAT)
procedure “Data download to SIM”. For a detailed description please refer to GSM 11.14.
13.1 AT+CRSM Restricted SIM Access
Description: AT+CRSM offers easy access of the Elementary Files on the SIM. Access to the SIM database is
restricted to the commands which are listed at <command>. However, additional SIM commands
are available via AT^SXSM.
All parameters of AT+CRSM are used as specified by GSM 11.11. The Multi-Tech wireless modem
handles internally all required SIM interface locking and file selection routines.
As response to the command, the Multi-Tech wireless modem sends the actual SIM information
parameters and response data. Error result code “+CME ERROR” may be returned if the command
cannot be passed to the SIM; e.g., if the SIM is not inserted. However, failure in the execution of
the command in the SIM is reported in <sw1> and <sw2> parameters.
AT+CRSM requires PIN authentication. However, using <command> “READ BINARY” and
<command> “READ RECORD” is possible before PIN authentication and if the SIM is blocked
(state after three failed PIN authentication attempts) to access the contents of the following
Elementary Files:
EF Symbol EF Name EF ID (hex.) EF ID (dec.)
EFICCID ICC identification 2FE2 12258
EFELP Extended language preference 2F05 12037
EFLP Language preference 6F05 28421
EFSPN Service provider name 6F46 28486
EFAD Administrative data 6FAD 28589
EFPhase Phase identification 6FAE 28590
EFECC Emergency call codes 6FB7 28599
Please beware of possible changes to Elementary Files by the network at any time, refer
to Chapter 13, SIM-Related Commands.
Syntax: Test Command: AT+CRSM=?
Response: OK
Write Command: AT+CRSM=<command>[, <fileID>[, <P1>, <P2>, <P3>[, <data>]]]
Response: +CRSM: <sw1>,<sw2>[,<response>]
OK
ERROR
+CME ERROR: <err>
Parameters:
<command> SIM command number.
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS
<fileID>
Identifier for an elementary data file on SIM, if used by <command>.
<P1>, <P2>, <P3>
Parameters to be passed on by the Multi-Tech wireless modem to the SIM.
0...255