IP Address Query 0x00E6

SwitchKit Name

IPAddressQuery

Type

EXS API and SwitchKit API message

Description

This message allows the host to query the IP address, subnet mask, and reset indicator for Common Channel Signaling cards, VDAC cards, and VDAC VoIP Modules.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

UBYTE Slot;

} XL_IPAddressQuery;

C Structure Response

typedef struct {

unsigned short Status;

UBYTE TLVCount;

UBYTE Data[250];

} XL_IPAddressQueryAck;

C++ Class

class XLC_IPAddressQuery : public XLC_OutboundMessage {

public:

UBYTE getSlot() const;

void setSlot(UBYTE x);

};

C++ Class Response

class XLC_IPAddressQueryAck : 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 (White)

RESPONSE (Gray)

Byte

Field Description

Byte

Field Description

0

Frame (0xFE)

0

Frame (0xFE)

1, 2

Length (0xNNNN)

1, 2

Length (0x000B)

3, 4

Message Type (0x00E6)

3, 4

Message Type (0x00E6)

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

Number of AEs to follow

AE

0x01 Slot

:

Checksum

10

Number of TLVs

 

Response continued below:

:

TLV

0x01 Module, IP Address, and Subnet Mask

0x04 Reset Indicator

0x05 Gateway IP

0x09 Ethernet Link Redundancy

0x0A Activate Ethernet Port

:

Checksum