Multi-Tech Systems CDMA Wireless Modem User Manual

Page 123

Advertising
background image

Chapter 15 – SIM TOOLKIT

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

123

Example
Initially, all facilities are activated, the PIN is not required and the SIM toolkit functionality is activated.

+STIN: 0

The main menu has been sent from the SIM.

AT+STGI=0

Get information about the main menu

+STGI: 1,3,”BANK”,0

The main menu contains 3 items.

+STGI: 2,3,”QUIZ”,0
+STGI: 3,3,”WEATHER”,0
OK
AT+STGR=0,1,1

The item 2 of the main menu has been selected.

OK
+STIN: 6

The Sel item menu has been sent from the SIM.

AT+STGI=6

Get information about the BANK menu

+STGI: 1,”BANK”.

The BANK menu contains two items.

+STGI: 1,2,”PERSONAL ACCOUNT ENQUIRY”,1
+STGI: 2,2,”NEWS”,0
OK
AT+STGR=6,1,1

Select Item 1.

OK
+STIN: 3

User request to enter Password sent.

AT+STGI=3

Get information about this request.

+STGI: 0,0,4,4,0”

Enter Account Password:”

OK
AT+STGR=3,1<CR>

The user enters the Password.

>0000<Ctrl Z>
OK
+STIN:1

A text info has been sent from the SIM.

AT+STGI=1

Get information about this text.

+STGI: 0,”

Password correct, please wait for response”,0

OK
+STIN: 9

SIM requests a bank account update from bank server via the network (SEND SMS)

AT+STGI=9

Get all information about the SEND SMS

+STGI:

“ Send

account

balance of user, authorization ok”

OK

********* After a short period of time. ********

+STIN:

5

Transaction

is

complete:

BEEP

+STGI=5

Get

information

about

the

Tone

+STGI: 9,1,1
+STIN:

1

Display

text

indication

AT+STGI=1
+STGI: 0,”

Your account balance is 1000 $”,0

OK

Syntax:

Command syntax: +STGR=<CmdType>[,<Result>,<Data>]

Command

Possible Responses

+STGR=<CmdType>[,<Result>,<Data>]

OK
+CME ERROR: <err>

For Get Input with <Result>=1:
+STGR=3,1<CR>
<Data><Ctrl Z>

OK
+CME ERROR: <err>

For GetInkey with <Result>=1
+STGR=2,1<CR>
<Data><Ctrl Z>

OK
+CME ERROR: <err>

+STGR=?
Note: Display valid parameter range.

OK

Advertising