LDI Intellectual Property.
Not for secondary distribution or replication, in part or entirety.
DIGISONDE-4D
SYSTEM MANUAL
VERSION 1.2.11
SECTION 5 - SYSTEM SOFTWARE – ANNEX A 5-29
Table 5A- 2: Primitive Field Types
Unsigned integer represented as ASCII Coded Decimal
Each decimal digit of integer number takes one byte of external memory and its ASCII code will be
saved there. If length of the field is larger than length of bytes occupied by integer number then this
number has to be shifted to the right edge of the field and has to be padded either by ASCII code of ‘0’
or ASCII code of SPACE.
Signed integer represented as ASCII Coded Decimal
Each decimal digit of integer number takes one byte of external memory and its ASCII code will be
saved there. ASCII code of sign can be saved as first byte. If length of the field is larger than length of
bytes occupied by integer number then this number has to be shifted to the right edge of the field and has
to be padded either by ASCII code of ‘0’ or ASCII code of SPACE.
5:74. Any of these basic types can be used to construct an array, for example, INT8U array.
COMMON PACKET FORMAT
5:75. Generally, all DPS V6 packets consist of the following 5 sections (Table 5A- 3):
• Sync Pattern, used for frame synchronization in the lossy communication environments. Sync pattern
for DPS V6 is 3 byte sequence 0xFEFA31
3
.
• Length (byte count of the packet contents, including all packet elements from sync pattern to the
checksum)
• Packet Type, used to distinguish it from other packets requiring different actions
• Packet Data (Data Section of Packet)
• Checksum (XOR of all bytes in the packet)
5:76. Length, Packet Type and Packet Data constitute the packet Payload.
Table 5A- 3: Common Packet Format
Sync Pattern
0xFE, 0xFA, 0x31
Length of packet including SYNC, LENGTH,
TYPE, DATA, and CS
3
FEFA30 header is used for RPI, and FEFA32 header is used for TNT.