PreviousNext
Read
Help > Peripherals > Thermometer > Read

Reads on-board thermometer sensor value.

 

Request

NADR

PNUM

PCMD

HWPID

NADR

0x0A

0x00

?

 

Response

 

NADR

PNUM

PCMD

HWPID

ErrN

DpaValue

0

1

2

NADR

0x0A

0x80

?

0

?

IntegerValue

SixteenthValue

 

IntegerValue      Temperature in °C, integer part, not rounded.
See the return value of the
getTemperature IQRF OS function. If the temperature sensor is not installed (see TR Configuration) then the returned value is 0x80 = -128 °C.

SixteenthValue  Complete 12 bit value of the temperature in 1/16 = 0.0625 °C units with 0.5 °C resolution. See the param3 output value of the getTemperature IQRF OS function. If the temperature sensor is not installed the value is undefined.