You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > T1 Span Query 0x0085
SwitchKit Name
T1SpanFormatQuery
Type
EXS API and SwitchKit API message
Description
This message is used to query the configuration of a T1 span.
Sent by
SwitchKit Code
C Structure
typedef struct {
unsigned short Span;
} XL_T1SpanFormatQuery;
C Structure Response
typedef struct {
unsigned short Status;
unsigned short Span;
UBYTE Format;
UBYTE LineLength;
} XL_T1SpanFormatQueryAck;
C++ Class
class XLC_T1SpanFormatQuery : public XLC_OutboundMessage {
public:
unsigned short getSpan() const;
void setSpan(unsigned short x);
};
C++ Class Response
class XLC_T1SpanFormatQueryAck : public XLC_AcknowledgeMessage {
public:
unsigned short getStatus() const;
void setStatus(unsigned short x);
unsigned short getSpan() const;
void setSpan(unsigned short x);
UBYTE getFormat() const;
void setFormat(UBYTE x);
UBYTE getLineLength() const;
void setLineLength(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 (0xNNNN) |
1, 2 |
Length (0xNNNN) |
3, 4 |
Message Type (0x0085) |
3, 4 |
Message Type (0x0085) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
8 : |
Address Method 0x00 - Individual AEs
|
8, 9 |
|
Number of AEs to follow |
10 |
AIB (same as message) |
|
AE |
|||
: |
Checksum |
||
|
Response continued below. |
||
: |
Format This field is a bit mask. The meaning of each bit is listed below. Bit Framing 0 D4 1 ESF 2 Reserved, must be 0
Line Coding Method 3 Bit 7 zero suppressing 4 B8ZS zero suppression 5 Reserved, must be 0
6 Clear Channel (disable signaling insertion) 7 Reserved, must be 0 |
||
: |
0x06 000–133 ft. 0x01 134–166 ft. 0x05 167–299 ft. 0x03 300–533 ft. 0x07 534–655 ft. 0x00 G.703 ITU-T |
||
|
AIB |
||
: |
Checksum |