Page 1 of 1

Initiating a Bluetooth Classic connection from the ESP32 device?

Posted: Tue Jun 29, 2021 12:50 pm
by may.phoenix
I am using an M5Core2, which uses the Arduino ESP32 library version 1.0.7.

Everything I have found online regarding connecting to an ESP32 via bluetooth is about a smartphone or another device pairing with the ESP32 before communicating with it. I was wondering how I would go about pairing with a device through the ESP32 itself.

I believe the "2.0.0-alpha1" version of the ESP32 library (which can be found on GitHub: https://github.com/espressif/arduino-es ... 0.0-alpha1) has in-built functions to do this. However, I am using a package called "m5stack" which has the ESP32 version 1.0.7 integrated into it, and my efforts to upgrade the version it uses haven't worked. So how could I initiate the BTClassic connection without using the latest alpha release?

Thanks,
- Phoenix