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

Missing "service data" on Windows #11

Open
spudwebb opened this issue Oct 9, 2024 · 6 comments
Open

Missing "service data" on Windows #11

spudwebb opened this issue Oct 9, 2024 · 6 comments

Comments

@spudwebb
Copy link

spudwebb commented Oct 9, 2024

It looks like on Windows the "service data" are not correctly parsed and passed back but these are required by the Matter standard. Using the same bluetooth dongle and the same Matter device, the "service data" are correctly reported on Linux.

Linux:
2024-10-08 14:48:59.885 DEBUG NobleBleClient Found peripheral 30:de:4b:db:7f:24 (undefined): {"localName":"undefined","txPowerLevel":"undefined","manufacturerData":"undefined","serviceData":[{"uuid":"fff6","data":{"type":"Buffer","data":[0,206,4,136,17,1,1,1]}}],"serviceUuids":["8641","fff6"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]}

Windows:
2024-10-08 15:13:19.756 DEBUG NobleBleClient Found peripheral 30:de:4b:db:7f:24 (): {"localName":"","txPowerLevel":0,"manufacturerData":{"type":"Buffer","data":[]},"serviceData":[],"serviceUuids":["8641","fff6"]}

Reference discussion with @Apollon77 : project-chip/matter.js#1241

@stoprocent
Copy link
Owner

What kind of BLE implementation you are using? Native windows or USB ?

@spudwebb
Copy link
Author

I'm using a TP-Link UB500 USB adapter on my desktop PC

But I saw the exact same problem using the native BLE from my windows laptop.

@stoprocent
Copy link
Owner

I'm on a business trip right now. I will be back soon and I will have a look. No probs

@leonardocavagnis
Copy link

Hi @stoprocent,
I'm experiencing the same issue. On macOS, service data is parsed correctly, but on Windows 10, it isn't.

@spudwebb Any updates?

@spudwebb
Copy link
Author

No update on my side, but I would love to make this work.

@stoprocent , let us know how we can help to fix this.

@stoprocent
Copy link
Owner

Hi Guys I had a crazy time at work. I will try to look at this end of the current week. Stay tuned

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

3 participants