1.我创建了srk对象并注册了notify,
2. 接着我收到了setupmenu主菜单,并回复了此命令,卡上来一个AEESTK_END_PROACTIVE_CMD_SES(表示结束这次对话)。
3,接着我再次受到displaytext命令,我回复了此命令。卡再次上来一个AEESTK_END_PROACTIVE_CMD_SES(表示结束这次对话)。到此为止我觉得流程是对的。
4.当我点了菜单中的一项时我用ISTK_SendEnvelopeMenuSelCommand发送命令,我期望(也应该)sim卡上来一另外一个菜单命令,但卡还是上来displaytext命令。我要是回复此命令,他就又来displaytext命令,始终不上来我期待的东西?
是在没辙了?请教各位大侠不吝赐教。
------解决方案--------------------------------------------------------
要具体流程才能答复,比如这样的流程。
//reset
3B 7B 11 22 33 00 01 02 03 04 05 06 07 08 09 0A
//More details : 00403549:00000040:00000010
//reset
3B 7B 11 22 33 00 01 02 03 04 05 06 07 08 09 0A
//More details : 00403549:00000050:00000010
//Select (defined by GSM 11.11)
A0 A4 00 00 02 3F 00
9F 17
//A0 A4 00 00 02 is command head No detailed analysis
//9F 17
//Get Response (defined by GSM 11.11)
A0 C0 00 00 17
00 00 8C DC 3F 00 01 00 00 00 00 00 0A 91 03 07 06 00 83 8A 83 8A 00
90 00
//A0 C0 00 00 17 is command head No detailed analysis
//90 00
//Terminal Profile (defined by GSM 11.11)
A0 10 00 00 08 FF FF FF FF FF FF FF FF
91 D3
//A0 10 00 00 08 is command head No detailed analysis
//91 D3
//Fetch (defined by GSM 11.11)
A0 12 00 00 D3
D0 81 D0 81 03 01 25 00 82 02 81 82 85 03 53 54 4B 8F 0C 01 80 00 44 00 54 00 65 00 78 00 74 8F 0E 02 80 00 47 00 49 00 6E 00 6B 00 65 00 79 8F 0E 03 80 00 47 00 49 00 6E 00 70 00 75 00 74 8F 0C 04 80 00 50 00 54 00 6F 00 6E 00 65 8F 0E 05 80 00 72 00 65 00 66 00 72 00 65 00 73 8F 0C 06 80 00 53 00 4D 00 65 00 6E 00 75 8F 0E 07 80 00 53 00 65 00 49 00 74 00 65 00 6D 8F 0C 08 80 00 53 00 65 00 6E 00 64 00 53 8F 0C 09 80 00 53 00 43 00 61 00 6C 00 6C 8F 0C 0A 80 00 50 00 4C 00 49 00 6E 00 66 8F 0E 0B 80 00 4A 00 4D 00 50 00 42 00 41 00 43 8F 0C 0C 80 00 6F 00 74 00 68 00 65 00 72 8F 0E 0D 80 00 4D 00 6F 00 72 00 74 00 69 00 6D