-
Notifications
You must be signed in to change notification settings - Fork 28
Description
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.