Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set General Commands
3-10
“9408”.
By using the AT+CSIM command, the “READ RECORD” and “SEEK” actions return 4,”9408”
instead of CME ERROR:13.
Restricted SIM Access: +CRSM
Description: By using this command instead of Generic SIM Access the +CSIM TE application
gives easier but more limited access to the SIM database. This command transmits to the MT the
SIM <command> and its required parameters. As a response to the command, MT sends the actual
SIM information parameters and response data. MT error result code +CME ERROR may be
returned when the command cannot be passed to the SIM, but failure in the execution of the
command in the SIM is reported in <sw1> and <sw2> parameters. As for the CSIM command,
there is no locking between two successive commands. The user should be aware of the
precedence of the GSM application commands to the TE commands.
Command syntax: AT+CRSM=<command>[,<field>[,<P1>,<P2>,<P3>[,<data>]]]
Command Possible responses
+CRSM=<command>[,<field>[,<P1>,<
P2>,<P3>[,<data>]]]
+CRSM: <sw1>,<sw2>[,<response>]
+CME ERROR: <err>
AT+CRSM? OK
AT+CRSM=? OK
Defined values:
<command>: integer type
Command passed on by the MT to the SIM; refer to GSM 11.11 (or 3GPP51.011):
176 READ BINARY
178 READ RECO
192 GET RESPONSE
242 STATUS
all other values are reserved and the command will return +CME ERROR=3
NOTE 1: The MT internally executes all commands necessary for selecting the desired file, before
performing the actual command.
<field>: integer type
This is the identifier of an elementary data file on the SIM. It is mandatory for every command
except STATUS.
<field>: integer type
NOTE 2: The range of valid file identifiers depends on the actual SIM and is defined in GSM
11.11 (or 3GPP TS 51.011). Optional files may not be present at all. This value must be in the
range [0 – 65535] else a CME_ERROR=3 is returned.
<P1>, <P2>, <P3>: integer type
Parameters passed on by the MT to the SIM. These parameters are mandatory for every command,
except GET RESPONSE and STATUS. The values are described in GSM 11.11 (or 3GPP TS
51.011).
<data>: hex type
Information that will be written to the SIM (hexadecimal character format; refer +CSCS).
<sw1>, <sw2>: integer type
Information from the SIM about the execution of the actual command. These parameters are
delivered to the TE in both cases, on successful or failed execution of the command.
<response>: hexadecimal type
Response of a successful completion of the command previously issued (hexadecimal character
format; refer to +CSCS). STATUS and GET RESPONSE return data, which gives information
about the current elementary data field. This information includes the type of file and its size (refer