< Home

Configuring the Bluetooth Tag Location Function

Context

Enable the Bluetooth tag location function to locate personnel and assets.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run ble-profile name profile-name

    A BLE profile is created.

    By default, no BLE profile is created.

  4. Run sniffer enable tag-mode

    The Bluetooth tag location function is enabled for built-in Bluetooth modules of APs.

    By default, the Bluetooth function of an AP's built-in Bluetooth module is disabled.

  5. Run report enable

    An AP is enabled to report Bluetooth packets.

    By default, an AP is disabled from sending Bluetooth packets.

  6. (Optional) Run report-mode { immediate | periodic [ interval interval ] }

    The mode in which an AP reports Bluetooth packets is configured.

    By default, an AP sends Bluetooth packets at an interval of 10 seconds.

  7. Run report-to-server ip-address ip-address port port-num [ via-ac ac-port ac-port-num ] or report-to-server domain domain port port-num

    The domain name and port number of a destination server are configured for APs to report Bluetooth tag location packets.

    By default, no destination IP address or port number is configured for APs to report Bluetooth packets.

  8. Run quit

    Return to the WLAN view.

  9. The AP view or AP group view is displayed.

    • Run the ap-group name group-name command to enter the AP group view.
    • Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.

  10. Run ble-profile profile-name

    A BLE profile is bound to an AP group or an AP.

    By default, no BLE profile is bound to an AP group or AP.

  11. Run quit

    Return to the WLAN view.

  12. (Optional) Run ble report interval interval-value

    The interval at which an AP reports Bluetooth device information is set.

    By default, an AP reports Bluetooth device information at an interval of 10 minutes.

  13. (Optional) Run ble low-power-threshold low-power-threshold

    A low power alarm threshold is set for BLE devices or Bluetooth tags.

    By default, the low power alarm threshold of BLE devices or Bluetooth tags is 20%.

  14. (Optional) Run ble monitoring-list mac mac-address1 [ to mac-address2 ]

    Specified BLE devices or Bluetooth tags are added to the monitoring list of an AP's built-in Bluetooth module.

    By default, no Bluetooth devices are added to the monitoring list.

    When no Bluetooth device is added to the monitoring list, all Bluetooth devices are monitored. When any Bluetooth device is offline or has insufficient battery power, an alarm is triggered on the AC accordingly. When Bluetooth devices are added to the monitoring list, only the Bluetooth devices in the list are monitored. When a Bluetooth device in the monitoring list is offline or has insufficient battery power, an alarm is triggered on the AC accordingly.

Verifying the Configuration

  • Run the display ble-profile { all | name profile-name } command to check configuration and reference information about a BLE profile.

  • Run the display wlan ble global configuration command to view global configurations of Bluetooth devices.

  • Run the display references ble-profile name profile-name command to check reference information about a BLE profile.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >