EXS Node Configure 0x007F

SwitchKit Name

NodeConfig

Type

EXS API and SwitchKit API message

Description

Use this message to configure entities in a node.

Sent by

Host

SwitchKit Code

Configuration

NodeConfig (

Node = integer,

Entity = integer,

DataLen = integer,

Data = byte array);

C Structure

typedef struct {

unsigned short Entity;

UBYTE DataLen;

UBYTE Data[250];

} XL_NodeConfig;

C Structure Response

typedef struct {

unsigned short Status;

unsigned short Entity;

UBYTE DataLength;

UBYTE Data[248];

} XL_NodeConfigAck;

C++ Class

class XLC_NodeConfig : public XLC_OutboundMessage {

public:

unsigned short getEntity() const;

void setEntity(unsigned short x);

UBYTE getDataLen() const;

void setDataLen(UBYTE x);

const UBYTE *getData() const;

UBYTE *getData();

void setData(UBYTE *x);

};

C++ Class Response

class XLC_NodeConfigAck : public XLC_AcknowledgeMessage {

public:

unsigned short getStatus() const;

void setStatus(unsigned short x);

unsigned short getEntity() const;

void setEntity(unsigned short x);

UBYTE getDataLength() const;

void setDataLength(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 (0xNNNN)

3, 4

Message Type (0x007F)

3, 4

Message Type (0x007F)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

8, 9

Entity

0x0001 Number of Timeslots

0x0002 Reserved

0x0003 Number of EXNET Connect Channels

0x0004 Clock Master

0x0005 Master on Multiple Ring Configure

0x0006 CTNETREF/PCI H.100

8, 9

Status MSB, LSB

10, 11

Entity

10

Data Length

12

Data Length

11

Data

The meaning of this field depends on the value of the Entity field.

 

0x0001 Number of Timeslots

Data Length: 0x02

 

The value of this word-length field
represents the number of timeslots
assigned for CSP Conferencing. The
valid entry for this field is as follows:

Data[0,1] 0xFFFF
Assign all unused timeslots

 

0x0002 Unused

13

Data

The meaning of these fields depends on the value of the Entity field in the message.

 

0x0001 Number of Timeslots

Valid entries for these fields based on the
Entity field value 0x01 are as follows:


Data Length: 0x02

Data[0,1] Number of Timeslots
Allocated for CSP Conferencing
Conferencing (MSB, LSB)

 

0x02 Unused

 

 

:

Checksum

 

0x03 Number of EXNET Connect Channels

Data Length: 0x03

Data[0, 1] Span (MSB, LSB) All spans 0xFFFF

Data[2] Number of Channels

0x18 - 24 (T1)

0x20 - 32 (E1)

 

Note: You must de-assign spans before modifying the number of channels per span.

 

 

0x04 Clock Master

Data Length: 0x03

 

Data[0] Slot Number

Data[1] Bus Master

0x00 Not SCbus clock master/H.100 Slave to clock A

0x01 Become SCbus clock master/H.100 primary clock master driving clock A

0x02 H.100 secondary clock master driving clock A

0x03 H.100 slave to clock B

0x04 H.100 primary clock master driving clock B

0x05 H.100 secondary clock master driving clock B

 

Data[2] Speed

0x00 4 MHz

0x01 2 MHz (Reserved)

0x02 8 MHz

 

Example

Data[2] corresponds to the local bus speed. Value 0x00 corresponds to SCSA compatibility mode
speed for PCI/H.100 card.

 

 

0x05 Master on Multiple Ring Configure

 

 

 

Indicates whether or not a node is allowed to become the EXNET Master of multiple rings.

Data Length: 0x01

Data[0] Master on Multiple Ring Flag

0x01 Allow this node to be Master on more than one ring simultaneously.

0x00 Do not allow this node to be Master on more than one ring simultaneously. (Default)

 

 

0x06 CTNETREF

Data[0] Slot Number

:

Checksum