Gets the PLMN of the home network of the specified SIM card.
|
Parameters |
Description |
|
VM_GSM_SIM_ID sim_card_id |
[IN] The Index of the SIM card, e.g. VM_GSM_SIM_SIM1. |
|
VMCHAR* buffer |
[OUT] The buffer to be filled with the PLMN, retrieved from the device. |
|
VMUINT buffer_size |
[IN] The size of buffer. It shall be greater than or equal to (VM_GSM_SIM_MAX_PLMN_LENGTH + 1). |
It returns 0, if this function can find a valid PLMN. A negative number is
returned if there is an error. The error code -2 means a parameter error.
The error code -3 means no SIM card. The error code -4 means internal error.
The error code -5 means not supported SIM card.
vmgsm_sim.h
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.