1 packet structure, 1 start of packet – Comtech EF Data CRS-300 User Manual

Page 220

Advertising
background image

CRS-300 1:10 Redundancy Switch

MN/CRS300.IOM

Serial-based Remote Product Management

Revision 19

7–4

7.5.1

Packet Structure

The exchange of information is transmitted, Controller-to-Target and Target-to-Controller, in ‘packets’. Each packet contains a finite

number of bytes consisting of printable ASCII characters, excluding ASCII code 127 (DELETE).

In this context, the Carriage Return and Line Feed characters are considered printable. With one exception, all messages from Controller-

to-Target require a response – this will be either to return data that has been requested by the Controller, or to acknowledge reception of an

instruction to change the configuration of the Target.

Controller-to-Target

Start of Packet

Target Address

Address Delimiter

Instruction Code

Code Qualifier

Optional Arguments

End of Packet

<

ASCII code 60

(1 character)

(4 characters)

/

ASCII code 47

(1 character)

(3 characters)

= or ?

ASCII codes 61 or 63

(1 character)

(n characters)

Carriage Return

ASCII code 13

(1 character)

Example: <0000/RSH=30{CR}

Target-to-Controller

Start of Packet

Target Address

Address Delimiter

Instruction Code

Code Qualifier

Optional Arguments

End of Packet

>

ASCII code 62

(1 character)

(4 characters)

/

ASCII code 47

(1 character)

(3 characters)

=, ?, !, or *

ASCII codes

61, 63, 33, or 42

(1 character)

(From 0 to n characters)

Carriage Return, Line

Feed

ASCII codes 13,10

(2 characters)

Example: >0000/BBU=107{CR}{LF}

7.5.1.1 Start of Packet

Controller-to-Target: This is the character ‘<’ (ASCII code 60).

Target-to-Controller: This is the character ‘>’ (ASCII code 62).

The ‘<’ and ‘>’ characters indicate the start of packet. They may not appear anywhere else within the body of the message.

Advertising