How to Enable ESP-AT Classic Bluetooth¶
By default, Classic Bluetooth AT commands are disabled in the ESP32 series AT firmware. If you want to use them on ESP32 devices, please follow the steps below. The commands supported by AT are classified into three categories, general Bluetooth commands, SPP commands, and A2DP commands and each category may be enabled and disabled separately.
Run the configuration utility by executing
./build.py menuconfig
(Linux or macOS) orbuild.py menuconfig
(Windows).Enable the commands you need.
Enable general Bluetooth commands.
Component config
->AT
->AT bt command support
.
Enable SPP commands.
Component config
->AT
->AT bt command support
->AT bt spp command support
.Enable A2DP commands.
Component config
->AT
->AT bt command support
->AT bt a2dp command support
.
Compile the project to generate the new firmware in
build/esp-at.bin
.