2009-02-11 36 views
8

我想以編程方式訪問STK(SIM應用程序工具包)應用程序,而無需使用手機。 GSM調制解調器和/或手機通過USB和/或RS232連接連接到我的電腦。我期望自動與STK應用程序進行交互。爲此,我完全不知道如何完成這個操作。任何援助將不勝感激。STK編程入門?

謝謝。

+0

沒有人有任何信息可以幫助嗎? – Izmoto 2009-02-18 07:56:52

回答

4

這可以通過使用AT像AT + STGI & AT + STGR命令來實現。 AT + STGI用於打開SIM菜單& AT + STGR選擇菜單。這也可以使用串行端口接口到GSM調制解調器來進行。

欲瞭解更多信息請點擊以下鏈接: http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCIQFjAA&url=http%3A%2F%2Fwww.telit.com%2Fmodule%2Finfopool%2Fdownload.php%3Fid%3D2086&ei=Ko2OUKa3KYyErQe7xIHICA&usg=AFQjCNFiEu0rPGDlv4AbRCBjEeO8_zbO5Q&sig2=v44cGvc0JiqnouQRXcpBmg

+1

我覺得這個鏈接壞了 – Tuna 2016-10-20 09:38:10

3

請注意,不同的廠商有不同的AT命令來訪問STK功能。 而且,並非所有設備都支持STK應用程序的運行。 到目前爲止,我設法讓中興MF100工作: 開盤後,下面的命令來方便:

AT+ZSTM    // select STK app (initialize, lists the available options in return) 
AT+ZSELM=1    // select the first main menuentry (you will get the submenu options as return) 
AT+ZSELI=1    // select the first submenu entry (you will get some response as well) 
AT+ZINPR=2,1234567890 // this is a response, in my case i had to send a phone number. the first parameter means "numeric only", setting this to 0 will allow any characters (from the standard SMS charset) 
AT+ZINPR=1,1   // this is a confirmation response (first parameter=1 means yes/no answer, second is the parameter, yes in this case) 
AT+ZBK=0    // return to the main menu 

您應該打開的/ dev/ttyUSBx無阻塞和輪詢數據輸入,如調制解調器不僅應答您的請求,還會向您的客戶端發送狀態更新。

+0

愛你! :D你在3年後留下答案!做得好。 – Abraham 2015-04-08 10:25:50

0

對於Quectel關注本手冊link