Synchronization Priority List Query 0x0081

SwitchKit Name

SynchPriorityQuery

Type

EXS API and SwitchKit API message

Description

Synchronization Priority List Query 0x0081

This message is used to query the system’s clock source priority list, and the source currently in use.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

} XL_SynchPriorityQuery;

C Structure Response

typedef struct {

unsigned short Status;

UBYTE CurrentMode;

UBYTE Priority1Mode;

UBYTE Priority2Mode;

UBYTE Priority3Mode;

UBYTE Priority4Mode;

UBYTE Priority5Mode;

} XL_SynchPriorityQueryAck;

C++ Class

class XLC_SynchPriorityQuery : public XLC_OutboundMessage {

public:

};

C++ Class Response

class XLC_SynchPriorityQueryAck : public XLC_AcknowledgeMessage {

public:

unsigned short getStatus() const;

void setStatus(unsigned short x);

UBYTE getCurrentMode() const;

void setCurrentMode(UBYTE x);

UBYTE getPriority1Mode() const;

void setPriority1Mode(UBYTE x);

UBYTE getPriority2Mode() const;

void setPriority2Mode(UBYTE x);

UBYTE getPriority3Mode() const;

void setPriority3Mode(UBYTE x);

UBYTE getPriority4Mode() const;

void setPriority4Mode(UBYTE x);

UBYTE getPriority5Mode() const;

void setPriority5Mode(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 (0x0005)

1, 2

Length (0x000D)

3, 4

Message Type (0x0081)

3, 4

Message Type (0x0081)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

8

Checksum

8, 9

Status MSB, LSB

 

Response continued below.

10

Current Synchronization Mode

0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

11

Priority 1 Synchronization Mode
0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

12

Priority 2 Synchronization Mode
0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

13

Priority 3 Synchronization Mode
0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

14

Priority 4 Synchronization Mode
0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

15

Priority 5 Synchronization Mode
0x01 Primary Reference Clock Signal

0x02 Secondary Reference Clock Signal

0x03 Primary Loop Clock Signal

0x04 Secondary Loop Clock Signal

0x05 Free Running Clock Signal

16

Checksum