1 packet structure – Comtech EF Data CDM-625A User Manual

Page 315

Advertising
background image

CDM-625A Advanced Satellite Modem

MN-CDM625A

Serial-based Remote Product Management

Revision 3

8–3

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.

8.4.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: <0135/TFQ=70.2345{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 thru n

characters)

Carriage Return, Line

Feed

ASCII codes 13,10

(2 characters)

Example: >0654/RSW=32{CR}{LF}


Advertising