UploadMbnFile

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command uploads LTE configuration MBN file and adds it to the list of LTE profiles for the specified LTE port. It is available only for the LTE ports equipped with Quectel modems.

COMMAND

Command Input arguments Returns
UploadMbnFile Port index, MbnFile In the case of error, Error Code

OUTPUT

Command status

EXAMPLE

~# UploadMbnFile 0 bouygues.mbn
OK

API

MessageCode: GRA_UPLOAD_MBN_FILE_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index
MbnFileName 256 Name of MBN file

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

typedef struct
{
   ULONG    PortIndex;
   UCHAR    MbnFileName[256];
} GRAM_UPLOAD_MBN_FILE_REQUEST;

MessageCode: GRA_UPLOAD_MBN_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_UPLOAD_MBN_FILE_CONFIRM;