EN
LoRaWAN TEMP - Guide utilisateur / User guide version V2.0.0
69 of 82
FR
o Bits 4 to 7: The user identifier defined in register 322
• Bytes 6 to 7: Value measured on the internal sensor
• Signed value on 16 bits,
• Expressed in tenths of degrees,
• Most Significant Byte first
• The special value 0x8000, equivalent to -3276, 8°C is returned in the event of a fault in the sensor.
In the example in grey this gives:
• Byte 2=0xD1:
o Bits 0 to 3 = 0x1: The internal sensor is present
o Bits 4 à 7 = 0xD: the identifier of the internal sensor defined by the user is equal to 0xD
• Bytes 3 to 4=0x015E: The value measured on the internal sensor is 350/10=35°C
• Byte 5=0x82:
o Bits 0 to 3 = 0x2: The external sensor is of the type external CTN sensor FANB57863-400-1
o Bits 4 to 7 = 0x8: the identifier of the internal sensor defined by the user is equal to 0x8
• Bytes 6 to 7=0xFF06: as this field is signed the hexadecimal value 0xFF06 = -250. Hence the value measured on the external sensor is
-250/10=-25°C
4.1.5 Reply frame to a register value request in a downlink frame
Following reception of a downlink frame with the code 0x40, the frame 0x31 is transmitted.
It contains all the values of the registers requested in the downlinl frame 0x40.
• Frame (0x40) sent to the product (downlink) :
0
1
2
3
4
5
...
n
Code
PAYLOAD
0x40
CONFID1
CONFID2
CONFID3
X
X
X
CONFIDn
The CONFIDX (8bits) fields represent the indices of the registers to be sent. The corresponding register is 300 + CONFIDX value.
• Response frame (0x31) from the product:
0
1
2
3
4
5
...
11
Code
Status
PAYLOAD
0x31
Cf. Status
VALUE1
VALUE1
VALUE2
VALUE3
VALUE3
X
In this example: CONFID1 is a 2-byte register, CONFID2 a 1-byte register and CONFID3 a 2-byte register.
If an error is detected in the request, the returned 0x31 frame will be empty.
DISTRIBUTED BY TEXIM EUROPE