< Home

Configuring the Bluetooth Terminal Location Function

Context

Configure the Bluetooth location function for indoor navigation.

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.

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