12-WLAN advanced features

HomeSupportResource CenterConfigure & DeployConfiguration ExamplesH3C Access Controllers Configuration Examples(V7)-6W10212-WLAN advanced features
11-BLE Module iBeacon Transmission Configuration Examples

 

H3C Access Controllers

Comware 7 BLE Module iBeacon Transmission

Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2021 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.



Introduction

The following information provides an example for configuring iBeacon transmission for a BLE module.

Prerequisites

This document applies to Comware 7-based access controllers and access points. Procedures and information in the examples might be slightly different depending on the software or hardware version of the access controllers and access points.

The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

This document assumes that you have basic knowledge of IoT AP and wireless location.

Example: Configure iBeacon transmission for a BLE module

Network configuration

As shown in Figure 1, the IMC server acts as an IoT server, and UAP300 acts as an IoT AP to provide IoT services for the connected IoT modules T300M-B and T300-B.

Figure 1 Network diagram

 

Restrictions and guidelines

When you configure iBeacon transmission for a BLE module, follow these restrictions and guidelines:

·     Use the serial ID labeled on the AP's rear panel to specify an AP.

·     Enable LLDP on the PoE switch.

·     The number of cascaded T300-B connected to T300M-B depends on the power supply capacity of the uplink device (UAP300).

Procedures

# Make sure the devices can reach each other (Details not shown.).

# Create a manual AP named ap1, and specify its model and serial ID.

<AC> system-view

[AC] wlan ap ap1 model UAP300

[AC-wlan-ap-ap1] serial-id 219801A15K816AE00029

# Enable PoE for UAP300.

[AC-wlan-ap-ap1] poe port 3 enable

# Enter the view of module 1.

[AC-wlan-ap-ap1] module 1

# Enable module 1.

[AC-wlan-ap-ap1-module-1] module enable

# Specify BLE as the supported module type for module 1.

[AC-wlan-ap-ap1-module-1] type ble

# Specify the serial number for module 1.

[AC-wlan-ap-ap1-module-1] serial-number 219801A0YQ8164E00101

# Enable the iBeacon transmission feature for module 1.

[AC-wlan-ap-ap1-module-1] rfid-tracking ble advertisement enable

# Configure the advertisement information for module 1.

[AC-wlan-ap-ap1-module-1] rfid-tracking ble advertisement uuid fda50693a4e24fb1afcfc6eb07647825

[AC-wlan-ap-ap1-module-1] rfid-tracking ble advertisement major-id 10

[AC-wlan-ap-ap1-module-1] rfid-tracking ble advertisement minor-id 7

[AC-wlan-ap-ap1-module-1] quit

# Enter the view of module 2

[AC-wlan-ap-ap1] module 2

# Enable module 1.

[AC-wlan-ap-ap1-module-2] module enable

# Specify BLE as the supported module type for module 2.

[AC-wlan-ap-ap1-module-2] type ble

# Specify the serial number for module 2.

[AC-wlan-ap-ap1-module-2] serial-number 219801A0YQ8164E20022

# Enable the iBeacon transmission feature for module 2.

[AC-wlan-ap-ap1-module-2] rfid-tracking ble advertisement enable

# Configure the advertisement information for module 2.

[AC-wlan-ap-ap1-module-2] rfid-tracking ble advertisement uuid fda50693a4e24fb1afcfc6eb07647825

[AC-wlan-ap-ap1-module-2] rfid-tracking ble advertisement major-id 10

[AC-wlan-ap-ap1-module-2] rfid-tracking ble advertisement minor-id 7

[AC-wlan-ap-ap1-module-2] quit

# Set the IPv4 address and port number for the BLE location server to 3.3.3.204 and 1145, respectively, for AP ap1.

[AC-wlan-ap-ap1] rfid-tracking ble engine-address 3.3.3.204 engine-port 1145

# Enable BLE location for AP ap1.

[AC-wlan-ap-ap1] rfid-tracking ble enable

# Enable neighbor list reporting for AP ap1.

[AC-wlan-ap-ap1] rfid-tracking ble report enable

[AC-wlan-ap-ap1] quit

Verifying the configuration

# Display UAP information and connected module information.

[AC] display wlan uap name ap1

UAP name : ap1

Model : UAP300

Serial ID : 219801A15K816AE00029

MAC address : b0f9-633f-dfa0

Modules : 1

 Port ID: 3

  -------------------------------------------------------

  Module ID Model Serial Number

  -------------------------------------------------------

  1 T300 219801A0YQ8164E00101

  2 T300 219801A0YQ8164E20022

# Display information about module 1.

[AC] display wlan module-information ap ap1 module 1

Module administrative type : BLE

Module physical type : H3C

Model : T300-B

HW version : 1.0

SW version : 0.08

Sequence ID : 00000000000000000023

Node physical status : Normal

Module physical status : Normal

Module administrative status : Enabled

# Display information about module 2.

[AC] display wlan module-information ap ap1 module 2

Module administrative type : BLE

Module physical type : H3C

Model : T300-B

HW version : 1.0

SW version : 0.08

Sequence ID : 00000000000000000023

Node physical status : Normal

Module physical status : Normal

Module administrative status : Disabled