beautypg.com

2 packet structure – Comtech EF Data MBT-5000 User Manual

Page 106

background image

MBT-5000 L-Band Up/Down Converter System

MN-MBT5000

Serial-based Remote Product Management

Revision 4

7–4

7.2.2

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. All messages from Controller-to-Target require a

response, with one exception: 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. The exception to this is when the Controller broadcasts a message (such as Set

Time/Date) using Address 0, when the Target is set to EIA-485 mode.

Controller-to-Target (Issued Command or Query)

Start of Packet

Target Address

Address Delimiter

Instruction Code

Code Qualifier

Optional Arguments

End of Packet

<

ASCII code 60

(1 character)

0000 (default)

(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)

Packet Example:

<0000/RSH=30[cr]

Target-to-Controller (Response to Command or Query)

Start of Packet

Target Address

Address Delimiter

Instruction Code

Code Qualifier

Optional Arguments

End of Packet

>

ASCII code 62

(1 character)

0000 (default)

(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)

Packet Example:

>0000/BBU=107[cr][lf]

Detailed description of the packet components follow.