Skip to content
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

app not connecting #5

Open
dgm3333 opened this issue Dec 19, 2021 · 3 comments
Open

app not connecting #5

dgm3333 opened this issue Dec 19, 2021 · 3 comments

Comments

@dgm3333
Copy link

dgm3333 commented Dec 19, 2021

I can't get the android app to connect.
I've tested on phones is running Android 8 and Android 11 with same (failed) results

I've built and installed the android app using android studio and it uploads/run on both devices without any reported errors.
I tried initially without linking any additional libraries since another closed issue implied this is no longer required. Because this failed I tried linking to fbiego/Android_BLE_Library, but this states the module already exists (not a suprise and your readme.md needs to be updated to reflect that this isn't required any more). I also tried to linked to a clone of https://github.com/NordicSemiconductor/Android-BLE-Library but this doesn't do anything either (although I didn't change any code for this attempt).

In another issue you've stated you've essentially cloned https://github.com/NordicSemiconductor/Android-BLE-Library
However the readme for this specifically states
"The library does not provide support for scanning for Bluetooth LE devices. For scanning, we recommend using Android Scanner Compat Library which brings almost all recent features, introduced in Lollipop and later, to the older platforms."
and recommends using https://github.com/NordicSemiconductor/Android-Scanner-Compat-Library
I did trying linking this repo but it doesn't help either (although again without any changes to code).

Incidentally the arduino sketch doesn't appear to be the issue:
I've installed the nimBLE arduino sketch - that's working fine. The same is true if I use the ESP32 OTA ardunio sketch.
Both correctly connect to the "nRF Connect" android app and report the GATT Service Generic Access and Generic Attributes as well as the custom device SERVICE_UUID = fb1e...
If I put Serial.prints in the sketches the ESP32 is appropriately reporting a connection with nRF.

@fbiego
Copy link
Owner

fbiego commented Apr 10, 2022

Check the play store version of the app

https://play.google.com/store/apps/details?id=com.fbiego.esp32.ota

@phigjm
Copy link

phigjm commented Jun 10, 2022

Are you planning to make the changes for the Playstore open source as well or to update this Repository?

@FilipeFaria90
Copy link

FilipeFaria90 commented Jul 22, 2022

I have the play store version and it's not working at all. It just crashes when connecting.
For the ino part, I'm using your GitHub ino, so I don't understand why it does not work.
https://github.com/fbiego/ESP32_BLE_OTA_Arduino

I tried with another ino that I can connect with another app and your APP crashes as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants