beautypg.com

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

Page 165

background image

CRS-500 1:N Redundancy System

Revision 2

Serial-based Remote Product Management

MN-CRS500

9–5

9.4.2 Packet Structure

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]

9.4.2.1 Start Of Packet

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

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

Because this is used to provide a reliable indication of the start of packet, these two characters may not appear anywhere else within

the body of the message.