22
Sample Write Response:
OK
Additional Temperatures:
T1 or T2
Description:
Enables or disables additional temperatures for MK-III
weather stations equipped auxiliary temperature sensors. This affects the
header, output strings, minimums and maximums. Use the HEADER com-
mand to determine the parameters position in the data string for the NOW,
DOWNLOAD, MIN and MAX commands.
Values:
?,ENABLE, DISABLE
Syntax (Read):
T1=?
or
T2=?
Syntax (Write):
T1=ENABLE
or
T1= DISABLE
or
T2=ENABLE
or
T2= DISABLE
Sample Read Response:
ENABLED
Sample Write Response:
OK
Calculating the Checksum:
The CC-3000 uses a 16 CRC checksum. The CRC uses the same polynomial
as the one used in Xmodem transfers (XMODEM-CRC).
The Polynomial is as follows:
x
16
+ x
12
+ x
5
+ 1
The CRC is calculation starts at the first ASCII character of the response.
Leading carriage return line feeds are not included. All characters are included
in the calculation up until but not including the exclamation character. The
checksum is represented as a hexadecimal number.
The following C example code can be used to calculate the checksum:
Summary of Contents for CC-3000
Page 12: ...12...