Picture as below, FRMPayload is sensor data.
Type
Value
Value
Value
1 Byte
3 bit
5bit
1 Byte
0x00
Version
Battery Level
Reserve
Type
1 Byte
Value
1 Byte
Comment
0x09
switch state
1-byte unsinged integer. The
sepecific meaning depends on
the item.
Gennerally, a single bit represents
one channel of switching value(0
is OFF or 1 is ON),and 8 switch
value Max
For Example:
FRMPayload(hexadecimal string) is 00 3F 24 09 00
0x00 is device information
0x3F (binary is 0011 1111b) version 1 and level 31
0x24 is reserve, generally is MCU voltage
0x09 is water leak sensor
0x00 is no water, 0x01 is there is water
6. Sensor Data Definition
6.1 Device Information(0x00)
6.1 Water leak sensor(0x09)