You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Diagnostics Indication 0x0045

Diagnostics Indication 0x0045

SwitchKit Name

DiagnosticsIndication

Type

EXS API and SwitchKit API message

Description

Diagnostics Indication 0x0045

This message sends information to the host about a specific module to help diagnose protocol/system problems. Use the ISDN Interface Configure message options bitmask entity for enabling/disabling this message.

This message is for debugging purposes only. It should not be sent during live call processing. Use the ISDN Interface Configure message to enable/disable diagnostics.

Sent by

CSP

SwitchKit Code

C Structure

typedef struct {

unsigned short Span;

UBYTE Channel;

UBYTE DiagnosticsType;

UBYTE Data[222];

} XL_DiagnosticsIndication;

C++ Class

class XLC_DiagnosticsIndication : public XLC_OneChannelMessage {

public:

unsigned short getSpan() const;

void setSpan(unsigned short x);

UBYTE getChannel() const;

void setChannel(UBYTE x);

UBYTE getDiagnosticsType() const;

void setDiagnosticsType(UBYTE x);

const UBYTE *getData() const;

UBYTE *getData();

void setData(UBYTE *x);

};

EXS API Hex Format

MESSAGE (White) | RESPONSE (Gray)
Byte | Field Description | Byte | Field Description
0 | Frame (0xFE) | 0 | Frame (0xFE)
1, 2 | Length (0x00NN) | 1, 2 | Length (0x0008)
3, 4 | Message Type (0x0045) | 3, 4 | Message Type (0x0045)
5 | Reserved (0x00) | 5 | Reserved (0x00)
6 | Sequence Number | 6 | Same Sequence Number
7 | Logical Node ID | 7 | Logical Node ID
: | AIB Address Method 0x00 - Individual AEs | 8, 9 | Status (MSB, LSB)
10 | Reserved
11 | Checksum
Number of AEs
AEs 0x0D Channel
: | Diagnostics Type 0x01 ISDN PRI Cards Raw Layer 3 HDLC frames Data[0] Direction (0= Layer 2 to Layer 3, 1= Layer 3 to Layer 2) Data[1] Length Data[2] Start of the HDLC data : Data[n] End of the HDLC data
: | Data
: | Checksum

See Integrated Services Digital Network.
Range of channels provided by T1 or E1 transmission service. A physical span is a group of channels taking up a single physical wire. A logical span is a group of channels taking up less than a single logical wire, or carried over more than one physical wire.
A group of data bits in a specific format, with a flag at each end to indicate the beginning and the end of the frame.
See Address Information Block.
Most Significant Bit
Least Significant Bit
Protocol layer of the CSP.