SYMEO Local Positioning Radar System
Product Family LPR
®
-1DHP-200 – Product Documentation
The Customer Protocol
Copyright © Symeo GmbH 2018
DOC.EDO.000341.WORK.EN_LPR-1DHP-200_Product-Documentation.docx
Page 62 of 71
9
The Customer Protocol
The customer protocol (Binary Protocol XP) is the standard data protocol between LPR
®
-
1DHP-200 units and users for exchanging measurement and relay data with the help of
different data types in binary data format. The transfer of a data packet of a certain data type
is done in single data frames. The data can be transferred either via TCP/IP or UDP protocol.
All settings related to the customer protocol can be found in the WebUI
under
Device
->
Settings
->
Customer protocol
The default TCP/IP and UDP port of the customer protocol interface is
3046.
The customer protocol is not output on slave units.
9.1
General Description
9.1.1
Structure of a Data Type
Each data type has a fixed structure and length.
Figure
9.1
shows the general structure of a
data type.
Figure 9.1
:
Structure of a data type
Each data packet begins with the START symbol (0x7e). TYPE indicates the type of the data
packet. The DATA field contains the relevant data. The CRC-field contains the check sum.
The data type ends with the END symbol (0x7f).
All multi byte integers (e.g. CRC field) are encoded in Network-Byte-Order (Big-Endian). All
signed integers are represented in two's complement.
A custom protocol length which is bigger than the standard protocol
length can be set. T
he data packet is then zero-padded (after the END
symbol) to the selected protocol frame length before the data packet is
sent.
9.1.2
CRC
The CRC-16-IBM with polynomial x
16
+x
15
+x
2
+1 is used for the CRC. The CRC is calculated
over the TYPE and DATA field.