You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I was able to track the issue to this line, where it returns IReference, which contains Err(Error { code: HRESULT(0x80004002), message: "No such interface supported" }) when opened with IReference::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:
It does seem to work fine on Windows 10.
The issue could be Windows 11 or just broken drivers.
I'll test if the drivers are the cause by reinstalling them on Monday and will report back.
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 NOTIFY.
Now the error msg makes more sense, but it doesn't explain why it worked on some Windows devices and not on others (I tested it on another Windows 10, but it still failed).
Would it be possible to implement better error handling for scenarios like these?
(This time the error was on my side, but the error was confusing.)
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: