User's Manual

1.07work/09.2003 BlueRS+ manual
5. Diagnostic and error messages
© Stollmann Entwicklungs- und Vertriebs-GmbH 39
5.3 Diagnostic using the internal Trace
For more sophisticated debugging an internal trace functionality is implemented. This
logging mechanism allows to write activities of the Bluetooth interfaces and the serial
interface into a wrap around buffer. The type of entries can be selected by a trace
mask.
trcmsk set trace mask
trcmsk par Setup the mask to select the type of data to be written into the trace
buffer.
Default: Bluetooth HCI and Blueface messages, DTE interface lines,
DTE-Data in connection-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 00 00 00 00 00 04):
par := bl1 bl2 bl3 dl1 dl2 dl3 sl1 app bt1
bl1 reserved (00)
bl2 reserved (00)
bl3 reserved (00)
dl1 reserved (00)
dl2 reserved (00)
dl3 reserved (00)
sl1 Serial line 1; i.e. first V.24 port; default: 00
bit0: control lines after change
bit2: data bytes while connection control (call phase)
app reserved (00)
bt1 Bluetooth; default: 04
bit0: hci interface, commands and events
bit1: hci interface, acl data
bit2: Blueface interface: signaling
bit3: Blueface interface: traffic while DCD off
bit4: Blueface interface: traffic
examples:
trcmsk 000000000000000004 Trace Bluetooth messages and V.24
commands.
trcon start trace write
trcon set trace to active regarding to trace mask