I used it.Try the code in the first post.
This project is no work.This project works here.
The same problem.In which way it doesn't work?
If I connect few times I get discoverServicesA low level API is failing on your device (gatt.discoverServices never completes). I don't see any workaround for this.
Another application from shop PLAY work perfect .If I connect few times I get discoverServices
Yes, I have another application connect to BLE devices.The BLE library is implemented based on Google documentation. It does work on most devices.
If the native callback method is not working then I don't see any workaround. Does the other app actually connect to the BLE device?
You can do something like:
B4X:Sub BLE_Connected (Services As Map) For Each s As BleService In Services.Values For Each key As String In s.GetCharacteristics Log(key) Dim c As BleCharacteristic = s.GetCharacteristics.Get(key) Next Next