ReadEccFile

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command reads content of SIM EF-ECC (7F20/6FB7) file. EF-ECC content is displayed as up to 15 hexadecimal digits.

COMMAND

Command Input arguments Returns
ReadEccFile Port index SIM card EF-ECC file content

OUTPUT

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

EXAMPLE

~# ReadEccFile 2
19 04 01

API

MessageCode: GRA_READ_ECC_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_ECC_FILE_REQUEST;

MessageCode: GRA_READ_ECC_FILE_CONFIRM

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

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

typedef struct 
{
   ULONG    Status;
   BYTE     EccFileContent[16];
} GRAM_READ_ECC_FILE_CONFIRM;