Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleBlueZ: Characteristics are sometimes missing #253

Open
r-bt opened this issue Jul 20, 2023 · 0 comments
Open

SimpleBlueZ: Characteristics are sometimes missing #253

r-bt opened this issue Jul 20, 2023 · 0 comments

Comments

@r-bt
Copy link

r-bt commented Jul 20, 2023

I've built and installed this library on a Raspberry Pi. I'm trying out the pair.cpp example and have found that the returned characteristics are inconsistent for the same BLE device

On one occasion I'll get

Service: 00001801-0000-1000-8000-00805f9b34fb
  Characteristic: 00002a05-0000-1000-8000-00805f9b34fb
    Descriptor: 00002902-0000-1000-8000-00805f9b34fb
Service: 00020001-574f-4f20-5370-6865726f2121
  Characteristic: 00020003-574f-4f20-5370-6865726f2121
  Characteristic: 00020002-574f-4f20-5370-6865726f2121
    Descriptor: 00002902-0000-1000-8000-00805f9b34fb
  Characteristic: 00020004-574f-4f20-5370-6865726f2121
  Characteristic: 00020005-574f-4f20-5370-6865726f2121
Service: 00010001-574f-4f20-5370-6865726f2121
  Characteristic: 00010002-574f-4f20-5370-6865726f2121
    Descriptor: 00002902-0000-1000-8000-00805f9b34fb
  Characteristic: 00010003-574f-4f20-5370-6865726f2121
    Descriptor: 00002902-0000-1000-8000-00805f9b34fb

and then on another I'll get

Service: 00001801-0000-1000-8000-00805f9b34fb
  Characteristic: 00002a05-0000-1000-8000-00805f9b34fb
    Descriptor: 00002902-0000-1000-8000-00805f9b34fb
Service: 00020001-574f-4f20-5370-6865726f2121

I've built SimpleBluez in both DEBUG and RELEASE mode but found the issue in both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant