gsmGetIMSI (Function) |
Top Previous Next |
gsmGetIMSI will return the IMSI number of the SIM card installed in the RTCU device. Only the last 15 digits of the IMSI number will be returned. The IMSI number is a unique number that identifies the SIM card. If no SIM card is installed, this function will return an empty string.
Note: * The first 5 digits in the IMSI number is the Public Land Mobile Network number (PLMN) of the home network. * If gsmPower is not called before this function, an empty string will be returned.
Input: None.
Returns: STRING The IMSI number of the SIM card.
Declaration: FUNCTION gsmGetIMSI : STRING;
Example: INCLUDE rtcu.inc |