Android Question BLE2 Library restricted to Service-UUID 6e400001-b5a3-f393-e0a9-e50e24dcca9e ?

Hans Krackau

New Member
Licensed User
For testing I am using private UUIDs on the my server device:
Service: c24995d4-0a48-41ec-b9c0-4c3488041ffa
Characteristic1: 516e4a32-562b-4378-9ade-f64252fb5854
Characteristic2: d9bcf8c4-1d56-43ab-91a1-d82d7f52ef5f
Characteristic3: 4fa4cc32-e3c4-4c8c-89e4-3c7b2b116403

On the 'nRF Connect' tool I can see the service and read the characteristics properly.

Using the BLE2 library with android I see some weird results:
A scan for the server device with
B4X:
BLEmgr.Scan2(Array("c24995d4-0a48-41ec-b9c0-4c3488041ffa"), False)
results in raising the connected event
B4X:
Sub BLEmgr_Connected (services as List)
  Log (services)
End Sub
and the log of services reads:
(ArrayList) [00001801-0000-1000-8000-00805f9b34fb, 00001800-0000-1000-8000-00805f9b34fb, 6e400001-b5a3-f393-e0a9-e50e24dcca9e]

So, why do I not get the service id I am connected to but 6e400001... ?
Is the BLE2 library restricted to the
SERVICE_UUID 6e400001... and the
CHARACTERISTIC UUIDs 6e400002... and 6e400003... ?
 
Top