Fork of Android SimpleBluetoothLeTerminal supporting ESP32 ble_spp_server_demo

BrianP
Posts: 53
Joined: Mon Apr 13, 2020 1:48 pm

Fork of Android SimpleBluetoothLeTerminal supporting ESP32 ble_spp_server_demo

Postby BrianP » Wed Sep 15, 2021 4:55 pm

I thought people might be interested in this fork of the Android app SimpleBluetoothLeTerminal. https://github.com/BrianAtDocumentedDes ... LeTerminal

It allows you to interact with the ESP32 ble_spp_server_demo. I came across the original because I was looking for open source sample BLE applications which I could easily modify for my own app. The program is pretty straightforward so decided to modify it to support the ESP32 BLE software.

Note that the ble_spp_server_demo does not support flow control ("credits") so instead of adding that to the ESP32 code I simply set

writeCredits = Integer.MAX_VALUE;

as a bit of a kludge. I will eventually fix that in my ESP32 code and update the SimpleBluetoothLeTerminal code accordingly.

It should be simple to extract the relevant classes from SimpleBluetoothLeTerminal to create an ESP32 BLE library which allows an application to scan, connect, and exchange data with an ESP32. That is what I am working on at the moment.

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: Fork of Android SimpleBluetoothLeTerminal supporting ESP32 ble_spp_server_demo

Postby bobolink » Thu Oct 07, 2021 10:16 pm

Thanks for this.
I had never done any Android development. Downloaded Android Studio for Linux and after a couple of trips to Stack Exchange, I was debugging on an old Pixel 3.
Please update us with your progress on the ESP32 side.

Who is online

Users browsing this forum: No registered users and 14 guests