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

WinRT exception when sending big data package to characteristic #348

Open
paud0 opened this issue Oct 9, 2024 · 0 comments
Open

WinRT exception when sending big data package to characteristic #348

paud0 opened this issue Oct 9, 2024 · 0 comments

Comments

@paud0
Copy link

paud0 commented Oct 9, 2024

Hello,
I know this might not be the right place to ask this, but I am out of ideas and hope someone has experienced a similar problem before.

I am on Windows 11 and I am using SimplePyBLE to connect to a BLE characteristic and write hex values to it. It all works great until I try to send a bigger package.

When I do that I get the exception:
RuntimeError: WinRT Exception. Error code -2147024809: The parameter is incorrect.

I have an app on my phone that can send packages of any length to the same characteristic, so it is not about the device that I am connecting with. I suspect that it might have something to do with my Bluetooth driver, but I don't know which direction to look to.

Any hint is greatly appreciated!
Thanks a lot in advance!

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