uploaded 4 months ago
A common layer to manage the BLE connection, support both Bluedroid and Nimble


## BLE Connection Management Component

[![Component Registry](](

- [User Guide](

The ``ble_conn_mgr`` is a BLE connection management component that provides a simplified API interface for accessing commonly used BLE functionalities. It supports various scenarios such as peripheral and central.

Any application layer profile, such as GAP, GATT, GATT characteristics, and services, can be executed on top of this layer.

> Note: only Nimble is supported, the support for Bluedroid will be added in later release version.

### Adding the component to your project

To add the `ble_conn_mgr` to your project's dependencies, please use the command ` add-dependency`. During the `CMake` step, the component will be downloaded automatically.

``` add-dependency "espressif/ble_conn_mgr=*"

### Examples

To create a project using the example template, please use the command ` create-project-from-example`.

* BLE SPP Central
``` create-project-from-example "espressif/ble_conn_mgr=*:spp_client"

* BLE SPP Peripheral
``` create-project-from-example "espressif/ble_conn_mgr=*:spp_server"

The example will be downloaded into the current folder. You can navigate to it for building and flashing.

> You can use this command to download other examples as well. Alternatively, you can download examples from the esp-iot-solution repository:
1. [ble_periodic_adv](
2. [ble_periodic_sync](
3. [ble_spp](

### Q&A

Q1. I encountered the following problems when using the package manager

Executing action: create-project-from-example
CMakeLists.txt not found in project directory /home/username

A1. This is because an older version packege manager was used, please run `pip install -U idf-component-manager` in ESP-IDF environment to update.


Supports all targets

License: Apache-2.0

To add this component to your project, run: add-dependency "espressif/ble_conn_mgr^0.1.1"

or download archive


  • Downloaded in total
    Downloaded in total 139 times
  • Downloaded this version
    This version: 97 times


espressif/ble_conn_mgr version: 0.1.1