Hi everyone!
I have been working in a college project with my ESP32 board and I have some problems/questions. I need to connect my ESP32 to my android smartphone with Bluetooth classic but I couldn`t. I have already connected using BLE but now i need the BT classic.
Could you help me?
ESP32 Bluetooth classic
Re: ESP32 Bluetooth classic
The ESP32 does technically support BT Classic but there are currently no MicroPython bindings for it.
The ESP32 SDK provides two different Bluetooth stacks -- NimBLE (whcih only does BLE) or BlueDroid (which does both). For compatibility with other ports we've only provided bindings for the NimBLE stack.
So... it's definitely possible to do this, but it's not a small amount of work unfortunately.
Why do you specifically need Classic? Which profile are you implementing?
Re: ESP32 Bluetooth classic
Hi!
I have been trying to measure the power consumption using Wi-Fi, BLE and BT classic to show the difference between them. I managed to implement Wi-Fi and BLE.
I just need to connect the ESP32 to my smartphone and measure the power consumption, a simple connection.
I have been trying to measure the power consumption using Wi-Fi, BLE and BT classic to show the difference between them. I managed to implement Wi-Fi and BLE.
I just need to connect the ESP32 to my smartphone and measure the power consumption, a simple connection.
Re: ESP32 Bluetooth classic
Maybe try doing this from an IDF example instead then? (Instead of MicroPython)
The other option is you could try building one of the Bluekitchen examples for ESP32. https://github.com/bluekitchen/btstack