< Home

Configuring Bluetooth Terminal Location

Pre-configuration Tasks

Before configuring Bluetooth Terminal location, perform the tasks listed in the following table.

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 ibeacon-mode

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

  5. Configure the Bluetooth broadcast function for an AP's built-in Bluetooth module.

    • If an independent Bluetooth device is deployed on a WLAN, this step is optional. If no independent Bluetooth device is deployed on a WLAN, this step is mandatory.
    • Only the AP2050DN-E, AP2051DN-E, AP4050DN-E, AP4051TN, AP6052DN, AP7050DE, AP7052DE, AP7052DN, AP4050DE-M, AP4050DE-M-S, AP4050DE-B-S, AP7060DN, AirEngine 5760-10, AP7152DN, AP8050DN, AP8050DN-S, AP8050TN-HD, AP8082DN, AP8150DN, AP8182DN, R250D-E, and R251D-E support the Bluetooth broadcast function.

    1. Run broadcaster enable

      The Bluetooth broadcast function of an AP's built-in Bluetooth module is enabled.

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

    2. Run tx-power tx-power-value

      The transmit power is set for the built-in Bluetooth module of an AP.

      By default, the transmit power of an AP's built-in Bluetooth module is 0 dBm.

    3. Run broadcasting-content { uuid { uuid-character-string uuid-value | uuid-hex uuid-value } | major { major-character-string major-value | major-hex major-value | major-decimal major-value } | minor { minor-character-string minor-value | minor-hex minor-value | minor-decimal minor-value } | reference-rssi reference-rssi-value }*

      The content of BLE broadcast frames sent by an AP's built-in Bluetooth module is configured.

      By default, the UUID, Major, and Minor fields in a BLE broadcast frame sent by an AP's built-in Bluetooth module are null, and the RSSI calibration value is -65 dBm.

      The RSSI calibration value in a BLE broadcast frame is set based on the actual measurement result.

    4. Run broadcasting-interval broadcasting-interval-value

      The interval for an AP's built-in Bluetooth module to send BLE broadcast frames is set.

      By default, the built-in Bluetooth module of an AP sends BLE broadcast frames at an interval of 500 ms.

  6. (Optional) Enable server-side location.
    1. Run report enable

      An AP is enabled to send Bluetooth terminal location packets.

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

    2. Run report-mode { immediate | periodic [ interval interval ] }

      The mode in which Bluetooth terminal location packets are sent is configured.

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

    3. 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 IP address and port number to which an AP sends Bluetooth terminal location packets are configured.

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

  7. Run quit

    Return to the WLAN view.

  8. Enter the AP view or AP group view.

    • 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.

  9. (Optional) Configure the contents of BLE broadcast frames sent by an AP's built-in Bluetooth module

    • (AP view) broadcasting-content { uuid { uuid-character-string uuid-value | uuid-hex uuid-value } | major { major-character-string major-value | major-hex major-value | major-decimal major-value } | minor { minor-character-string minor-value | minor-hex minor-value | minor-decimal minor-value } | reference-rssi reference-rssi-value }*

      By default, the UUID, Major, Minor, and RSSI calibration fields in a BLE broadcast frame sent by an AP's built-in Bluetooth module are null.

    • (AP group view) broadcasting-content uuid { uuid-character-string uuid-value | uuid-hex uuid-value }

      By default, the UUID of the BLE broadcast frames sent by an AP's built-in Bluetooth module is null.

  10. (Optional) Run ble-profile profile-name

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

    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 low-power-threshold low-power-threshold

    The low power alarm threshold for BLE devices is set.

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

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

    A specified Bluetooth device is added to the monitoring list on the built-in Bluetooth module of an AP

    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 references ble-profile name profile-name command to check reference information about a BLE profile.

Follow-up Procedure

After configuring Bluetooth location, you need to perform the following operations to check location results on a location server.
  • Configure Bluetooth location parameters on the location server.
  • Configure the location server to communicate with the app server.
  • Install a Bluetooth location app (usually provided by a location server vendor) on a Bluetooth terminal (such as a mobile phone). Enable Bluetooth, and enable Wi-Fi or mobile cellular networks, to ensure that the Bluetooth terminal can access a network and send information about scanned BLE devices to the location server.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >