SetEccFile

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command emulates content of SIM EF-ECC (7F20/6FB7) file in the SetSimLocation SIM_EMUL mode. EF-ECC content is specified as up to 15 hexadecimal digits (N x 3 hexadecimal digits).

COMMAND

Command Input arguments Returns
SetEccFile Port index, EF-ECC content In the case of error, Error Code

OUTPUT

None

EXAMPLE

~# SetEccFile 3 19 04 01
OK

API

MessageCode: GRA_SET_ECC_FILE_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index
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    PortIndex;
   BYTE     EccContent[16];
} GRAM_SET_ECC_FILE_REQUEST;

MessageCode: GRA_SET_ECC_FILE_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_SET_ECC_FILE_CONFIRM;