www.beck-ipc.com

GMLib - PIN


SIM PIN

Functions for SIM PIN and SIM PUK handling.

  • gmReadPINStatus
  • gmWritePIN
  • gmWritePUK


  • int gmReadPINStatus(void)

    This function reads the PIN status of the SIM card to determine if a SIM PIN or SIM PUK is required. You do not have to call gmReadPINStatus() because gmInit or gmInitExt automatically process the PIN handling.

    Return Value

    Return values are described here: Return values


    Top
    Index page


    int gmWritePIN(char * PIN)

    This function enters the SIM PIN to the GM0x. You do not have to call gmWritePIN() because gmInit or gmInitExt automatically process the PIN handling.

    Parameters

    PIN

    Input parameter: SIM PIN

    Return Value

    Return values are described here: Return values


    Top
    Index page


    int gmWritePUK(char * PUK, char * newPIN)

    This function writes the SIM PUK and a new SIM PIN to the GM0x in case your SIM Card was blocked by entering three times the wrong PIN. You do not have to call gmWritePIN() because gmInit or gmInitExt automatically process the PIN handling.

    Parameters

    PUK

    Input parameter: SIM PUK

    newPIN

    Input parameter: new SIM PIN

    Return Value

    Return values are described here: Return values


    Top
    Index page


    End of document