You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > D Channel Facility List Configure 0x00C6
D Channel Facility List Configure 0x00C6
SwitchKit Name
DChannelFacilityListConfig
Type
EXS API and SwitchKit API message
Description
This message is used by the host to add or delete spans from the facility list of D channels in NFAS mode. A D channel can control up to 20 spans of B channels. The span where the D channel is assigned is automatically added to the facility list as Facility 0. You do not need to add it to the facility list using this message.
Sent by
SwitchKit Code
Configuration
DChannelFacilityListConfig (
Node = integer,
Span = integer,
Channel = integer,
FacilitySpan = integer,
Action = integer,
FacilityNum = integer);
C Structure
typedef struct {
unsigned short Span;
UBYTE Channel;
unsigned short FacilitySpan;
UBYTE Action;
UBYTE FacilityNum;
} XL_DChannelFacilityListConfig;
C++ Class
class XLC_DChannelFacilityListConfig : public XLC_OutboundMessage {
public:
unsigned short getSpan() const;
void setSpan(unsigned short x);
UBYTE getChannel() const;
void setChannel(UBYTE x);
unsigned short getFacilitySpan() const;
void setFacilitySpan(unsigned short x);
UBYTE getAction() const;
void setAction(UBYTE x);
UBYTE getFacilityNum() const;
void setFacilityNum(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 (0x0007) |
3, 4 |
Message Type (0x00C6) |
3, 4 |
Message Type (0x00C6) |
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 |
|
Number of AEs to follow |
|||
AEs 0x0C Logical Span (See below) |
|||
: |
Action 0x02 Delete facility |
10 |
Checksum |
: |
Facility Number |
||
: |
Checksum |
Use the Channel and Span address type for this message. The table that follows shows you the format for addressing the span for Facility 0. Repeat the same format for facilities 1–8.
Byte |
AIB Field Description |
---|---|
Channel |
|
0 |
Address Type (0x0D) |
1 |
Data Length (0x03) |
2 |
Data[0] Logical Span ID, MSB |
3 |
Data[1] Logical Span ID, LSB |
4 |
Data[2] Channel |
Span, Facility 0 |
|
5 |
Address Type (0x0C) |
6 |
Data Length (0x02) |
7 |
Data[0] Logical Span ID, MSB |
8 |
Data[1] Logical Span ID, LSB |