DWC_SetReportLevel

C Specification

#include <dwc.h>

void DWC_SetReportLevel( u32 level );

Description

This function adjusts the type of debug printout (debut report level) to the DWC library displays on the console. Report levels are defined below. It is possible to select only necessary displays according to the debugging application by OR.
Even if DWC_REPORTFLAG_GAMESPY is designated in NITRO-DWC-DL, it is meaningless because there is no corresponding feature.

Debug reports are used as logs for analysis when some kind of problem occurs.

This function is used for debugging. It will not function in the final ROM version (FINALROM).

DWC_REPORTFLAG_INFO        = 0x00000001
DWC_REPORTFLAG_ERROR       = 0x00000002
DWC_REPORTFLAG_DEBUG       = 0x00000004
DWC_REPORTFLAG_WARNING     = 0x00000008
DWC_REPORTFLAG_ACHECK      = 0x00000010
DWC_REPORTFLAG_LOGIN       = 0x00000020
DWC_REPORTFLAG_MATCH_NN    = 0x00000040
DWC_REPORTFLAG_MATCH_GT2   = 0x00000080
DWC_REPORTFLAG_TRANSPORT   = 0x00000100
DWC_REPORTFLAG_QR2_REQ     = 0x00000200
DWC_REPORTFLAG_SB_UPDATE   = 0x00000400
DWC_REPORTFLAG_SEND_INFO   = 0x00008000
DWC_REPORTFLAG_RECV_INFO   = 0x00010000
DWC_REPORTFLAG_UPDATE_SV   = 0x00020000
DWC_REPORTFLAG_CONNECTINET = 0x00040000
DWC_REPORTFLAG_AUTH        = 0x01000000
DWC_REPORTFLAG_AC          = 0x02000000
DWC_REPORTFLAG_BM          = 0x04000000
DWC_REPORTFLAG_UTIL        = 0x08000000
DWC_REPORTFLAG_GAMESPY     = 0x80000000
DWC_REPORTFLAG_ALL         = 0xffffffff

Arguments

level Report levels in the DWC library that you can select to display for debugging. You can select multiple conditions using OR.

Return Values

None.

See Also

Revision History

07/03/2006 Inserted an explanation in the function description about when the Friends Library is not in use
12/16/2005 Added a detailed function description
07/22/2005 Initial version


CONFIDENTIAL