The BLE2 example code runs on a device with Android 5.1 (API 22). However when I run the exact same example on a device which has Android 7.0 (API 24) it does not connect.
What I notice is that on the working device I see a log message from BLE2 of "Discovering services.' after executing "manager.Connect2(Id, False)" but on the newer device there is no such message and a connected event is never raised.
This is on a new PC with a new install of everything as per the latest install instructions.
BLE2 is version 1.37
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
B4A is 8.50 BETA #1
javac.exe is jdk1.8.0_181
android.jar is android-27
Just swapped between two Moto phones running 5.1 and 7.0.
What I notice is that on the working device I see a log message from BLE2 of "Discovering services.' after executing "manager.Connect2(Id, False)" but on the newer device there is no such message and a connected event is never raised.
This is on a new PC with a new install of everything as per the latest install instructions.
BLE2 is version 1.37
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
B4A is 8.50 BETA #1
javac.exe is jdk1.8.0_181
android.jar is android-27
Just swapped between two Moto phones running 5.1 and 7.0.