Diagnostic using the internal trace – Westermo ID-90 User Manual
Page 100

100
6607-2204
Diagnostic using the internal Trace
For more sophisticated debugging an internal trace functionality is implemented. This log-
ging mechanism allows to write activities of the ISDN and the serial interface into a wrap
around buffer. The type of entries can be selected by a trace mask.
trcmsk – set tracemask
trcmsk par
Setup the mask to select the type of data to be written into the tracebuffer.
Default: D channel Layer 1 and 3, DTE interfacelines, DTE-Data in connec-
tion-setup and clearing-phase.
The parameter par has to be setup in the following way, all bytes have to be
entered (default 00 00 00 07 00 02 05 00):
par := bl1 bl2 bl3 dl1 dl2 dl3 sl1 app
bl1
reserved
bl2
reserved
bl3
reserved
dl1
D channal layer 1 status default 07
bit0: status
bit1: C/I codes after change
dl2
D channel LAPD frames: default 00
bit1: HDLC frames
dl3
D channel layer 3 messages: default: 02
bit1: Messages
sl1
Serial line 1; i.e. first V.24 port; default: 05
bit0: control lines after change
bit2: data bytes while connection control (call phase)
app
reserved (00)
trcdln – length of trace entry
trcdln xx
set trace buffer entries to a maximum length of xx. (default: 256)
trcon – start trace write
trcon
set trace to active regarding to tracemask
trcoff – stop trace write
trcoff
set trace to OFF independent of tracemask
trcclr – clear trace buffer
trcclr
clear actual tracebuffer contents