TUPTraceControl

Sends a request to enable or disable tracing of TUP protocol messages.

Prototype

S16 TUPTraceControl ( U8 board, Bool onOff, U32 flags)

Argument

Description

board

TX board number.

onOff

Enable or disable tracing based on bitmap set by flags.

flags

Bitmap of a particular trace that needs to be enabled or disabled.


Return values

Return value

Description

TUP_SUCCESS

 

TUP_BOARD

board is out of range.

TUP_DRIVER

Error occurred accessing the driver.

TUP_FAILED

Task on the TX board reported a failure.

TUP_UNBOUND

Application failed to call TUPInitMgmtAPI prior to this call.


Details

The following TUP traces are available through the tupmgr command line option: EVENT, DATA, ERROR, WARNING, ELEMENT, and TIMER.