-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
_bleio: Unable to write more than 20 bytes to a peripheral characteristic when acting as central #3975
Comments
@jlopez Could you try this test UF2, which I hope will fix your issue? It's for a Feather nRF52840. If you need it for another board, just ask. You will need to unzip it, because GitHub won't allow uploads of .uf2's directly. |
Sure thing. I have an ItsyBitsy nRF52840, though. Once I get an updated .uf2 I'll give it a shot. Thanks! |
It works! The write now succeeds without an exception. Thanks again! 😄 |
Great! Will submit a PR shortly. |
I'm using the nRF52840 as a central and trying to write to a BLE peripheral's characteristic. The data written is 26 bytes long. But it fails with:
The
Characteristic.max_length
seems to be set to 20 bytes, the default. And there's no way to specify a different one as the characteristic is created internally byConnection.discover_remote_services
The device I'm trying to connect to is a Spark 40 by Positive Grid. Here's the code I'm using:
The output:
The text was updated successfully, but these errors were encountered: