< Home

broadcasting-content

Function

The broadcasting-content command configures the content of a BLE broadcast frame sent by an AP's built-in Bluetooth module.

The undo broadcasting-content command restores the default content of a BLE broadcast frame sent by an AP's built-in Bluetooth module.

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.

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

Format

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 }*

undo broadcasting-content [ uuid | major | minor | reference-rssi ]

Parameters

Parameter Description Value

uuid uuid-character-string uuid-value

Specifies the UUID field in a BLE broadcast frame. UUID is the universally unique identifier of a BLE device.

The value is a string of 1 to 16 characters. The default value is null.

uuid uuid-hex uuid-value

Specifies the UUID field in a BLE broadcast frame. UUID is the universally unique identifier of a BLE device.

The value is in hexadecimal notation. The value length ranges from 1 to 32 bytes. The default value is null.

major major-character-string major-value

Specifies the Major field in a BLE broadcast frame. This field specifies a major group and is combined with the Minor field to define information about a BEL device, for example, location of a BLE device.

The value is a string of 1 or 2 characters. The default value is null.

major major-hex major-value

Specifies the Major field in a BLE broadcast frame. This field specifies a major group and is combined with the Minor field to define information about a BEL device, for example, location of a BLE device.

The value is in hexadecimal notation. The value length ranges from 1 to 4 bytes. The default value is null.

major major-decimal major-value

Specifies the Major field in a BLE broadcast frame. This field specifies a major group and is combined with the Minor field to define information about a BEL device, for example, location of a BLE device.

The value is an integer that ranges from 0 to 65535. The default value is null.

minor minor-character-string minor-value

Specifies the Minor field in a BLE broadcast frame. This field specifies a minor group and is combined with the Major field to define information about a BEL device, for example, location of a BLE device.

The value is a string of 1 or 2 characters. The default value is null.

minor minor-hex minor-value

Specifies the Minor field in a BLE broadcast frame. This field specifies a minor group and is combined with the Major field to define information about a BEL device, for example, location of a BLE device.

The value is in hexadecimal notation. The value length ranges from 1 to 4 bytes. The default value is null.

minor minor-decimal minor-value

Specifies the Minor field in a BLE broadcast frame. This field specifies a minor group and is combined with the Major field to define information about a BEL device, for example, location of a BLE device.

The value is an integer that ranges from 0 to 65535. The default value is null.

reference-rssi reference-rssi-value

Specifies the RSSI calibration value of a BLE device. RSSI calibration value indicates the RSSI value of a BLE device measured at a distance of 1 m. It is used to estimate the distance between the BLE device and Bluetooth terminals.

The value is an integer that ranges from -97 to -50, in dBm. The default value is -65 that is measured when the transmit power of an APs' built-in Bluetooth module is 0 dBm.

Views

BLE profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After enabling the broadcast function of an AP's built-in Bluetooth module using the broadcaster enable command, you can run the broadcasting-content command to configure the content of BLE broadcast frames sent by the module.

Precautions

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

After changing the transmit power of a built-in Bluetooth module using the tx-power (BLE profile view) command, you need to remeasure and reconfigure the RSSI calibration value. Therefore, you are advised to run the tx-power (BLE profile view) command to configure the transmit power of a built-in Bluetooth module before configuring the RSSI calibration value.

Example

# Configure the content of a BLE broadcast frame sent by an AP's built-in Bluetooth module. Set UUID uuid-hex to 12345678123456789, Major major-hex to A22, Minor minor-hex to 011, and reference-rssi to -70.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ble-profile name huawei
[HUAWEI-wlan-ble-prof-huawei] broadcasting-content uuid uuid-hex 12345678123456789 major major-hex A22 minor minor-hex 011 reference-rssi -70 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >