SccpGetNSapCfg

Retrieves the current configuration parameter values for a specific SCCP network service access point (NSAP) on the specified TX board.

Prototype

SCCP_STATUS SccpGetNSapCfg ( U8 board, SccpNSapCfg *pCfg, U16 sapId)

Argument

Description

board

TX board number to which this request is directed.

pCfg

Pointer to the address of a SAP configuration parameters buffer. The format is specified in SccpInitNSapCfg.

sapId

SCCP service access point ID.


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 SccpSetNSapCfg 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.