MonGetGenCfg

Retrieves a general configuration from the monitor task.

Prototype

MON_STATUS MonGetGenCfg ( U8 board, MonGenCfg *pGenCfg )

Argument

Description

board

TX board number on which the desired monitor task resides.

pGenCfg

Pointer to a MonGenCfg structure where the data link configuration values are filled:

typedef struct _MonGenCfg
{
    U8     recvLssu;         /* Send up LSSUs? */
    U8     recvFisu;         /* Send up FISUs? */
    U8     mtp2Hdr;          /* Include the mtp2Hdr */
    U8     spare;
    U16    numBuffers;       /* Number of buffers in limited pool */
    U16    sizeBuffers;      /* Size of each buffer in limited pool */
    TimerCfg tInd;           /* Maximum time to wait before sending up a
                                data indication */
} MonGenCfg;


Return values

Return value

Description

MON_BOARD

Board number out of range.

MON_DRIVER

CPI driver returned error.

MON_HANDLE

Board not previously initialized.

MON_LINKTYPE

Invalid link or switch type.

MON_PARAM

Invalid parameter.

MON_RESPONSE

Wrong response from board.

MON_SUCCESS

 

MON_TIMEOUT

No response from board.


See also

MonInitGenCfg