sigfox TEMP- Guide utilisateur / User guide version V2.0.0
• 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
Code
Status
0x40
CONFID1
CONFID2
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
Code
PAYLOAD
0x31
Status
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.
4.1.6 Data Frame
This frame (0x43) contains the values measured on the different sensors.
0
1
2
Code
Status
internal
0x43
Cf Status
sensor
identifier
0x43
0xA2
0xD1
2
3
4
PAYLOAD
CONFID3
X
2
3
4
VALUE1
VALUE1
VALUE2
3
4
Value read on the
internal sensor
0x015E
5
...
X
X
5
...
PAYLOAD
VALUE3
VALUE3
5
6
7
PAYLOAD
External
Value read on the
sensor
internal sensor
identifier
0x82
0xFF06
7
CONFID8
11
X
8
9
FR
EN
10
X
Page
65
of 79