SccpTraceControl

Sends a request to enable or disable tracing of SCCP protocol messages. Trace control is not currently implemented. No trace messages are generated, regardless of the SccpTraceControl setting.

Prototype

SCCP_STATUS SccpTraceControl ( U8 board, U8 bTraceOn, U8 flags)

Argument

Description

board

TX board number.

bTraceOn

Zero turns tracing off. Non-zero turns tracing on.

flags

Specifies which level of tracing is affected. Currently, NMS SCCP supports only protocol buffer tracing (dumps of all SCCP protocol messages sent/received):

#define SCCP_TRACE_DATA   0x01

 


Return values

Return value

Description

SCCP_SUCCESS

 

SCCP_BOARD

board is out of range.

SCCP_DRIVER

Error occurred accessing the driver.

SCCP_NOGENCFG

SccpSetGenCfg has not been called.

SCCP_RANGE

flags is out of range.

SCCP_TIMEOUT

Request timed out.

SCCP_UNINIT

Application failed to call SccpMgmtInit prior to this call.