BGS2T AT Command Set
14. SIM related Commands
BGS2T_ATC_V01.301 Page 406 of 554 1/31/12
c
14. SIM related Commands
AT commands described in this chapter are related to the Subscriber Identity Module (SIM) connected to the
BGS2T.
Note:
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 because the network can change the SIM's data in the background via SIM Application Toolkit (SAT) pro-
cedure "Data download to SIM". For a detailed description please refer to 3GPP TS 11.14 [15].
To get informed that changing Elementary Files has taken place the Customer Application (TE) needs to hook
up SAT Proactive Command "REFRESH". For more information please refer to Chapter 15., SIM Application
Toolkit (SAT) Commands and Section 15.7, SAT Get Information - Refresh (1) in particular.
14.1 AT+CRSM Restricted SIM Access
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 3GPP TS 11.11 [14]. BGS2T handles internally all required
SIM interface locking and file selection routines.
As response to the command, the BGS2T 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> param-
eters.
Please beware of possible changes to Elementary Files by the network at any time, refer Chapter 14., SIM
related Commands.
Syntax
Parameter Description
SIM command number.
176 READ BINARY
178 READ RECORD
Test Command
AT+CRSM=?
Response(s)
OK
Write Command
AT+CRSM=<command>[, <fileID>[, <P1>, <P2>, <P3>[, <data>][, <pathId>]]]
Response(s)
+CRSM: <sw1>,<sw2>[,<response>]
OK
ERROR
+CME ERROR: <err>
PIN ASC0 MUX1 MUX2 MUX3 Last Reference(s)
- + + + + - - 3GPP TS 27.007 [35],
3GPP TS 11.11 [14]
<command>
(num)