LW004-CT
21 www.mokosmart.com
Byte Index
Type
Data Type
Value
Description
Byte0
Payload Type
Uint
0x05
05 means SOS Alarm
Payload
01: Alarm data
Byte1
Battery Level
Uint
0x00-0x64
Convert to decimal, unit
is %.
Byte 2 – 8
Timestamp
Uint
0X00000000000000
-OxFFFFFFFFFFFFFF
Convert to decimal. Byte
2
-
3 represents the year;
Byte 4 represents the
month; Byte 5
represents the date;
Byte 6 represents the
hour; Byte 7 represents
minute; Byte 8
represents second;
Byte 9
-
14
The host MAC
Uint
0X000000000000
-
0XFFFFFFFFFFFF
The byte order is Big
-
Endian. Example: B1 FA
1E 36 EF 03, the real
MAC address is B1 FA 1E
36 EF 03. The host refers
to the LW004
-
CT that
reports the data.
Byte 15
-
20
MAC address of
the slave device
Uint
0X000000000000
-
0XFFFFFFFFFFFF
The byte order is Big
-
Endian. Example: B1 FA
1E 36 EF 03, the real
MAC address is B1 FA 1E
36 EF 03.
The slave
refers to the device in
emergency contact with
the host.
Byte 21
RSSI of the slave
device
Int
0X00
-
0XFF
Converts directly to
decimal numbers, then
Minus 256. The unit is
dBm.
Byte 22
-
27
MAC address of
1
st
Location
Beacon
Uint
0X000000000000
-
0XFFFFFFFFFFFF
The byte order is Big
-
Endian. Example: B1 FA
1E 36 EF 03, the real
MAC address is B1 FA 1E
36 EF 03.
Byte 28
RSSI of 1
st
Location Beacon
Int
0X00
-
0XFF
Converts directly to
decimal numbers, then
Minus 256. The unit is
dBm.
Byte 29
-
34
MAC address of
2nd Location
Beacon
Uint
0X000000000000
-
0XFFFFFFFFFFFF
The byte order is Big
-
Endian. Example: B1 FA
1E 36 EF 03, the real
MAC address is B1 FA 1E
36 EF 03.