想请问一下,ESP32 Ble功能有Demo code支援 Ble Dual role功能吗?即作为中心设备(用于连接蓝牙键鼠),同时作为外设设备(用于广播,与手机APP连接)
ESP32功能复用Demo(BLE Dual Role)
ESP32功能复用Demo(BLE Dual Role)
Re: ESP32功能复用Demo(BLE Dual Role)
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
例程链接:
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
-
- Posts: 198
- Joined: Sun Jun 23, 2024 6:18 pm
Who is online
Users browsing this forum: No registered users and 9 guests