DisablePinLock

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command suppresses pin code lock on the SIM.

COMMAND

Command Input arguments Returns
DisablePinLock Port index, PIN code In the case of error, Error Code

OUTPUT

None

EXAMPLE

~# DisablePinLock 0 "1234"
OK

API

MessageCode: GRA_DISABLE_PIN_LOCK_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index
PinCode 8 PIN Code

The format of Message Body can be coded as the following C-language structure:

typedef struct
{
   ULONG    PortIndex;
   UCHAR    PinCode[8];
} GRAM_DISABLE_PIN_LOCK_REQUEST;

MessageCode: GRA_DISABLE_PIN_LOCK_CONFIRM

MESSAGE BODY
Field Name Length Description
Status 4 Command status (0 if successful, otherwise see list of Error Codes Values)

The format of Message Body can be coded as the following C-language structure:

typedef struct 
{
   ULONG    Status;
} GRAM_DISABLE_PIN_LOCK_CONFIRM;