About EHS6 STK AT command | Telit Cinterion IoT Developer Community
April 14, 2017 - 8:22am, 3458 views
Hi,
I found that those command ( AT+STKPRO and AT+STKCC and AT+STKCNF) are belong unsolicited result codes.
1.Besides unsolicited result codes , how do i get status currently by myself initiated? (how do i get bold character again ?)
2.The Response "+STKCNF: 0,0,255,0" In SPEC ,the <ProactCmd> do not have define "0" status . The status "0" is mean ?
below is our test log ,
ATE0
OK
ATI1
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.31
OK
AT+CFUN?
+CFUN: 1,0
OK
AT+CPIN?
+CPIN: SIM PIN
OK
AT^SSTA?
^SSTA: 2,1,1,"FFFFFFFF7F9D00DFBF00001FE2000000034B000000000000000000000008",300,2
OK
AT+CPIN="0000"
OK
+PBREADY
+STKPRO: 37,0,"53F07063592754E55927670D52D9",1,4,"57FA672C901A8A71670D52D9",0,0,0
台 灣 大 哥 大 服 務 基 本 通 話 服 務
+STKPRO: 37,0,"53F07063592754E55927670D52D9",2,4,"884C52D552A0503C",0,0,0
台 灣 大 哥 大 服 務 行 動 加 值
+STKPRO: 37,0,"53F07063592754E55927670D52D9",3,4,"570B969B6F2B904A670D52D9",0,0,0
台 灣 大 哥 大 服 務 國 際 漫 遊 服 務
+STKPRO: 37,0,"53F07063592754E55927670D52D9",4,4,"5BA26236670D52D9",0,0,0
台 灣 大 哥 大 服 務 客 戶 服 務
AT+STKTR=37,0
OK
+STKCNF: 37,0,255,145
+STKCNF: 3,0,255,144
AT+STKTR=37
OK
+STKCNF: 0,0,255,0
Hello,
These URC's are thrown because you have activated the Explicit Response Mode with the AT^SSTA command. In that mode your application is supposed to handle all commands transmitted from the SIM or USIM and sending responses with AT+STKTR. You can't use AT+STKPRO, AT+STKCC and AT+STKCNF commands to request the URC's again.
You're right that there's no 0 for <ProactCmd>. But it may be the result of the command 'AT+STKTR=37' that you have sent. There should be <Result> parameter added. And the result URC is '+STKCNF: 0,0,255,0' where the last parameter '0' means that the command to USIM was suppressed.
Best regards,
Bartłomiej
Hi , Thanks yours feedback.
Could i ask another question, how does come back to Main Menu , besides the command timeout..
Tx:AT+STKENV=211,1
Rx:
+STKCNF: 129, 0, 255, 144
OK
Rsp:
+STKPRO: 36,0,"57FA672C901A8A71670D52D9",1,2,"8AB04F8696FB",0,0,0,0
+STKPRO: 36,0,"57FA672C901A8A71670D52D9",2,2,"4F8696FB904E6FFE",0,0,0,0
Tx:AT+STKTR=36,0,0,0,0,"02"
Rx:
OK
Rsp:
+STKCNF: 36,0,255,145
+STKPRO: 36,0,"4F8696FB904E6FFE",1,2,"670D52D9757052D5",0,0,0,0
+STKPRO: 36,0,"4F8696FB904E6FFE",2,2,"670D52D98AAA660E",0,0,0,0
Tx:AT+STKTR=36,0,0,0,0,"02"
Rx:AT+STKTR=36,0,0,0,0,"02"
OK
Rsp:
+STKCNF: 36,0,255,145
+STKPRO: 33,129,8,"300C4F8696FB904E6FFE300D53EF4EE570BA60A8904E6FFE4E0D986F793A865F78BC76844F8696FBFF0C4EE553CA60A84E0D6B3263A5807D76849ED1540D55AE96FB8A71865F78BCFF0C8B936E9D901A66F45B8951686709654873873002",0
Tx:AT+STKTR=33,0
OK
Rsp:
+STKCNF: 33,0,255,145
+STKPRO: 36,0,"4F8696FB904E6FFE",1,2,"670D52D9757052D5",0,0,0,0
+STKPRO: 36,0,"4F8696FB904E6FFE",2,2,"670D52D98AAA660E",0,0,0,0
Hello,
I'm not much experienced with USIM toolkit so I've tested it also with my module and SIM. The main menu was only displayed once and I was not able to get it again. But it was possible to display sub-menus with AT+STKENV=211,2, AT+STKENV=211,3 etc. many *****. You just need to reply to all proactive commands that appear as +STKPRO URC's before. Then you can open the sub-menu passing <ItemId> from the main menu.
Regards,
Bartłomiej