beautypg.com

Packet structure, Controller-to-target, Target-to-controller – Comtech EF Data LCS-4 User Manual

Page 67: Start of packet, A.2.1 p, A.2.1.1 s

background image

LCS-4 L-Band Combiner Switch

Revision 1

Remote Control Operation

MN/LCS4.IOM


A.2.1 P

ACKET

S

TRUCTURE

C

ONTROLLER

-

TO

-T

ARGET

:

Start of Packet

Target

Address

Address

De-limiter

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 code

61 or 63

(1 character)

(n characters)

Carriage

Return

ASCII code 13

(1 character)


Example: <0135/BSA=1{CR}

T

ARGET

-

TO

-C

ONTROLLER

:

Start of Packet

Target

Address

Address

De-limiter

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 code

61,63, 33 or 42

(1 character)

(From 0 to n
characters)

Carriage

Return

ASCII code 13, 10

(2 character)



Example: >0654/BSA=1{CR}{LF}

Each of the components of the packet is now explained.

A.2.1.1 S

TART

O

F

P

ACKET

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.

A-3