RIL communication with SIM - Windows Mobile Development and Hacking General

Hello!
As I understand it is possible to send commands to SIM with RIL_SendSimCmd (for example SAT commands)
Does anybody know, with what function I can read the SIM answer?

Related

Running GSM algorithm and its ilk

I have been asked to look into whether an application we have written ro PocketPC will work on an XDA device. It currently uses the PC/SC API to access a SIM card in a Cardman PCMCIA carrier. I need to find out if we can either use the PC/SC API to run GSM SIM commands to the SIM/USIM in the built in reader, e.g. reading files, unlocking the PIN, getting status, running the GSM or AUTH algorithm and retrieving results.
Is the PC/SC API supported? Are there equivalent functions in the RIL API? Where is some good documentation on low-level SIM card access in this environment?
Thanks,
Erik Tkal
the only method to communicate with SIM card is through the GSM modem's AT commands.
GSM modem's AT commands
Maybe you've got a quick hint - how I can use AT commands to milk the SIM card for its GSM triplets?

accedding to the sim card information

Hi,
please, i'm programming a tool in c# and i need to accede at the sim card to obtain the imei number. i have encountered a code to accede to the imei (in this forum), but is a c++ code.
http://forum.xda-developers.com/viewtopic.php?t=13455
is possible to accede to the sim imei number using c#? what?
regards
Hi,
I used this example and converted to C++ to read a hard drive serial. I think you could use this example (maybe) but change it so you read from the SIM and not the hard drive. I think the principles are the same, just go tot make sure you read from the SIM....
Cheers..
http://www.codeproject.com/csharp/hard_disk_serialno.asp
you have attached a harddisk at your pocket? :shock:

APDU Command to SIM card

Hi, I'm using RIL to send APDU commands to SIM. It worked fine for HTCs, versions:
HTC S310
radio 4.1.13.20_02.41.90
HTC QTEK
radio 02.07.10
while I'm not receiving response data when sending an APDU commands on
HTC S730
radio 25.62.30.03H_1.58.17.02. The callback response handler only receives the status word, not the data
I guess this has something to do with the OEM custom implementation of RIL. Is there any way to have back the SIM data from ril, is it possible to intercept this data, override the RIL data receiver, or whatelse?
thx a lot
Antonio
Can you let me know what software you use to send ADPU to the SIM. thanks!
If I have understood your question, I'm developing an application on Windows mobile for pocket pc 5.0, using visual c++,
Hi, Antonio.
Can you give an example of code where you have access to sim card using apdu commands?
Hello, Antonio73. Have you ever solve the problem? I was interested in this problem too. I want to know how to send APDU command to SIM Card, can you help me ?

Obtaining SIM Number Via RIL

Using WM6 and Artemis devices, how would I programatically get the SIM number via the device? I need to get the device to send back the number with OTT messages.
Thanks
Puff

S200 - SIM Unlock

Hi all,
I'm not an expert in PDA devices or not even at Forums but I need help.
I read about unlocking S220 from SIM Operator anda i followed all sugested steps (copying the .bat files, connect with activesinc, run lokwiz 03) but at the end of running lokwiz, instead of getting a code, i got a message more or less like this: "SIMLock........your code is your simlock code"
does it mean that i should use my card operator code to unlock?
can anybody help me?
PS - Sorry about my english
PS2 - I don't even know if i'm posting at the right place
thank you all.... :S

Resources