페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Search in pages
AT Commands For SIM Application Toolkit

 

Command Description
AT+STIN SAT Indication
AT+STGI Get SAT information
AT+STGR SAT respond
AT+STK STK switch
AT+STKFMT Set STK pdu format
AT+STENV Original STK PDU Envelope Command
AT+STSM Get STK Setup Menu List with PDU Mode

 

 

 

 

AT+STIN     SAT Indication

 

 

T) AT+STIN=?

Response

OK

R) AT+STIN?

+STIN: <cmd_id>

 

OK

 

Unsolicited Result Codes

 

<cmd_id>

Proactive Command notification

21        Display text

22        Get inkey

23        Get input

24    Select item

+STIN: 25

Notification that SIM Application has returned to main menu. If user doesn’t do any action in 2 minutes, application will return to main

menu automatically.

 

♦Parameter
Description
<cmd_id>

21        Display text

22        Get inkey

23        Get input

24        Select item

25        Set up menu

81    Session end (pdu mode only)

0     None command

<time> Service time

 

♦Example

AT+STIN?

+STIN: 24

 

OK

 

NOTE

 Every time the SIM Application issues a Proactive Command, via the ME, the TA will receive an indication.

This indicates the type of Proactive Command

 

 

 

 

AT+STGI     Get SAT Information

 

 

T) AT+STGI=?

Response

OK

W) AT+STGI=<cmd_id>

Response (PDU format)

+STGI: <cmd_id>,<tag>,<pdu_len>,<pdu_value> OK

AT+STGI=<cmd_id>

Response (NOT PDU format, listed below)

If <cmd_id>=10:

OK

If <cmd_id>=21:
  +STGI: 21,<prio>,<clear_mode>,<text_len>,<text>
OK
If <cmd_id>=22:
+STGI: 22,< rsp_format>,< help>,<text_len>,<text>
OK
If <cmd_id>=23:
+STGI:
23,<rsp_format>,<max_len>,<min_len>,<help>,<show>,<text_len
>,<text>
OK
If <cmd_id>=24:
+STGI:
24,<help>,<softkey>,<present>,<title_len>,<title>,<item_num>
+STGI: 24,<item_id>,<item_len>,<item_data>
[…]
OK
If <cmd_id>=25:
+STGI: 25,<help>,<softkey>,<title_len>,<title>,<item_num>
+STGI: 25,<item_id>,<item_len>,<item_data>
[…]
OK

 

 

♦Parameter
Description
<cmd_id>

Proactive Command notification

21        Display text

22        Get inkey

23        Get input

24        Select item

25        Set up menu

<prio>

Priority of display text

0           Normal priority

1           High priority

<clear_mode>

0          Clear after a delay

1          Clear by user

<text_len> Length of text
<rsp_format> 0          SMS default alphabet
  1          YES or NO
  2          numerical only
  3          UCS2
<help> 0          Help unavailable
  1          Help available
<max_len> Maximum length of input
<min_len> Minimum length of input
<show>

0          Hide input text

1          Display input text

 

 

<softkey>

0           No softkey preferred

1           Softkey preferred

<present>

Menu presentation format available for select item

0           Presentation not specified

1           Data value presentation

2           Navigation presentation

<title_len> Length of title
<item_num> Number of items in the menu
<item_id> Identifier of item
<item_len> Length of item
<title> Title in ucs2 format
<item_data> Content of the item in ucs2 format
<text> Text in ucs2 format.
<tag> Not used now.
<pdu_len> Integer type, pdu string length
<pdu_val> String type, the pdu string.

 

♦Example

AT+STGI=25 (NOT PDU format)

+STGI: 25,0,0,10,”795E5DDE884C59295730″,15

+STGI: 25,1,8,”8F7B677E95EE5019″

+STGI: 25,2,8,”77ED4FE17FA453D1″

+STGI: 25,3,8,”4F1860E05FEB8BAF”

+STGI: 25,4,8,”4E1A52A17CBE9009″

+STGI: 25,5,8,”8D448D3963A88350″

+STGI: 25,6,8,”81EA52A9670D52A1″

+STGI: 25,7,8,”8F7B677E5F6994C3″

+STGI: 25,8,8,”8BED97F367425FD7″

+STGI: 25,9,10,”97F34E506392884C699C”

+STGI: 25,10,8,”65B095FB59296C14″

+STGI: 25,11,8,”94C358F056FE7247″

+STGI: 25,12,8,”804A59294EA453CB”

