PDA

View Full Version : execute sim commands via the phone interface ?


NNN
01-31-2002, 23:46
i have a question . i just wonder can i execute sim side etsi 11.11 commands (read binary , update binary etc...) using phones sim card interface and not a special sim card programmer ?

there seems to be an AT command for this but it doesnt works for me on nokia 6210 and dlr3 cable . maybe first i need to do some command ?

at+CSIM=<length>,<command>

Description<br />Set command transmits to the ME the &lt;command&gt; it then shall send as it is to the SIM. In the same manner the SIM &lt;response&gt; shall be sent back by the ME to the TA as it is. Refer subclause 9.2 for &lt;err&gt; values.<br />This command allows a direct control of the SIM by an distant application on the TE. The TE shall then take care of processing SIM information within the frame specified by GSM.

<br />Defined values<br />&lt;length&gt; : integer type; length of the characters that are sent to TE in &lt;command&gt; or &lt;response&gt; (two times the actual length of the command or response)<br />&lt;command&gt; : command passed on by the ME to the SIM in the format as described in GSM 11.11 [28] (hexadecimal character format; refer +CSCS)<br />&lt;response&gt; : response to the command passed on by the SIM to the ME in the format as described in GSM 11.11 [28] (hexadecimal character format; refer +CSCS)<br />Implementation<br />Optional.

<br />can anyone help me on this subject ?

regards NNN , and thanks for further help .

Alf
02-05-2002, 00:42
Hmmm... that would be nice to see...

Actually commands to SIM are more like a conversation... with bytes going both ways before the command is actually finished...

You should have AT to send and receive the individual bytes...

Suppose in the meanwhile the phone needs to access the SIM (to write a received SMS)... How would the ongoing command be handled by both the SIM or the phone?

I've taken a deep look into the commands when I patched gsm_sim and some of them can be very tricky (like read/write binary)...

NNN
02-05-2002, 20:43
there is an at command for this there even two of them . you can find it in nokia at commands specifications ... they claim you execute a sim command in sim by the phone sim reader and the result is returned to the pc ... but the implementaion of this command is optional ...

ginomi
03-02-2002, 23:27
With Siemens phone you can use the command:

AT^SSTK=length[,mode]<CR>PDU is given ctrl-Z/ESC

Parameter:
<length>: Length of PDU in bytes
<mode>: 0: Single command
1: Sequence of commands
<pdu>: SIM Toolkit commands, see
GSM 11.14

For example, I tried this with my SL45i to display the word "SAT":

at^sstk=17,0
> D00F8103012180820281028D0404534154 ctrl-Z/ESC

bye,

ginomi

james.guiab
08-19-2003, 17:37
I am an ammateur VB programmer and would like to ask for your help with regard to SAT.

I understand that with Siemens mobile phones and using AT commands, I can interface with the SAT menus on my mobile phone. So far I've browsed through the GSM 11.14 specs and read about the SIM commands but I am still confused on how to use them?

Can you tell me how I can choose a menu item by sending AT commands from my PC?

Can you tell me how I can pass input to the SAT application? (For example, if the SAT application asks me for my age, how do I pass on that data to the application?)

Can I use a Smar Card reader to view the menu's and the application on the SIM?

Thanks. I would be very grateful if you could spend a few minutes answering these questions.

Best Regards,
James Guiab
Philippines