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

 

 

 

No Command Description
L0701 AT+STIN SAT Indication
L0702 AT+STGI Get SAT information
L0703 AT+STGR SAT respond
L0704 AT+STK STK switch
L0705 AT+STKFMT Set STK pdu format
L0706 AT+STENV Original STK PDU Envelope Command
L0707 AT+STSM Get STK Setup Menu List with PDU Mode

 

 

 

 

L0701   AT+STIN     SAT Indication 

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 issued.

AT+STGI must then be used by the TA to request the parameters of the Proactive Command from the ME.

Upon receiving the +STGI response from the ME,

the TA must send AT+STGR to confirm the execution of the Proactive Command and provide any required user response, e.g. a selected menu item.

T) AT+STIN=? OK
R) AT+STIN?

+STIN: <cmd_id>

OK

  

Unsolicited Result Code:

<cmd_id>

Proactive Command notification

21     Display text

22     Get inkey

23     Get input

24     Select item

Unsolicited Result Code:

+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.

<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

 

 

L0702   AT+STGI     Get SAT Information

Regularly this command is used upon receipt of an URC “+STIN” to request the parameters of the Proactive Command.

Then the TA is expected to acknowledge the AT+STGI response with AT+STGR to confirm that the Proactive Command has been executed.

AT+STGR will also provide any user information, e.g. a selected menu item.

The Proactive Command type value specifies to which “+STIN” the command is related.

T) AT+STGI=? OK
W) AT+STGI=<cmd_id>

(PDU format)

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

OK

AT+STGI=<cmd_id>

(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

 

<cmd_id>

Proactive Command notification

10    Setup call

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

 

  

 

L0703   AT+STGR     SAT Respond

The TA is expected to acknowledge the AT+STGI response with AT+STGR to confirm that the Proactive Command has been executed.

AT+STGR will also provide any user information, e.g. a selected menu item.

Note: Please check the format refered to AT+STKFMT

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

(NOT PDU format)

OK

W) AT+STGR=<pdu_len>,<pdu_value>

(PDU format)

OK

  

<cmd_id>

Proactive Command notification

10     Setup Call

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,”810301240002028281830100900101″   (PDU format)

OK

 

NOTE

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

 

 

 

 

AT+STK     STK Switch

  This command is used to disable or enable the STK function. If the argument is 1, it is enabled. While the argument is 0, it is disabled.

T) AT+STK=?

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

OK

R) AT+STK?

+STK: <value>

OK

W) AT+STK=<value>

OK

or

ERROR

E) AT+STK OK

 

<value>

0     Disable STK

1     Enable STK

 

Example

AT+STK=1

OK

 

NOTE

Module should reboot to take effective

 

 

 

L0705   AT+STKFMT     Set STK PDU Format

 This command is used to disable or enable the STK pdu mode. If the argument is 1, it is enabled. While if the argument is 0, it is disabled.

Note: Module should reboot to take effective.

 

R) AT+STKFMT?

+STKFMT: <value>

OK

W) AT+STKFMT=<value>

OK

or

ERROR

 

 

<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

 

 

 

L0706   AT+STENV     Original STK PDU Envelope Command

This command is used to original stk pdu envelope command.

Note: PDU format supported only.

T) AT+STENV=? OK
W) AT+STENV=<len>,<pdu>

OK

or

ERROR

 

 

<len> Integer type, pdu string length
<pdu> String type, pdu value

 

 

Example

AT+STENV=18,”D30782020181900101″

OK

 

NOTE

Module should reboot to take effective

 

 

 

 

L0707   AT+STSM     Get STK Setuo Menu List With PDU Mod

  

T) AT+STSM=? OK
R) AT+STSM?

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

OK

or

ERROR

 

 

<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

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List