Property of Kerr Measurement Systems Inc. Page 10 of 15 Rev A.
Mar-2002
Rosenberg, TX 77471
Phone:
Fax:
Homepage: www.kerrms.com
E-Mail: [email protected]
6415 Reading Road
281-342-6415
281-342-4848
5.5
Data packet format
This section explains the build up of the data packet. All data
within the packet is in ASCII format:
{
device byte, datatype, ... data ..., checksum
}
A single data packet is transmitted within an ASCII start and end
ID:
The start ID is an opening brace: {
The end ID is a closing brace: }
The data packet contains information about the device, data type,
data and a checksum:
Device byte:
primary address
10
secondary address
11
Data Type:
Depth in feet
DF
Depth in meters
DM
... data ... : This is a variable length field, a minus sign is
included for negative numbers, and a decimal point character is
included
Checksum is calculated using the sum of the ASCII codes of
the data packet. The tens and units digits are transmitted in
ASCII form. The checksum digits are not included in the sum.
Example data packets:
{10DF33252.286}
{10DF33252.286}