ESP32功能复用Demo(BLE Dual Role)
Posted: Mon Jul 15, 2024 6:09 am
by arvin123
想请问一下,ESP32 Ble功能有Demo code支援 Ble Dual role功能吗?即作为中心设备(用于连接蓝牙键鼠),同时作为外设设备(用于广播,与手机APP连接)
Re: ESP32功能复用Demo(BLE Dual Role)
Posted: Mon Jul 15, 2024 9:34 am
by loop233
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
Re: ESP32功能复用Demo(BLE Dual Role)
Posted: Mon Jul 15, 2024 1:57 pm
by aliarifat794