Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
Just use basic client-server architecture. Let’s say for example hc-06 module to be used as a client and by programming ESP32’s bluetooth to act as a server so as to establish communication
i tried various codes for the same , all of them are not working . i am unable to get any good article/page for it , can you suggest any article for the same
If you are asking about physical connection, H6-06 can be connected via UART.
i am asking about the bluetooth pairing
Have u try setting up the ESP32 in Bluetooth Serial mode with `BluetoothSerial`
HC 06 uses **Bluetooth Classic**, so code it to handle pairing as a Bluetooth Serial device, not BLE. Once you ve gotten the ESP32 set as a server, make sure its discoverable and try pairing with AT commands from HC 06
Then check this ESP32’s `BluetoothSerial` library examples cus they re a good starting point for Classic Bluetooth pairing
If u want to directly use the `ESP32’s` built-in Bluetooth functionality, you can opt for `Classic Bluetooth` or `Bluetooth Low Energy` (BLE) depending on your project. `Classic Bluetooth` is great for continuous data exchange, while `BLE` is optimized for low-power, intermittent communication.
Here’s a discussion where you’ll find it worked with core version 2.0.6. Please follow the entire conversation <https://github.com/espressif/arduino-esp32/issues/6876>. It seems to be an issue with the HC-06 & library version conflict
CONTRIBUTE TO THIS THREAD