BluetoothCommunicator
BluetoothCommunicator copied to clipboard
Ui and write
bro there is no xml files or i m missing something
i m trying to make a simple android app which communicate with esp32 and read,write data but its getting hard for me
can u help me out
Hi, there are no xml files for the ui because this is not an app but a library, bluetoothCommunicatorExample is the demo app that uses this library as an external library (downloaded via jitpack as I show in the tutorial on this page).
In any case you have two options to use this library to make an app that communicates with an esp32:
-
Put Android in esp32 and create two apps (based on BluetoothCommunicatorExample) that use my library to communicate (but I don't know if it is possible to install Android in esp32).
-
Or use BluetoothCommunicatorExample as a basis to make your app to communicate with esp32 and replicate my library, changing language and API, to run it on esp32 (in this case, however, you must be able to understand its functioning in detail, including the functioning of the bluetooth le communication protocol, and the implementation of all the library functions (reconnection in case of temporary connection loss, reliable message sending, splitting and rebuilding of long messages, sending messages with a queue in order to always send the messages in the right order even in case of connection problems (when the connection Is restored))).
However there is no easy way to do what you want to do, but in a few weeks or months you can do it.