TCAPGetSapCfg

Retrieves the current configuration parameter values for a specific TCAP SAP.

Prototype

S16 TCAPGetSapCfg ( U8 board, TcapSapCfg *cfg, U16 sapId)

Argument

Description

board

TX board number to which this request is directed.

cfg

Pointer to the address of the SAP configuration parameters buffer. The buffer's format is specified in TCAPInitSapCfg.

sapId

Service access point being defined.


Return values

Return value

Description

TCAP_SUCCESS

 

TCAPM_BADSAP

SAP ID is either out of range or the call was made prior to calling TCAPGenCfg.

TCAPM_BOARD

board is out of range.

TCAPM_DRIVER

Error occurred accessing the driver.

TCAPM_FAILED

Task on the TX board returned a failure.

TCAPM_NULLPTR

Null pointer was specified for cfg.

TCAPM_TIMEOUT

Request timed out.

TCAPM_UNINIT

Application failed to call TCAPInitMgmtAPI prior to this call.