< Home

Configuring Bluetooth Tag Location

Pre-configuration Tasks

Before configuring the Bluetooth tag location function, complete the following tasks:

Table 1 Pre-configuration tasks

Task

Description

Create an AP group

Each AP will be added and can be added to only one AP group. An AP group is typically used to provide the same configurations for multiple APs. By default, the system has an AP group default. To create an AP group, execute this task. For details, see Creating an AP Group.

Configure an AP to go online

Configure a DHCP server

To go online normally, APs and STAs must obtain IP addresses. You can configure an AC as a DHCP server or use an independent DHCP server to allocate IP addresses to APs and STAs. For details, see Configuring a DHCP Server.

Configure network interconnections

To enable APs and STAs to obtain IP addresses, APs to discover the AC and go online on the AC, and STAs to access the network, configure interconnections between network devices. For details, see Configuring Network Interconnections.

Configure country codes

Correct country code configuration ensures that radio attributes of APs comply with laws and regulations of countries and regions to which the APs are delivered. For details, see Configuring Country Codes.

Configure a source interface or source address

Before an AP establishes a CAPWAP tunnel with an AC, a source interface or source address must be specified for the AC. For details, see Configuring a Source Interface.

Add APs

You can add APs in any of the following modes:
  • Importing APs offline.
  • Configuring AC to automatically discover an AP.
  • Manually confirming APs added to the list of unauthorized APs.
Adding an AP offline is recommended when the MAC address or SN of the AP is already learned. For details, see Adding APs.

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 of an AP's built-in Bluetooth module is enabled.

    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 destination server and port number for an AP to report Bluetooth packets are configured.

    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.

Follow-up Procedure

After configuring the Bluetooth tag location function, configure related Bluetooth tag location parameters on the location server so that you can view location results on the location server.

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