Set command

The set command transmits a command to the Subscriber Identity Module (SIM).

Syntax:

 +CSIM=<length>,<command>

Response syntax:


+CSIM: <length>,<response>

The set command parameters and their defined values are the following:

<length>
Integer. The length of hexadecimal characters.
<command>
The command passed to the SIM in hexadecimal format. Two characters per byte.
<response>
The response from the SIM in hexadecimal format. Two characters per byte.

The following command example runs a GSM algorithm:

AT+CSIM=14,"A0A40000027F20" 
+CSIM: 48,"000010247F20020000000000091100160800838A838A9000" 
OK