ESP32功能复用Demo(BLE Dual Role)

arvin123
Posts: 7
Joined: Wed Sep 06, 2023 2:19 pm

ESP32功能复用Demo(BLE Dual Role)

Postby arvin123 » Mon Jul 15, 2024 6:09 am

想请问一下,ESP32 Ble功能有Demo code支援 Ble Dual role功能吗?即作为中心设备(用于连接蓝牙键鼠),同时作为外设设备(用于广播,与手机APP连接)

loop233
Posts: 2
Joined: Sat Feb 25, 2023 4:46 am

Re: ESP32功能复用Demo(BLE Dual Role)

Postby loop233 » Mon Jul 15, 2024 9:34 am

Hi,上述的需求都有提供部分功能的实现,可以组合代码实现所需要的功能 BLE HID HOST 可以参考 ESP_HID_HOST 例程,共存部分可以参考 gattc_gatts_coex 例程
例程链接:
ESP_HID_HOST: https://github.com/espressif/esp-idf/tr ... p_hid_host
gattc_gatts_coex: https://github.com/espressif/esp-idf/tr ... gatts_coex

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32功能复用Demo(BLE Dual Role)

Postby aliarifat794 » Mon Jul 15, 2024 1:57 pm


Who is online

Users browsing this forum: No registered users and 10 guests