Smart LoRaWAN Bluetooth Gateway
9
/
25
Bit
Name
Value
Description
15~0
CRC
The same CRC16 as calculated in the register message.
It
can be used for the server to check for a configuration
mismatch.
4.4.3
Beacon
This chapter describes the Bluetooth beacons that broadcast major and minor instead of MAC.
Bytes
1
2
2
1
2
2
…
N
Item
TYPE
MAJOR
MINOR
RSSI
MAJOR
MINOR
…
TOFF
Byte0
Byte1
…
B0
B1
B2
B3
TYPE FIELD
Bit
Name
Value
Description
7~4
TYPE
0x8
Message type, CS uses it to identify different uplink
messages.
3~0
LENGTH
M (1~15)
The number of beacons transmitted in this message
The gateway can receive 100 beacons within one second.
It transmits maximum 15 beacons in one message. The
rest are transmitted 15 by 15 in the next cycle if there are
more than 15.
MAJOR FIELD
Bit
Name
Value
Description
15~0
MAJOR
Short
Major of Bluetooth beacon.
MINOR FIELD
Bit
Name
Value
Description
15~0
MINOR
Short
Minor of Bluetooth beacon.
RSSI FIELD
Bit
Name
Value
Description
7~0
RSSI
Integer
Received Signal Strength Indication of the beacon; the
server utilizes it to calculate the distance.
This value -256 = the real RSSI
Example: the value is 170, the real RSSI =170 - 256 = -86
dBm
TOFF FIELD
Bytes
Name
Value
Description
N
TMOFF
Time offset means the delta between the time every