beacon
interface-config-bluetooth-instance
Configures the Bluetooth
radio‘s beacon‘s emitted transmission pattern for Bluetooth radios
functioning in the low energy beacon (le-beacon) mode. This option
is applicable only if the Bluetooth radio‘s operational mode is set
to le-beacon.
Supported
in the following platforms:
- Access Points – AP505i, AP510i/e,
AP560i/h, AP7602, AP7612, AP7632, AP7662, AP8432, AP8533
Syntax
beacon [pattern|period|txpower]
beacon pattern
[eddystone-url1|eddystone-ulr2|ibeacon]
beacon period <100-10000>
beacon txpower <-15-6>
beacon txpower <-15-31>
Parameters
beacon pattern [eddystone-url1|eddystone-ulr2|ibeacon]
beacon pattern [eddystone-url1|
eddystone-ulr2| ibeacon] |
When the beacon mode is set to ‘le-beacon‘,
use this command to configure the Bluetooth radio‘s
beacon‘s emitted transmission pattern. Select one of the
following beacon patterns:
- eddystone-url1 – Transmits an Eddystone-URL
beacon using URL 1. This is the default
setting.
- eddystone-url2 – Transmits an Eddystone-URL
beacon using URL 2
An Eddystone-URL
frame broadcasts a URL using a compressed
encoding scheme to better fit within a limited
advertisement packet. Once decoded, the URL can
be used by a client for Internet access. If an
Eddystone-URL beacon broadcasts https:anysite,
clients receiving the packet can access that
URL. If setting the transmission pattern as
‘eddystone-url1‘ or ‘eddystone-ulr2‘, use the
‘eddystone‘ keyword to configure Eddystone
beacon payload parameters. For more
information, see eddystone.
- ibeacon – Transmits an
ibeacon beacon. iBeacon was created by Apple for use in iPhone OS
(iOS) devices (beginning with iOS version 7.0). There are three data
fields Apple has made available to iOS applications, a
Universally Unique IDentifier (UUID) for device
identification, a Major value for device class and a Minor value for
more refined information like product category. If setting the
transmission pattern as ‘ibeacon‘, use the ‘ibeacon‘ keyword to
configure ibeacon beacon payload parameters. For more information, see
ibeacon.
For
more information on configuring the Bluetooth radio‘s
operational mode, see mode.
|
beacon period <100-10000>
beacon period <100-10000> |
Configures the Bluetooth radio‘s beacon
transmission period, in milliseconds, from 100 - 10000.
As the defined period increases, so does the CPU
processing time and the number of packets incrementally
transmitted (typically one per minute).
- <100-10000> – Specify a value from 100 -
10000 milliseconds. The default value is 1000
milliseconds.
|
beacon txpower <-15-6>
beacon txpower <-15-6> |
Configures the Bluetooth radio‘s le-beacon transmit power. This
determines how far a beacon can transmit data.
- <-15-6> –
Specify a value from -15 to 6 dBM. The default value is -10 dBm.
Note: The transmit power range of -15 to 6 is applicable for the
following APs: AP7612, AP7622, AP7602, AP8432, AP8533
|
|
beacon txpower <-15-31>
beacon txpower <-15-31> |
Configures the Bluetooth radio‘s le-beacon transmit power. This
determines how far a beacon can transmit data.
- <-15-31> – Specify
a value from -15 to 31 dBM. The default value is -10 dBm.
Note: The transmit power range of -15 to 6 is applicable for the
following APs: AP7632, AP7662, AP5XX
|
|
Example
nx9500-6C8809(config-profile-default-ap8432-if-bluetooth1)#beacon pattern
eddystone-url2
nx9500-6C8809(config-profile-default-ap8432-if-bluetooth1)#beacon period 900
nx9500-6C8809(config-profile-default-ap8432-if-bluetooth1)#show context
interface bluetooth1
shutdown
description AP8432-BLE-Radio1
mode le-beacon
beacon pattern eddystone-url2
beacon period 900
nx9500-6C8809(config-profile-default-ap8432-if-bluetooth1)#
Configurations enabling IoT on AP5XX IoT:
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#mode le-beacon
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#beacon txpower 31
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#beacon period 100
Enable the interface
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#no shutdown
AP5XX ibeacon configurations:
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#beacon pattern ibeacon
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#ibeacon major 0
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#ibeacon minor 65535
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#ibeacon uuid 123456789A123456789A123456789ABC
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#ibeacon calibration rssi 1
AP5XX eddystone configuration
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#mode le-beacon
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#beacon pattern eddystone url1
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#eddystone url 1 http://www.ap510test.com
ap510-133A75#(config-device-94-9B-2C-13-3A-75-if-bluetooth1)#eddystone calibration rssi 2