
Installation Manual
M300-62/rev.2
107
Element
Scaling
Format
Bytes
Value
Status word
Bit-fields
1
Checksum
Unsigned
2
Checksum is calculated as a 16-bit Block Cyclic Redundancy Check of all bytes
between, but not including the Header and Checksum fields. The CRC algorithm is
described in a separate section. Time is divided in an integer seconds part and a
fractional second part. The integer seconds part of time is counted from 1970-01-01
UTC time, ignoring leap seconds. Heave is positive down. The status field is zero if
heave is valid, non-zero if heave is invalid.
A.15
Cyclic redundancy check algorithm
The 16-bit Block Cyclic Redundancy Check algorithm used to calculate the checksum
in some formats is described in C and Fortran source code below.
C code:
#define POLY 0x8408
unsigned short blkcrc(
unsigned char *bufptr, /* message buffer */
unsigned long len /* number of bytes */
)
{
unsigned char i;
unsigned short data;
unsigned short crc = 0xffff;
if (len == 0L) {
return ~crc;
}
do {
for (i=0, data = (unsigned short) (0xff & *+);
i < 8;
i++, data >>= 1) {
if ((crc & 0x0001) ^ (data & 0x0001)) {
crc = (crc >> 1) ^ POLY;
} else {
crc >>= 1;
}
}
} while (--len);
Summary of Contents for Seapath 320
Page 1: ...Seapath 320 Installation Manual ...
Page 20: ...Seapath 320 4 M300 62 rev 2 ...
Page 42: ...Seapath 320 26 M300 62 rev 2 ...
Page 98: ...Seapath 320 82 M300 62 rev 2 ...
Page 100: ...Seapath 320 84 M300 62 rev 2 5 1 Processing and HMI Units ...
Page 101: ...Installation Manual M300 62 rev 2 85 ...
Page 102: ...Seapath 320 86 M300 62 rev 2 5 2 Antenna bracket ...
Page 103: ...Installation Manual M300 62 rev 2 87 5 3 MRU and mounting bracket ...
Page 104: ...Seapath 320 88 M300 62 rev 2 ...
Page 105: ...Installation Manual M300 62 rev 2 89 5 4 MRU junction box ...
Page 107: ...Installation Manual M300 62 rev 2 91 5 6 6 U cabinet dimensions ...
Page 108: ...Seapath 320 92 M300 62 rev 2 ...
Page 126: ...Seapath 320 110 M300 62 rev 2 ...
Page 127: ...Installation Manual M300 62 rev 2 111 ...
Page 128: ...Seapath 320 112 M300 62 rev 2 ...
Page 129: ...Installation Manual M300 62 rev 2 113 ...
Page 130: ...Seapath 320 114 M300 62 rev 2 ...
Page 133: ...Installation Manual M300 62 rev 2 117 APPENDIX D COAX CABLE SPECIFICATION ...
Page 134: ...Seapath 320 118 M300 62 rev 2 ...
Page 135: ...Installation Manual M300 62 rev 2 119 APPENDIX E RG 214 SPECIFICATIONS ...
Page 136: ...Seapath 320 120 M300 62 rev 2 ...
Page 152: ...Seapath 320 136 M300 62 rev 2 ...