Hello.
Ok. I have installed nRF52 and surprisingly it works!
Now I'm trying to pair may device.
For now I'm using the NordicThingy52 example. The device can be found with Scanning and I can start to pair it.
And here I faced with a problem. When I try to pair the device and call getService(myUuid) (BLE.Device) it always returns null. I tried to call getServices for the same device but it returns an empty iterator. About getServices I found a topic here https://forums.garmin.com/developer/connect-iq/f/discussion/210577/ble-scanresult-getserviceuuids-returns-an-empty-iterator and it says there can be some problems on the sim. But at the same time there are no problems with getService.
For me getService never works.
I'm 100% sure the Uuid is correct. I can use it right now on my Arduino and get results. I use Ble.stringToUuid("...") to be sure it's converted correctly and not affected by BigEndian/LittleEndian problems.
And even when I scan, I can get call .getServiceUuids(); from ScanResult and it works! I can see my uuid.
Where can be the the problem?
Oh, yes, Of course I changed _envProfileDef for BLE.registerProfile with my service / characteristics.
Thanks.