Configures the M3UA layer with the values contained in the NSAP configuration structure.
STATUS TXM3UAFUNC M3uaSetNSapCfg ( U8 board, M3UANSapCfg *pNSapCfg)
Argument |
Description |
board |
TX board number on which the desired MTP 3 task resides. Valid range is 1 through MAXBOARD (currently 32). |
pNSapCfg |
Pointer to the M3UANSapCfg structure that contains the NSAP configuration values. For information, see M3UANSapCfg. |
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. |
Call this function after you configure an SCT SAP for the M3UA layer, but before you configure peer signaling processes.
An application must set the field values in the M3UANSapCfg structure before calling M3uaSetNSapCfg. Set the values in any of the following ways:
Call M3uaInitNSapCfg to set the fields to default values.
Set each field value from within the application.
Call M3uaInitNSapCfg and then override specific field values before passing the M3UANSapCfg structure to M3uaSetNsapCfg.
M3uaSetNSapCfg is typically called once for each configured NSAP.
For more information, see M3UA NSAP configuration.