Module sim
Expand description
MCM SIM API.
See: <ql_mcm_sim.h>
Structs§
- Addr
Proto - App
- AppId
Info - AppState
- BsfInfo
- Card
AllApp Info - Card
AppInfo - Card
File Access Info - Card
File Data - Card
File Info ToRead - Request message.
- Card
GetFile Size Input Info - Retrieves the size of a specific file on a specified application on the card.
- Card
State - Card state.
- Card
Status Info - Card
Type - Card
Write File Info - Change
PinInfo - Changes the PIN value of an application.
- Depersonalize
Info - Deactivates or unblocks the personalization on the phone.
- File
Size Info - File
Type - GbaImpi
- GbaInfo
- GbaKey
- GbaKey
Status - GwCorporate
Personal Info - NafId
- NfyMsg
Id - NwPersonal
Info - NwSp
Personal Info - NwSubset
Personal Info - Perso
Feature - Perso
Operation - Personalize
Feature Info - Request message.
- Phone
Book Record Info - Phone
Record Info - PinId
- PinState
- Plmn
Info - Preferred
Operator List - Sim1x
NwType2 Personal Info - SimPersonal
Info - SlotId
- Subscription
Type - Unblock
PinInfo - Unblocks a blocked PIN using the PUK code.
- Verify
PinInfo
Constants§
- APN_
NAME_ MAX - Maximum number of APN name.
- BTID_
MAX - Maximum number of bootstrapping transaction ID.
- CONTROL_
KEY_ LEN_ MAX - Maximum length of personalization control key data.
- DATA_
LEN_ MAX - Maximum size of data to be read/written.
- ENCRYPTED_
IMPI_ MAX - Maximum number of encrypted private user identity used for the GBA procedure.
- ENCRYPTED_
KS_ NAF_ MAX - Maximum number of encrypted key shared between the NAF and the UE.
- FQDN_
MAX - Maximum length of FQDN.
- ICCID_
LEN_ MAX - Maximum length of ICCID data.
- IMPI_
MAX - Maximum number of private user identity used for the GBA procedure.
- IMSI_
LEN_ MAX - Maximum length of IMSI data.
- KS_
LIFETIME_ MAX - Maximum number of lifetime of the BSF-generated key material.
- KS_
NAF_ LEN - Number of key shared between the NAF and the UE.
- MCC_LEN
- Length of the MCC.
- MNC_MAX
- Maximum length of the MNC.
- MSIN_
LEN_ MAX - Maximum length of the MSIN.
- PATH_
LEN_ MAX - Maximum length of a full file path in ASCII format.
- PERSO_
NUM_ 1X_ NW2_ MAX - Maximum number of network type 2 personalization data sets.
- PERSO_
NUM_ GW_ CP_ MAX - Maximum number of corporate personalization data sets.
- PERSO_
NUM_ GW_ SP_ MAX - Maximum number of service provider personalization data sets.
- PERSO_
NUM_ NS_ MAX - Maximum number of network subset personalization data sets.
- PERSO_
NUM_ NW_ MAX - Maximum number of network personalization data sets.
- PERSO_
NUM_ SIM_ MAX - Maximum number of SIM personalization data sets.
- PIN_
LEN_ MAX - Maximum length of PIN data.
- PLMN_
NUM_ MAX - Maximum number of PLMN data sets.
- SECURITY_
PROTOCOL_ LEN - Length of security protocol.
Functions§
- add_
rx_ ⚠ind_ msg_ handler Non- ag35 - Add callback function if anything changed specified by the mask in QL_LOC_Set_Indications.
- change_
pin ⚠Non- ag35 - Sends a command to the modem to change the value of either PIN1 or PIN2.
- client_
deinit ⚠Non- ag35 - client_
init ⚠Non- ag35 - depersonalization⚠
Non- ag35 - Sends a command to the modem to disable or unblock SIM Lock.
- disable_
pin ⚠Non- ag35 - Sends a command to the modem to disable PIN1 or PIN2.
- enable_
pin ⚠Non- ag35 - Sends a command to the modem to enable PIN1 or PIN2.
- get_
card_ ⚠status Non- ag35 - Retrieves the server cached card status information and sends the information to the client.
- get_
file_ ⚠size Non- ag35 - Sends a command to the modem to retrieve the file type, file size(transparent files) or record size and record count (record based files).
- get_
gba_ ⚠impi Non- ag35 - Retrieves the IMPI used for the GBA corresponding to the session.
- get_
iccid ⚠Non- ag35 - Sends a command to the modem to retrieve the ICCID from SIM in ASCII form.
- get_
imsi ⚠Non- ag35 - Sends a command to the modem to retrieve the IMSI (for 3GPP) or IMSI_M (for 3GPP2) from the SIM in ASCII form.
- get_
operator_ ⚠plmn_ list Non- ag35 - Sends multiple record based read commands to the modem to retrieve a list of operator preferred PLMN.
- get_
phone_ ⚠number Non- ag35 - Sends a command to the modem to retrieve the device phone number from MSISDN (for 3GPP) or MDN (for 3GPP2) from the SIM in ASCII form.
- init_
gba ⚠Non- ag35 - Initializes the GBA and generates a key that is shared with a NAF.
- personalization⚠
Non- ag35 - Sends a command to the modem to set the SIM Lock data and concurrently enable SIM Lock.
- read_
file ⚠Non- ag35 - Determines whether the request is for transparent or record based read command based on the record number and calls the corresponding function to send the message to the card.
- read_
phone_ ⚠book_ record Non- ag35 - Gets the phone book record as specified by
info. - unblock_
pin ⚠Non- ag35 - Sends a command to the modem to unblock a PIN1 or PIN2 that has been blocked.
- verify_
pin ⚠Non- ag35 - Sends a command to the modem to verify either PIN1 or PIN2.
- write_
file ⚠Non- ag35 - Determines whether the request is for transparent or record based write command based on the record number and calls the corresponding function to send the message to the card.
- write_
phone_ ⚠book_ record Non- ag35 - Stores the phone book record to the location specified by
info.
Type Aliases§
- Card
Status IndMsg Handler Func - Client
Handle - Disable
PinInfo - Disables the PIN of an application.
- Enable
PinInfo - Enables the PIN on an application.
- GbaInd
MsgHandler Func - GbaKey
Status IndMsg Handler Func