esp-nimble-cpp
esp-nimble-cpp copied to clipboard
NimBLELocalValueAttribute::setValue(const uint8_t* data, size_t size) doesn't report an error if the size is larger than 512 bytes
Should it return to indicate that the setValue() has failed? I've got a few characteristics that I just spotted were larger than 512 bytes, the values aren't showing up, and will have to be split up, was wondering if a value should be returned to enable it being caught earlier.
Yes, there should be some sort of notice so that the dev knows where to look.