Skip to content

Bluetooth UUID #2483

Closed
Closed
@otacon6530

Description

@otacon6530

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:

  1. Create service
  2. Start advertising

Second Pico:

  1. Create Service
  2. start blescanning
  3. Verify connecting device by getAddressString()
  4. Start discoverGATTServices();
  5. get uuid via bleService->getUUID()->getUuidString()

Image

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions