SYMEO Local Positioning Radar System
LPR-1DHP
Product Documentation
Protocol XP Description for TCP/IP and RS232
Copyright © Symeo GmbH 2010
Seite 38 von 40
Byte stuffing is deactivated for the fixed frame protocol (compare chapter
8.3).
8.1.3
CRC
The CRC-16-IBM with polynomial x
16
+x
15
+x
2
+1 is used for the CRC. The CRC is calculated
over all data fields (TYPE and DATA), but not for the START and END field.
The CRC-calculation is only applied to the original symbols. The appropriate calculation for
coding must applied
before
byte stuffing. If receiving the data from the LPR-1DHP system
the byte stuffing must be resolved to get the original symbol. Then the CRC is updated with
the original symbol.
8.2
Data Types
8.2.1
Type 0x00
– Distance Data
Direction: LPR-
1DHP → User
Content
Length
Value
Data type
START
1
0x7E
TYPE
1
0x00
Internal service information
2
0x####
Internal service information
2
0x####
Internal service information
1
0x##
Distance [mm]
4
0x#### ####
signed integer
Velocity [mm/s]
4
0x#### ####
signed integer
Level [dB]
1
0x##
signed integer
Error
1
0x##
unsigned integer
Internal service information
1
0x##
CRC
2
0x####
END
1
0x7F
Total length without byte stuffing: 21 byte