SimpleBLE icon indicating copy to clipboard operation
SimpleBLE copied to clipboard

WinRT exception when sending big data package to characteristic

Open paud0 opened this issue 4 months ago • 0 comments

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!

paud0 avatar Oct 09 '24 15:10 paud0