GetUSSDTimeout

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command gets the USSD Timeout value for the specified GSM port.

COMMAND

Command Input arguments Returns
GetUSSDTimeout Port index USSD Timeout

OUTPUT

Command output in the following format:
"%d\n", timeout

EXAMPLE

~# GetUSSDTimeout 0
60

API

MessageCode: GRA_GET_USSD_TIMEOUT_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_GET_USSD_TIMEOUT_REQUEST;

MessageCode: GRA_GET_USSD_TIMEOUT_CONFIRM

MESSAGE BODY
Field Name Length Description
Status 4 Command status (0 if successful, otherwise see list of Error Codes Values)
Timeout 4 USSD Timeout (sec)

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

typedef struct 
{
   ULONG    Status;
   ULONG    Timeout;
} GRAM_GET_USSD_TIMEOUT_CONFIRM;