arduino-libraries / ArduinoBLE

ArduinoBLE library for Arduino
GNU Lesser General Public License v2.1
291 stars 198 forks source link

Fixed bluetooth initialization crash on espressif esp32 boards. #345

Open igadmg opened 5 months ago

igadmg commented 5 months ago

Tried to use ArduinoBLE on Espressif Esp32 -WROVER board and had a kernel panic and reboot loop on BLE initialization. It was crashing on esp_bt_controller_init(&bt_cfg); somehow.

That change fixes the issue. But now the bt mode is set through sdk config. But channel advertising seem to work. Not sure if HCI should be converted to esp sdk too.

CLAassistant commented 5 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.