You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > V5 Configuration Query 0x007C
SwitchKit Name
V5Query
Type
EXS API and SwitchKit API message
Description
This message queries the configured values of all configurable V5.2 parameters.
Sent by
C Structure
typedef struct {
UBYTE AddrInfo[30];
UBYTE QueryType;
UBYTE Reserved;
} XL_V5Query;
C Structure Response
typedef struct {
unsigned short Status;
UBYTE TLVCount;
UBYTE Data[250];
} XL_V5QueryAck;
C++ Class
class XLC_V5Query : public XLC_OutboundMessage {
public:
const UBYTE *getAddrInfo() const;
UBYTE *getAddrInfo();
void setAddrInfo(UBYTE *x);
UBYTE getSlot() const;
void setSlot(UBYTE x);
XBYTE getV5ID() const;
void setV5ID(XBYTE x);
UBYTE getQueryType() const;
void setQueryType(UBYTE x);
UBYTE getReserved() const;
void setReserved(UBYTE x);
};
C++ Class Response
class XLC_V5QueryAck : public XLC_AcknowledgeMessage {
public:
unsigned short getStatus() const;
void setStatus(unsigned short x);
UBYTE getTLVCount() const;
void setTLVCount(UBYTE x);
const UBYTE *getData() const;
UBYTE *getData();
void setData(UBYTE *x);
};
EXS API Hex Format
MESSAGE |
RESPONSE |
||
Byte |
Field Description |
Byte |
Field Description |
0 |
Frame (0xFE) |
0 |
Frame (0xFE) |
1, 2 |
Length (0xNNNN) |
1, 2 |
Length (0xNNNN) |
3, 4 |
Message Type (0x007C) |
3, 4 |
Message Type (0x007C) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Sequence Number (same as message) |
7 |
Logical Node ID |
7 |
Logical Node ID |
8 : |
Address Method
|
8, 9 |
0x01 Unrecognized Entity Also refer to common Response Status Values |
|
Number of AEs to follow |
10 |
Number of TLVs to follow |
|
AEs 0x01 Slot
|
||
: |
Query Type 0x01 Query all host-configured V5 IDs (uses Slot AIB).
0x02 Query all host-configured C Channels per V5 ID.
0x03 Query all host-configured links per V5 ID.
0x04 Query all other host-configured options per V5 ID. • Variant ID (0x03) • Reserved type (0x08) • LE or AN side (0x05) • V5 Interface ID (0x10)
0x05 Query all host-configured user ports per V5 ID.
0x06 Query the Service State of the V5 ID.
0x07 Host-configured User Port Range.
0x08 Query all configured Cpaths. |
: |
TLVs 0x0001 Create V5 ID |
: |
Reserved (0x00) |
: |
|
n+1 |
Checksum |
n+1 |
Checksum |