4 packet structure, 1 start of packet, 2 target address – Comtech EF Data CLC-10 User Manual
Page 39
CLC-10 Comtech LPOD Controller Handheld Terminal M&C Accessory
Revision 3
Serial-Based M&C using the CLC-10
MN-CLC10
3–7
3.4.4
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)
0-9
ASCII codes 48-57
(4 characters)
/
ASCII code 47
(1 character)
A-Z, a-z
ASCII codes 65-90,
97-122
(3 characters)
= or ?
ASCII codes
61 or 63
(1 character)
(n characters)
Carriage Return
ASCII code 13
(1 character)
Example: <0412/MUT=1{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)
0-9
ASCII codes 48-57
(4 characters)
/
ASCII code 47
(1 character)
A-Z, a-z
ASCII codes 65-90,
97-122
(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: >0412/MUT=1{CR}{LF}
3.4.4.1
Start of Packet
Controller-to-Target: This is ‘less-than’ the character '<' (ASCII code 60).
Target-to-Controller: This is the ‘greater-than’ 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.
3.4.4.2
Target Address
Up to 9,999 devices can be uniquely addressed. In EIA-232 applications, this value is set to 0. In EIA-485 applications, the permissible
range of values is 1 to 9999.