Host Protocols Direct Protocol CONTROL class Queries GET DATA TEMPERATURES
September 27, 2024 at 6:57 AMGET TEMPERATURES
This instance of the GET DATA instruction reads the device’s internal temperatures.
To access this instruction, invoke GET DATA (INS=20
) with DATA=BD
Response data
All temperature-related values are provided as a list of Tags / Values. A missing entry denotes that the information is not available in the device.
Every Tag is on one byte, every Length is on one byte equal to 2, since every Value is on two bytes. Values are signed words. The value has to be divided by 100 to give the temperature in degrees Celcius.
List of Tags
Tag | Meaning |
---|---|
00 |
Temperature measured by the battery monitor |
01 |
Temperature measured by the Micore |
02 |
Temperature measured by the MCU |
Example
< 58 20 BD
> 00 01 02 11 F8 02 02 0C 1C
First Tag is 01
, denoting that the device does not have a battery monitor.
Temperature of the Micore is 11F8
, i.e. 4600 in decimal. Divided by 100 this makes 46.0°C.
Temperature of the MCU is 0C1C
, i.e. 3100 in decimal. Divided by 100 this makes 31.0°C.