TCAPGenCfg

Sends the TCAP general configuration parameters to the TX board.

Prototype

S16 TCAPGenCfg ( U8 board, TcapGenCfg *cfg)

Argument

Description

board

TX board number to which this request is directed.

cfg

Pointer to the address of a general configuration parameters buffer. The buffer's format is specified in TCAPInitGenCfg.


Return values

Return value

Description

TCAP_SUCCESS

 

TCAPM_BADPARAM

A parameter is out of range, most likely because the general configuration parameters buffer was not initialized using TCAPInitGenCfg.

TCAPM_BOARD

board is out of range.

TCAPM_CFGDUP

General configuration has already been sent to the board.

TCAPM_DRIVER

Error occurred accessing the driver.

TCAPM_FAILED

Task on the TX board reported a failure.

TCAPM_MAXSAPS

Value specified for maxSaps is out of range.

TCAPM_NULLPTR

Null pointer was specified for cfg.

TCAPM_RANGE

Value is out of range.

TCAPM_TIMEOUT

Request timed out.

TCAPM_UNINIT

Application failed to call TCAPInitMgmtAPI prior to this call.


Details

This function can be called only once per download of the TX board. It must be called before any TCAP SAPs are configured.

cfg must be initialized with TCAPInitGenCfg prior to this call.