Sends the SCCP general configuration parameters to the TX board.
SCCP_STATUS SccpSetGenCfg ( U8 board, SccpGenCfg *pCfg)
Argument |
Description |
board |
TX board number. |
pCfg |
Pointer to the address of the general configuration parameters buffer. The format is specified in SccpInitGenCfg. |
Return value |
Description |
SCCP_SUCCESS |
|
SCCP_BOARD |
board is out of range. |
SCCP_DRIVER |
Error occurred accessing the driver. |
SCCP_MAXROUTES |
Value specified for pCfg->maxRtes is out of range. |
SCCP_NULLPTR |
Null pointer was specified for pCfg. |
SCCP_PARAM |
Invalid parameter was detected. Check the txalarm log. |
SCCP_RESOURCES |
TX board resource is exhausted. Check the txalarm log. |
SCCP_TIMEOUT |
Request timed out. |
SCCP_TIMERVALUE |
Enabled timer has a value of zero. |
SCCP_UNINIT |
Application failed to call SccpMgmtInit prior to this call. |
The first time SccpSetGenCfg is called after a download of the TX board, all the parameters listed in SccpInitGenCfg can be modified. On any subsequent call to SccpSetGenCfg (without downloading the board), only some parameters can be modified. These are listed in bold in SccpInitGenCfg. Those fields not in bold are ignored on subsequent calls.
SccpSetGenCfg must be called before any SCCP user SAPs, NSAPs, global titles, or routes are configured.
pCfg must have been previously initialized with SccpInitGenCfg.