M3uaSetSctSapCfg

Configures the M3UA layer with the values contained in the SCT SAP configuration structure.

Prototype

STATUS TXM3UAFUNC M3uaSetSctSapCfg ( U8 board, M3UASctSapCfg *pSctSapCfg)

Argument

Description

board

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

pSctSapCfg

Pointer to the M3UASctSapCfg structure that contains the SCT SAP configuration values. For information, see M3UASctSapCfg.


Returned 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

Call this function after you configure networks for the M3UA layer, but before you configure an NSAP.

An application must set the field values in the M3UASctSapCfg structure before calling M3uaSetSctSapCfg. Set the values in any of the following ways:

M3uaSetSctSapCfg is typically called once for each configured SCT SAP.

For more information, see M3UA SCT SAP configuration.

See also

M3uaGetSctSapCfg