SccpSetRteCfg

Sends an SCCP route definition parameter block to the specified TX board.

Prototype

SCCP_STATUS SccpSetRteCfg ( U8 board, SccpRouteCfg *pCfg)

Argument

Description

board

TX board number.

pCfg

Pointer to the address of the route definition parameters buffer. The format is specified in SccpInitRteCfg.


Return values

Return value

Description

SCCP_SUCCESS

 

SCCP_BOARD

board is out of range.

SCCP_BUFLEN

Either numSsns or ssnList[n].numConPc is out of range.

SCCP_DRIVER

Error occurred accessing the driver.

SCCP_EXCEEDMAXCFG

Too many route definitions.

SCCP_NOGENCFG

SccpSetGenCfg has not been called.

SCCP_NULLPTR

Null pointer was specified for pCfg.

SCCP_PARAM

Invalid parameter was detected. Check the txalarm log.

SCCP_POINTCODE

Point code is out of range.

SCCP_RANGE

Either the SccpRouteCfg or SccpSsnCfg status is out of range.

SCCP_RESOURCES

TX board resource is exhausted. Check the txalarm log.

SCCP_SWTYPE

Invalid switch type was specified.

SCCP_TIMEOUT

Request timed out.

SCCP_UNINIT

Application failed to call SccpMgmtInit prior to this call.


Details

This function can be called any time after the general configuration is downloaded to the TX board, but before any application attempts to send data for transaction processing.

Once a global title translation is set by SccpSetRteCfg, it can only be modified by first deleting it with SccpDelRteCfg, and then calling SccpSetRteCfg with the new parameters.

pCfg must have been previously initialized with SccpInitRteCfg.