Hi,
I am currently writing a Pocket PC application to read the ICCID number
from a SIM card.
Does anyone know if this is possible?
At the moment I am sending a command via the RIL (RIL_SendSimCmd):
"static const BYTE CMD_SELECT_ICCID_BY_FID [] = {(BYTE) 0xA0, (BYTE)
0xA4, (BYTE) 0x00, (BYTE) 0x00, (BYTE) 0x02,(BYTE) 0x2F, (BYTE) 0xE2};"
2FE2 being the Id of the elementary file where the ICCID resides on the
SIM (GSM 11.11 - 10.1.1)
This is currently returning an error RIL_E_MSGBARREDBYOPERATOR.
I know I shouldn't be using the RIL but was running out of options.
TAPI, from what I see, will only return the IMSI (LINEGENERALINFO) and
sending AT commands is modem specific.
Any ideas or even if this is possible will be much appreciated.
Thanks Craig