ArduinoBLE
ArduinoBLE copied to clipboard
Allocate dyamic sized arrays
In response to issue https://github.com/arduino-libraries/ArduinoBLE/issues/89
Rather than make a variable sized buffer (is that somehow supported?), allocate a correctly sized buffer.
Alternative might be to have a fixed size TX buffer to avoid allocations/reallocations...