You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > 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 |
: |
Address Method 0x00 - Individual AEs |
8, 9 |
|
10 |
Reserved |
||
11 |
Checksum |
||
Number of AEs |
|||
AEs |
|||
: |
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 |
||
: |
Checksum |