-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Windows "No such interface supported" #348
Comments
It does seem to work fine on Windows 10. |
I just released a new version with an updated version of windows-rs. Not sure that'll help, but it's worth a shot. |
I've updated to the latest version and tested it, but I was still out of luck. My issue was that I was reading from a characteristic that only implemented Would it be possible to implement better error handling for scenarios like these? |
Describe the bug
After implementing my library (on
bluetooth_support
branch) and testing it on Linux, where it worked, I decided to work on a Windows application that needs Bluetooth connection as well.However, while the program connects to the device, gets the characteristic, writes to it, it fails to read from it.
Program log
I was able to track the issue to this line, where it returns
IReference
, which containsErr(Error { code: HRESULT(0x80004002), message: "No such interface supported" })
when opened withIReference::GetString
.Expected behavior
I'd expect Windows to be able to read and write from and to the BLE device.
Actual behavior
Windows seems to be able to scan, connect, get services, characteristics, but fails to read data from a notify characteristic.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: