Data 178 (Scanned Base Beacon Data)¶
The Beacons information collected by terminal. Each Beacon occupies 8 bytes, including Type, MAC, RSSI.
The frame format of the Data 178 unit is as follows:
For example (Total 12 bytes):
80 B2 09 01 0C 12 34 56 78 90 AB BB
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|
|---|---|---|---|---|---|
ID |
Data ID |
2 |
80B2H (178) |
80B2H (178) |
|
Length |
Data Length |
1 or 2 |
00H-7FH or 8080H-80FFH |
||
Content |
Number |
1 |
00H-FFH |
||
The first Beacon |
Type |
1 |
|||
MAC |
6 |
||||
RSSI |
1 |
80H-FFH (dBm) |
|||
… |
|||||
Number
Indicates how many Beacons the following data comes from.
If the value of this field is 00H, no other fields are included.
Type
Indicates the type of the Beacon. It is refer to the parameter ‘Type’ in AT@BTBCN command.
For example, 0DH (i.e, 13) means the type is WID310.
For example, 50H (i.e, 80) means the type is Eddystone-UID.
For example, 51H (i.e, 81) means the type is iBeacon.
MAC
The MAC address of a Beacon.
For example, 1234567890ABH means the MAC address 12:34:56:78:90:AB.
RSSI
The received signal strength.
Expressed as an 8-bit signed integer and the unit is dBm. When the RSSI value is less than -128 (80H), it is also filled in as 80H, and when the RSSI value is greater than -1 (FFH), it is also filled in as FFH. In particular, 63H means the signal strength is not known or not detectable.
Typical values are as follows:
Value
Signal Strength (dBm)
Level
A7H to 80H
-89 or less
0
A8H to ADH
-88 to -83
1
AEH to B4H
-82 to -76
2
B5H to BEH
-75 to -66
3
BFH to FFH
-65 or greater
4
63H
Not known or not detectable
/