Error codes, Sim toolkit indication (+stin) – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 115

Advertising
background image

Chapter 15 – SIM TOOLKIT

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

115

Error Codes

+CME ERROR: 3 Operation not allowed . This error is returned when a wrong parameter is entered.

Example:

AT+CMEE=1

Enable the reporting of mobile equipment errors

OK
AT+WIND=15

Set

indications

OK
AT+CPAS

Query

ME

Status

+CPAS:

0

ME

is

ready.

OK
AT+STSF=?

Test

command

SIM

ToolKit

Set

Facilities

+STSF: (0-2), (160060C01F . 5FFFFFFF7F),(1-255)
OK
AT+STSF?
+STSF:

0,”160060C000”,3

No

activation of SIM ToolKit functionality

OK
AT+STSF=2,”5FFFFFFF7F”

Set all SIM ToolKit facilities (class 3).

OK
AT+STSF=3

Syntax Error

+CME ERROR: 3
AT+STSF=1

Activation

of

SIM

ToolKit

functionality

OK
AT+CFUN=1

Reboot

Software.

OK
AT+CPIN?

Is

the

ME

requiring

a

password?

+CPIN:

SIM

PIN

Yes,

SIM

PIN

required

AT+CPIN=0000
OK PIN Ok
+WIND:

4

Init

phase

is

complete

AT+STSF?
+STSF:

1,”5FFFFFFF7F”,3

SIM

ToolKit functionality activated with all facilities

OK

SIM ToolKit Indication (+STIN)

Unsolicited Result:
In order to allow the customer application to identify the pro-active command sent via SIM ToolKit, a
mechanism of unsolicited SIM ToolKit indications (+STIN) is implemented.

Syntax:

+STIN: <CmdType>
Option: <CmdType>

0:

Indicates that a .Setup Menu. Pro-active command has been sent from the SIM.

1:

Indicates that a .Display Text. Pro-active command has been sent from the SIM.

2:

Indicates that a .Get Inkey. Pro-active command has been sent from the SIM.

3:

Indicates that a .Get Input. Pro-active command has been sent from the SIM.

4:

Indicates that a .Setup Call. Pro-active command has been sent from the SIM.

5:

Indicates that a .Play Tone. Pro-active command has been sent from the SIM. (*)

6:

Indicates that a .Sel Item. Pro-active command has been sent from the SIM.

7:

Indicates that a .Refresh. pro-active command has been sent from the SIM. (*)

9:

Indicates that a .Send SMS. Pro-active command has been sent from the SIM. (*)

11 :

Indicates that a SETUP EVENT LIST. Pro-active command has been sent from the
SIM.

98 :

Indicates the timeout when no response from user.

99: Indicates that a .End Session. Has been sent from the SIM.

(*) if the automatic response parameter is activated, this indication is followed by the
corresponding +STGI response.

Advertising