The display wlan ble site-info command displays information about Bluetooth devices that are scanned by an AP's built-in Bluetooth module.
display wlan ble site-info { all | mac-address mac-address | host-ap { valid | host-ap-id ap-id | host-ap-name ap-name } }
Parameter | Description | Value |
---|---|---|
all | Displays information about all Bluetooth devices. | - |
mac-address mac-address | Displays information about a specified Bluetooth device. | The value is in H-H-H format. An H is a hexadecimal number of 4 digits. |
host-ap valid | Displays information about APs' built-in Bluetooth modules among all Bluetooth device information. | - |
host-ap host-ap-id ap-id | Displays information about the Bluetooth module built in an AP with the specified ID. | The AP ID must exist. |
host-ap host-ap-name ap-name | Displays information about the Bluetooth module built in an AP with the specified name. | The AP name must exist. |
After you enable the Bluetooth monitoring function using the sniffer enable command, an AP's built-in Bluetooth module scans surrounding Bluetooth devices and obtains their information. You can then run this command to view obtained information about Bluetooth devices scanned by the built-in Bluetooth module.
After the Bluetooth broadcast function is enabled for an AP with the built-in Bluetooth module, the Bluetooth module works as a Bluetooth station, whose information can be found in Bluetooth device information. If the Bluetooth MAC address label of an AP is lost, it is time-consuming to locate the mapping between the AP and built-in Bluetooth module. In this case, configure the host-ap parameter to filter out information about the AP's built-in Bluetooth module among all Bluetooth device information.
# Display information about all Bluetooth devices.
<HUAWEI> display wlan ble site-info all
---------------------------------------------------------------------------------------------------------------------------------------------------
Index MAC Host AP ID Host AP name RSSI Power Type DetachedFlag Aging-Timeout(m) Broadcast count Advertisement data
---------------------------------------------------------------------------------------------------------------------------------------------------
0 0000-0101-0202 4 AP4 -30 50% asset-tag N 57 10 02-02-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-fa
1 0000-0101-0303 -- -- -31 51% asset-tag N 57 7 01-02-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-fa
2 0000-0101-0505 12 AP12 -33 55% asset-tag N 57 16 03-02-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-fa
---------------------------------------------------------------------------------------------------------------------------------------------------
Total: 3
Item |
Description |
---|---|
Index |
Index. |
MAC |
MAC address of a Bluetooth device. |
Host AP ID |
ID of the AP to which a Bluetooth device belongs. The display of -- indicates that Bluetooth device information does not belong to the built-in Bluetooth module of the AP. |
Host AP name |
Name of the AP to which a Bluetooth device belongs. The display of -- indicates that Bluetooth device information does not belong to the built-in Bluetooth module of the AP. |
RSSI |
Signal strength of a Bluetooth device received by an AP's built-in Bluetooth module. |
Power |
Battery power of a Bluetooth device. If no information about battery power is obtained, this item is displayed as --. |
Type |
Bluetooth device type. The options are as follows:
|
DetachedFlag |
Whether a Bluetooth device is disconnected. The options are as follows:
NOTE:
Bluetooth device disconnection check is not supported in Bluetooth monitoring or transparent transmission mode. This parameter is valid only when the Bluetooth device type is asset-tag. |
Aging-Timeout(m) |
Remaining aging time of a Bluetooth device. The maximum value is 60 minutes. |
Broadcast count |
Number of broadcast packets sent by a Bluetooth device. |
Advertisement data |
Content of data carried in a broadcast frame sent by a Bluetooth device. The maximum length of a displayed broadcast frame is 21 bytes. |