Sensorsoft ST6105C User Manual - page 21
Sensorsoft Thermometer User Manual
Reading the Sensorsoft ID Record
Every Sensorsoft device (SSD) accepts an identification (ID) command, whose response can be
used to uniquely identify the type of SSD currently connected. Specifically, the model number
and description can be extracted from the SSD’s ID response, allowing application software to
determine the specific model of the SSD connected and to configure itself appropriately.
The format of the ID command is identical to the format of all other commands, described earlier.
Send the following bytes to the SSD to request the ID:
The ID response contains four variable-length, null-terminated strings. The sequence of four
strings begins at the 10
th
byte in the response packet.
To read the SSD’s description, count to the 10
th
byte in the ID response and extract the following
ASCII null-terminated string.
Following this is the manufacturer’s name; also a null-terminated string.
The third null-terminated string is the SSD’s model number. The model number can be used to
uniquely identify the type of SSD, so that your software can configure itself appropriately for
different models of SSDs.
The fourth and final null-terminated string is the SSD’s firmware version.
Structure of the ID response packet
Byte
Description of field
1 Response
byte
2-3 Packet
length
4-9 Not
used
10
Device name or description (null-terminated)
~ Manufacturer
(null-terminated)
~
Model Number (null-terminated)
~
Firmware Version (null-terminated)
~
Record Terminator (FFh)
~
CRC bytes (2)
21