I have trying to find examples for codes to exchange data over bluetooth between esp32 devkit module and an Android device. I want to use SDP to broadcast a service and then make my Android app connect to esp socket as client. In Linux I have used bluez library to achieve this functionality. But for ESP32 I only found some documentations using btstack library. However I am unable to use this library. I extract the zip to ~/Documents/Arduino/Libraries but it still it says file not found.
1 Answer
I can't comment so I am putting an answer here. @Helmer if you can move these answers to comment it will be a great help. Please refer to these examples to connect and exchange data between a Mobile app and ESP32 dev kit over a Bluetooth communication:
ESP32 Bluetooth Classic with Arduino IDE – Getting Started
ESP32 BLE + Android + Arduino IDE = AWESOME
How to Use Bluetooth(BLE) With ESP32
How to Use Serial Bluetooth in ESP32
ESP32 Arduino: Serial communication over Bluetooth Hello World
-
1This looks like a good answer to me (upvote)I know that some sites don't like link -only answers, but what are the odds of them all breaking? Welcome aboard, Lucifer :-) Feb 14, 2020 at 7:28
-
Thanks, @MawgsaysreinstateMonica. I am trying my best to answer whichever question I can. I am new in this field and also started my carrier as an IoT developer so got to learn things this way by answering/researching as much I can.– LuciferFeb 14, 2020 at 7:33