SccpGetUSapCfg

Retrieves the current configuration parameter values for a specific SCCP user service access point on the specified TX board.

Prototype

SCCP_STATUS SccpGetUSapCfg ( U8 board, SccpUSapCfg *pCfg, U16 sapId)

Argument

Description

board

TX board number to which this request is directed.

pCfg

Pointer to the address of the service access point configuration parameters buffer. The format is specified in SccpInitUSapCfg.

sapId

Service access point ID being retrieved.


Return values

Return value

Description

SCCP_SUCCESS

 

SCCP_BOARD

board is out of range.

SCCP_DRIVER

Error occurred accessing the driver.

SCCP_EXCEEDMAXCFG

sapId exceeds the maximum specified through SccpSetGenCfg.

SCCP_NOGENCFG

SccpSetGenCfg has not been called.

SCCP_NOTFOUND

Application failed to call SccpSetUSapCfg prior to this call.

SCCP_NULLPTR

Null pointer was specified for pCfg.

SCCP_TIMEOUT

Request timed out.

SCCP_UNINIT

Application failed to call SccpMgmtInit prior to this call.