-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 SPP Support Merge Request #28
Comments
SPP is a protocol defined for bluetooth classic. For BLE there is no standard, but various vendors have predefined UUIDs for a serial like protocol. I couldn't find esp32_spp_server.cpp. For ESP32 i know this variant https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/examples/BLE_uart/BLE_uart.ino which works with this app by simply changing UUIDs. |
Please add ESP32 kind of BLE SPP, it would be very useful.
In Bluetooth LE client, the property of tx characteristic must be write with response or write without response, and the property of rx characteristic must be indicate or notify. |
does it work as 'Custom' device in https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal app? |
wow, I manage to get it working with their default AT firmware.
could we add this as known profile? These don't change, I have tested on a 2nd different esp32. On ESP32 side it requires ESP-AT SW and:
|
hi Kai-morich, |
Try the custom profile I wrote above, it works for me. |
Sorry, but i don't understand. You can show me how you add custom profile in source code android. Thank |
There is an option in app's menu to add custom profiles, then you connect and it selects the profile. Not in source code. But if you have access to that you could add it as built in profile for us, just search for other existing profiles. |
Thank you |
@mrx23dot |
Kai
Thanks for writing this. I don't know how to contact you (I am pretty new to github, etc) but I cam across your code while looking for an example BLE application so I could add BLE to my little project.
My hardware is ESP32-C3 based and your code does not support ESP32 so I managed to port it over and got it working with the esp32_spp_server.cpp demo which espressif provides. (see https://github.com/BrianAtDocumentedDesigns/SimpleBluetoothLeTerminal/tree/ESP32_C3_SPP_Support).
I am pretty sure the ESP32 spp server does not implement flow control so I set
as a sort of a kludge.
I know I am not much of a programmer but I thought I'd let you know in case you were interested in incorporating support for the popular ESP32 family into your code.
I will probably add flow control to the ESP32 code when I make some progress on my project.
Thanks again
Brian Piccioni
Documented Designs.
The text was updated successfully, but these errors were encountered: