esp-nimble-cpp icon indicating copy to clipboard operation
esp-nimble-cpp copied to clipboard

Add an option to change BLE_ATT_ATTR_MAX_LEN

Open kutu opened this issue 1 year ago • 1 comments
trafficstars

For my HID device I need bigger than 512 bytes report map, currently I have to change this line https://github.com/h2zero/esp-nimble-cpp/blob/cd115f1738fbf9134a4b00ed41d36fb20cafe22c/src/NimBLEAttValue.h#L30

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.

kutu avatar Sep 05 '24 17:09 kutu

That would go against the BLE core specification.

h2zero avatar Sep 15 '24 15:09 h2zero