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

Add an option to change BLE_ATT_ATTR_MAX_LEN #196

Open
kutu opened this issue Sep 5, 2024 · 1 comment
Open

Add an option to change BLE_ATT_ATTR_MAX_LEN #196

kutu opened this issue Sep 5, 2024 · 1 comment

Comments

@kutu
Copy link

kutu commented Sep 5, 2024

For my HID device I need bigger than 512 bytes report map, currently I have to change this line

# define BLE_ATT_ATTR_MAX_LEN 512

and in nimble as well
https://github.com/apache/mynewt-nimble/blob/baf2930d32c21222b77086181d842301bff9721f/nimble/host/include/host/ble_att.h#L227

Without changing this lines I get "driver error" in Windows, because my report map is not being sent.

If there is a way to send bigger than 512 bytes report map, please advice.

Thank you.

@h2zero
Copy link
Owner

h2zero commented Sep 15, 2024

That would go against the BLE core specification.

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

2 participants