Smart LoRaWAN Bluetooth Gateway
10
/
25
beacon received and the time message sent.
N = (M+1) / 2
Byte0: bit7 bit6 bit5 bit4 | bit3 bit2 bit1 bit0
Beacon0 | Beacon1
Byte1: bit7 bit6 bit5 bit4 | bit3 bit2 bit1 bit0
Beacon2 | Beacon3
…
Example: If there are 4 beacons in the message, then M
will be 4, and N will be 2. Suppose the message is sent at
15:04:27, the beacon1 is received at 15:04:25, beacon2 at
15:04:23, beacon3 at 15:04:26, beacon4 at 15:04:27, then
TMOFF should be 0x2410.
This field is designed for precise positioning, and if multi
gateways receive a beacon at the same time, the server
can calculate the distance between the beacon and
gateway, and then calculate the position of the beacon.
4.4.4
Bracelet
Bytes
1
6
1
2
1
1
1
2
1
1
..
N
Item
TYPE
MAC
HB
STEPS
BAT
SYSP
DIAP
CALO
RSSI
SOS
..
TOFF
TYPE FIELD
Bit
Name
Value
Description
7~4
TYPE
0x9
Message type, CS uses it to identify different uplink
messages.
3~0
LENGTH
1~6
The number of bracelets transmitted in this message
MAC FIELD
Bit
Name
Value
Description
47~0
MAC
6 bytes
MAC address of the bracelet
HB FIELD
Bit
Name
Value
Description
7~0
HB
Integer
Heartbeat
Records the heartbeat rate of the person who wears the
bracelet.
STEPS FIELD
Bit
Name
Value
Description
15~0
STEPS
Short
Steps amount in one day
BAT FIELD