Skip to content

[Question] How to use Bluedroid instead of NimBLE in Arduino IDE (v3.3.0)? #11821

@TenC0110

Description

@TenC0110

Related area

BT

Hardware specification

ESP32-S3

Problem
After updating to Arduino-ESP32 v3.3.0, the default BLE stack is NimBLE.
My code uses Bluedroid-specific APIs (e.g. startExtScan), so it no longer compiles.
In v3.2.1 this worked fine.

Question
In Arduino IDE, is there a way to switch the BLE host stack from NimBLE back to Bluedroid?
For example, using build_opt.h, platform.txt, or some other configuration?

What I tried

  • Added -DCONFIG_BT_BLUEDROID_ENABLED=1 -DCONFIG_BT_NIMBLE_ENABLED=0 in build_opt.h → did not work.
  • Edited platform.txt extra_flags → still NimBLE is forced.
  • I know PlatformIO or ESP-IDF as component can solve this, but I want to stay with Arduino IDE if possible.

Environment

  • Arduino IDE 2.x
  • Arduino-ESP32 v3.3.0
  • Board: ESP32-S3
  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions