ReadLociFile

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command reads content of SIM EF-LOCI (7F20/6F7E) file. EF-LOCI content is displayed as 11 hexadecimal digits.

COMMAND

Command Input arguments Returns
ReadLociFile Port index SIM card EF-LOCI file content

OUTPUT

Command output in the following format:
"%s\n", EF-LOCI_content

EXAMPLE

~# ReadLociFile 0
9C 20 8B 71 22 F0 30 52 D1 FF 00

API

MessageCode: GRA_READ_LOCI_FILE_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index

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

typedef struct
{
   ULONG    PortIndex;
} GRAM_READ_LOCI_FILE_REQUEST;

MessageCode: GRA_READ_LOCI_FILE_CONFIRM

MESSAGE BODY
Field Name Length Description
Status 4 Command status (0 if successful, otherwise see list of Error Codes Values)
LociFileContent 12 Content of SIM EF-LOCI (7F20/6F7E) file

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

typedef struct 
{
   ULONG    Status;
   BYTE     LociFileContent[12];
} GRAM_READ_LOCI_FILE_CONFIRM;