14
The DeviceType are 0x01 and 0x02, and the interval between the two packets of data is 10s.
If the light sensor function is disabled, only one packet of data will be reported each time.
Uplink: 01D2011C084900120ADC6A
1
st
byte (01): Version
2
nd
byte (D2): DeviceType 0XD2
-
R315 Series
3
rd
byte (01): Report Type
4
th
byte (1C): Battery
-
2.8v , 1C Hex=28 Dec 28*0.1v=2.8v
5
th
6
th
byte (0849): FunctionEnableBits, 0x0849 = 0000 1000 0100 1001 (Bin) //Bit 0,3,6,11 = 1 (enable)
Bit0:
Temperature and Humidity
Bit3: Emergence Button
Bit6: Reed Switch
Bit11: Water Leak
7
th
8
th
byte (0012): BinarySensorReport, 0x0012 = 0000 0000 0001 0010 (Bin) //Bit 1,4 = 1 (ON)
Bit1: Emergence Button Alarm
Bit4: Reed Switch Alarm
9
th
10
th
byte (0ADC): Temperature
-
27.8°C, ADC Hex=2780 Dec 2780*0.01°C =27.80°C
11
th
byte (6A): Humidity
-
53%, 6A Hex=106 Dec 106*0.5% =53%
Note:
1. Battery (1Byte, unit:0.1V): Bit7 represent low battery, Bit6-0 represent battery voltage
2. Temperature (Signed 2Bytes, unit:0.01°C): Negative numbers are represented by 2's complement
7.2 Example of ConfigureCmd
FPort
:
0x07
Bytes
1
1
Var (Fix =9 Bytes)
CmdID
DeviceType
NetvoxPayLoadData
CmdID– 1 byte
DeviceType– 1 byte – Device Type of Device
NetvoxPayLoadData– var bytes (Max=9bytes)