16e7c69efSopenharmony_ci# Bluetooth 26e7c69efSopenharmony_ci 36e7c69efSopenharmony_ci### Introduction 46e7c69efSopenharmony_ci 56e7c69efSopenharmony_ciBluetooth is a short-range wireless technology used to implement communication between fixed and mobile devices over low-cost short-distance wireless connections. This sample describes how to discover, pair, and unpair Bluetooth devices. The display effect is as follows: 66e7c69efSopenharmony_ci 76e7c69efSopenharmony_ci 86e7c69efSopenharmony_ci 96e7c69efSopenharmony_ci### Concepts 106e7c69efSopenharmony_ci 116e7c69efSopenharmony_ciBluetooth: The Bluetooth module provides basic classic Bluetooth capabilities. 126e7c69efSopenharmony_ci 136e7c69efSopenharmony_ci### Required Permissions 146e7c69efSopenharmony_ci 156e7c69efSopenharmony_ciohos.permission.USE_BLUETOOTH 166e7c69efSopenharmony_ci 176e7c69efSopenharmony_ciohos.permission.LOCATION 186e7c69efSopenharmony_ci 196e7c69efSopenharmony_ciohos.permission.DISCOVER_BLUETOOTH 206e7c69efSopenharmony_ci 216e7c69efSopenharmony_ciohos.permission.MANAGE_BLUETOOTH 226e7c69efSopenharmony_ci 236e7c69efSopenharmony_ciohos.permission.APPROXIMATELY_LOCATION 246e7c69efSopenharmony_ci 256e7c69efSopenharmony_ci### Usage 266e7c69efSopenharmony_ci 276e7c69efSopenharmony_ci1. Start the app. If Bluetooth is enabled, the system searches for nearby devices that can be paired. If Bluetooth is not enabled, enable it. 286e7c69efSopenharmony_ci 296e7c69efSopenharmony_ci2. After nearby devices are detected, select the device to pair. A dialog box is displayed. Touch **Pair** to set up a connection with this device; touch **Cancel** otherwise. 306e7c69efSopenharmony_ci 316e7c69efSopenharmony_ci3. To delete a paired device, touch the device in the paired device list. A dialog box is displayed, asking you whether to disconnect from this device. Touch **OK** to disconnect from this device; touch **Cancel** otherwise. 326e7c69efSopenharmony_ci 336e7c69efSopenharmony_ci### Constraints 346e7c69efSopenharmony_ci 356e7c69efSopenharmony_ci- This sample can only be run on standard-system devices. 366e7c69efSopenharmony_ci 376e7c69efSopenharmony_ci- This sample is based on the stage model, which is supported from API version 9. 386e7c69efSopenharmony_ci 396e7c69efSopenharmony_ci- This sample requires DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) to compile and run. 406e7c69efSopenharmony_ci 416e7c69efSopenharmony_ci- The ohos.permission.MANAGE_BLUETOOTH permission used in this sample is of the system_basic level. You need to configure a signature for it. For details about the application permission level (APL), see [Permission List](https://gitee.com/openharmony/docs/blob/master/en/application-dev/security/permission-list.md).