M3uaGetNSapCfg

Obtains NSAP configuration parameter values from the M3UA layer.

Prototype

STATUS TXM3UAFUNC M3uaGetNSapCfg ( U8 board, M3UANSapCfg *pNSapCfg, S16 nSapNo)

Argument

Description

board

TX board number on which the desired M3UA layer resides. Valid range is 1 through MAXBOARD (currently 32).

pNSapCfg

Pointer to the M3UANSapCfg structure where the requested configuration information is returned. For information, see M3UANSapCfg.

nSapNo

Network SAP number from which to retrieve the configuration information. Valid range is 0 through (MAX_NSAP - 1).


Return values

Return value

Description

M3UA_SUCCESS

 

M3UA_BOARD

Invalid board number.

M3UA_DRIVER

CPI driver error.

M3UA_HANDLE

M3UAMgmtInit was not called for the specified board.

M3UA_PARAM

Invalid parameter.

M3UA_RESPONSE

Incorrect response from the board.

M3UA_TIMEOUT

No response from the board.


Details

This function can be called any time after M3uaMgmtInit. An application must provide a pointer to a buffer large enough to hold the M3UANSapCfg structure.

See also

M3uaInitNSapCfg, M3uaSetNSapCfg