
SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
11 SIM management
Page 112 of 307
11 SIM management
11.1 Generic SIM CSIM
+CSIM
SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
full
Yes
No
No
-
11.1.1 Description
Allows direct control of the SIM by a distant application on the TE. This command transparently transmits the
<command> to the SIM via the MT. The <response> is returned in the same manner to the TE.
The command needs the SIM module to work correctly.
It is recommended to wait some seconds after boot (or reset) before using the command.
11.1.2 Syntax
Type
Syntax
Response
Example
Set
AT+CSIM=<length>,<command>
+CSIM: <length>,<response>
OK
AT+CSIM=14,"A0A40000027F20"
+CSIM: 4,"6E00"
OK
Test
AT+CSIM=?
OK
OK
11.1.3 Defined values
Parameter
Type
Description
<length>
Number
Length of the characters sent to the TE in <command> or <response> parameters
<command>
String
Command passed on by MT to SIM in hex format; see the 3GPP TS 51.011 [
] and
<response>
String
Response to the command passed on by the SIM to the MT (3GPP TS 51.011 [
] and
11.2 Read the SIM laCLAN
+CLAN
SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
full
No
No
No
-
11.2.1 Description
Reads the language from the SIM.
The read syntax will display the most preferred language from the preferred language list in EF
ELP
(2F05)
file. If the EF
ELP
file does not exist, the preferred language is read from EF
LP
(6F05) file. This file content
is decoded according to the CB (cell broadcast) data coding scheme (dcs), and the according language is
displayed in the response string. If this byte does not result in a valid language according to the CB dcs,
then it is printed in the response string in hexadecimal representation.
11.2.2 Syntax
Type
Syntax
Response
Example
Read
AT+CLAN?
+CLAN: <code>
+CLAN: "en"