SetLociFile

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command emulates content of SIM EF-LOCI (7F20/6F7E) file in the SetSimLocation SIM_EMUL mode. EF-LOCI content is specified as 11 hexadecimal digits.

COMMAND

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

OUTPUT

None

EXAMPLE

~# SetLociFile 2 9C 20 8B 71 22 F0 30 52 D1 FF 00
OK

API

MessageCode: GRA_SET_LOCI_FILE_REQUEST

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

MessageCode: GRA_SET_LOCI_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_LOCI_FILE_CONFIRM;