LoRaWAN TEMP - Guide utilisateur / User guide version V1.2.0
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 Data Frame
EN
This frame (0x43) contains the values measured on the different sensors.
0
1
Code
Status
0x43
Cf Status
0x43
0xA2
Description of the frame:
• Byte 2:
o Bits 0 to 3:
0: unknown/absent/error
1: CTN internal sensor B57863S0303F040
o Bits 4 to 7: The user identifier defined in register 302
• Bytes 3 to 4: 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.
• Byte 5:
o Bits 0 to 3:
0: unknown/absent/error
1: CTN external sensor E-NTC-APP-1.5P7
2: CTN external sensor FANB57863-400-1
o Bits 4 to 7: The user identifier defined in register 304
• 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 to 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:
2
3
4
internal
Value read on the
sensor
internal sensor
identifier
0xD1
0x015E
5
6
7
PAYLOAD
External
Value read on the
sensor
internal sensor
identifier
0x82
0xFF06
8
9
10
X
68 of 79