BSMI Debugging

BSMI Debugging

The debug output is controlled using the regular mechanisms provided with the Bfv API. Included in the debug output are diagnostic strings including BSMI message tracing and network layer tracing.

BSMI Message Tracing

vtty

The vtty program displays layer 2, 3, and 4 messages (depending on

 

user settings).

Command Syntax

vtty [-m <mod>] {-v]

Arguments

 

-m <mod>

Use specified module (default 2)

-v

Turn on Bfv API debugging mode

Included in the debug output is a diagnostic message showing the message identifier of all messages sent to the firmware from the application, and all messages sent from the firmware to the application.

Running a Layer 2 Trace

The diagnostic trace function allows you to trace Layer 2 messages entering and leaving the framer (See Table 5 on page 111 for command line syntax). The trace function displays link layer protocol messages only, such as ISDN Q.931. The trace display resembles a simple protocol analyzer, with the message type decoded and its direction shown.

A trace shows Layer 2 messages being passed over the links, and provides some protocol and routing information. It also displays the received/transmitted message Information Frame in hexadecimal format. This hexadecimal string contains Layer 2 ISDN frame headers.

November 2009

101

Page 101
Image 101
Dialogic 6.2 manual Bsmi Debugging, Bsmi Message Tracing, Running a Layer 2 Trace, Command Syntax, Vtty -m mod