Description
Howdy,
Thank you for your time!
I just wanted to confirm if it is expected behavior that UUIDs are not retained when utilizing BTstack?
I am setting up my service with a UUID of B8E06067-62AD-41BA-9231-206AE80AB552, but the connected pico is ignoring it and sees it as 62AD41BA-9231-206A-E80A-B55100070001.
Steps to reproduce:
- Create service
- Start advertising
Second Pico:
- Create Service
- start blescanning
- Verify connecting device by getAddressString()
- Start discoverGATTServices();
- get uuid via bleService->getUUID()->getUuidString()
my code: https://github.com/otacon6530/Area-51-Arcade-IR-Gun/tree/master/BTtest
Not sure if this is a BTstack issue or I am just doing it wrong or something, but let me know if you have any direction for me.
------------------------Edit--------------------------------------------------
I used a GATT browser on my phone and the service/characteristic UUIDs are appearing correctly on my phone, so they have to be setting up correctly. I am not sure why the connected service is returning a different UUID though.
To confirm the devices are connected to each other, I removed power to one at a time and the other reports a disconnect, so it appears they are connected to each other.