Where are Trace Levels used internally by ADL documented?


#1

ADL seems to generate some Traces internally; eg,

****** Traces ******
Type	From	Level

Trace	CUS4	20	[ADL] tmr subs ; id 0 ; hdlr 002118A9 ; val 10 ; cycl 0
Trace	CUS4	21	Get Mem 01061318
Trace	CUS4	21	Rel Mem 01061318
Trace	CUS4	23	[ADL] Gpio subs 00000200 00000200 00000400 1 : 2
Trace	CUS4	30	SIM event 2
Trace	CUS4	23	[ADL] Gpio Read 2 00000200 : 00000000

Where are these documented?

In particular, where is the list of Trace Levels used by ADL?
(in other words, how do I know which Levels my Application should avoid?)


#2

Ever hopeful, eh? :unamused:

They appear to be undocumented, but the definitions are in adl_traces.h:

/* ------------------------------------------------------------------- */
/*                          Trace Levels                               */
/* ------------------------------------------------------------------- */

#define ADL_TRC_LEVEL_ERROR     20
#define ADL_TRC_LEVEL_MEMORY    21
#define ADL_TRC_LEVEL_FLASH     22
#define ADL_TRC_LEVEL_GPIO      23
#define ADL_TRC_LEVEL_BUS       24
#define ADL_TRC_LEVEL_FCM       25
#define ADL_TRC_LEVEL_SMS       26
#define ADL_TRC_LEVEL_CALL      27
#define ADL_TRC_LEVEL_AT        28
#define ADL_TRC_LEVEL_SAFE      29
#define ADL_TRC_LEVEL_SIM       30
#define ADL_TRC_LEVEL_GPRS      31
#define ADL_TRC_LEVEL_WAP       31
#define ADL_TRC_LEVEL_AD        32
#define ADL_TRC_LEVEL_GPS       32

#define ADL_SAMPLE_TRACE 1

#3

Oops - duplicate: wavecom.com/modules/movie/sc … =5208#5208