+STGI: 25,13,8,”5F005FC34F1195F2″

+STGI: 25,14,8,”751F6D3B5E388BC6″

+STGI: 25,21,12,”00530049004D53614FE1606F”

 

OK

 

AT+STGI=24 (PDU format)

+STGI:24,0,48,”D02E81030124008202818285098070 ED70B963A883508F0A018053057F574E078C 618F0C02809177917777ED6D88606F

OK

 

 

 

 

AT+STGR     SAT Respond

 

 

T) AT+STGR=?

Response

OK

W) AT+STGR=<cmd_id>[,<data>]

Response (NOT PDU format)

OK

AT+STGR=<pdu_len>,<pdu_value>

Response (PDU format)

OK

 

 

♦Parameter
Description
<cmd_id>

Proactive Command notification

21        Display text

22        Get inkey

23        Get input

24        Select item

25        Set up menu

81    Session end

83        Session end by user

84        Go backward

<data>

If <cmd_id>=22:

Input a character If <cmd_id>=23:

Input a string.

If <rsp_format> is YES or NO, input of a character in case of ANSI character set requests one byte, e.g. “Y”.

If <rsp_format> is numerical only, input the characters in decimal number, e.g. “123”

If <rsp_faomat> is UCS2, requests a 4 byte string, e.g. “0031”

<rsp_faomat> refer to the response by AT+STGI=23 If <cmd_id>=24:

Input the identifier of the item selected by user If <cmd_id>=25:

Input the identifier of the item selected by user

If <cmd_id>=83:

 

<data> ignore

Note: It could return main menu during Proactive Command id is not 22 or 23

If <cmd_id>= 84:

<data> ignore

<pdu_len> Integer type, pdu string length
<pdu_value> String type, the pdu string.

 

♦Example

AT+STGR=25,1     (NOT PDU format) OK

+STIN: 24

 

AT+STGR=30,”8103012400020282818301009

00101″   (PDU format) OK

 

NOTE

 After selected an item, different SIM/USIM cards will report different +STIN:command.

 

 

 

 

AT+STK     STK Switch

 

 

T) AT+STK=?

Response

+STK: (list of supported <value>s)

 

OK

R) AT+STK?

Response

+STK: <value>

 

OK

W) AT+STK=<value>

Response

OK

or

ERROR

E) AT+STK

Response

OK

 

♦Parameter
Description
<value>

0       Disable STK

1       Enable STK

 

♦Example

AT+STK=1

OK

 

NOTE

Module should reboot to take effective

 

 

 

 

AT+STKFMT     Set STK PDU Format

 

 

R) AT+STKFMT?

Response

+STKFMT: <value>

 

OK

W) AT+STKFMT=<value> Response
  OK
  or
  ERROR

 

 

♦Parameter
Description
<value>

0       Disable STK pdu format, decoded command mode.

1       Enable STK pdu format

 

♦Example

AT+STKFMT=1

OK

 

NOTE

Module should reboot to take effective

 

 

 

AT+STENV     Original STK PDU Envelope Command

 

 

T) AT+STENV=?

Response

OK

W) AT+STENV=<len>,<pdu>

Response

OK

or

ERROR

 

 

♦Parameter
Description
<len> Integer type, pdu string length
<pdu> String type, pdu value

 

♦Example

AT+STENV=18,”D30782020181900101″

OK

 

NOTE

Module should reboot to take effective

 

 

 

 

AT+STSM     Get STK Setuo Menu List With PDU Mod

 

 

T) AT+STSM=?

Response

OK

R) AT+STSM?

Response

+STSM: <cmd_id>,<tag>,<pdu_len>, <pdu_value> OK

or

ERROR

 

 

♦Parameter
Description
<cmd_id> Integer type, please refer to AT+STIN
<tag> Not used now.
<pdu_len> Integer type, pdu string length
<pdu_value> String type, the pdu string.

 

♦Example

AT+STSM?

+STSM: 25,0,120,”D0768103012500820281828507806

5B052BF529B8F0A018070ED70B963A883508 F06028070AB94C38F0A03806D41884C77ED4 FE18F0A048081EA52A9670D52A18F0A05806 24B673A97F34E508F0606808D854FE18F0A0

7805A314E50753162118F0A0880767E53D875

1F6D3B8F0A09806D596C5F98919053″

 

OK

 

NOTE

Setup main menu info got first before envelope command sent

 

Adsense

EMW3070

Viewed Page List