CHAPTER 3
Performing Advanced Functions
32
VER
D
ESCRIPTION
Requests the firmware version of the device.
P
ARAMETERS
None.
R
ETURNS
The current version.
R
EMARKS
GET
only.
R
EMOTE
No.
E
XAMPLE
VER
15535 VER 2.14.0 0
#
SDI
D
ESCRIPTION
A complex command that can be used to check the status of the
SDI-12 subsystem, as well as configure it.
P
ARAMETERS
The command has a multitude of options. If issued without param-
eters, the GET variant is implied, i.e. the status of the SDI-12 sub-
system will be returned (see also bellow). The following
parameters/formats of the command can be used:
•
sdi +
adds a measurement to the list. If you add the C
argument, CRC-measurements are used (default is without
CRC). You can set a different measurement method with M
followed by a number (default M0) or you can choose
continuous measurement by choosing R followed by a
number. In addition, you can set up to 24 bits in the value
index map by adding a mix of several index numbers
(separated by white spaces or ',', default 0-19) and bit masks
starting with 0x, e.g., 0x3 for indexes 0 and 1 (see also the
examples). The R-Method performs “Continuous
Measurements” (see SDI-12 standard). All measurements are
performed sequentially in the order they are situated in the
table.
•
sdi -
removes a configuration entry. The argument are the
sdi-
addr
and the
method
('M' or 'R') and optionally the checksum
flag 'C'. Sensors are considered as belonging to the same
sensor unit if they have the same
sdi-addr
and
method
.
•
sdi I
returns the sensor configuration, including the sensor
identifier string in double quotes, where '\' and '"' in the id
string are escaped with a '\'. Invalid characters (those outside