There is a serial over BLE (Nordic UART) example in the tree. Problem is, it seems it can't send more than 20 bytes on each transfer.
The code relies on BLE_ATTRIBUTE_MAX_VALUE_LENGTH which is set to 20. Increasing this value doesn't seem to have any effect (still sends 20 bytes max).
How to increase this limit?
There is a serial over BLE (Nordic UART) example in the tree. Problem is, it seems it can't send more than 20 bytes on each transfer. The code relies on
BLE_ATTRIBUTE_MAX_VALUE_LENGTH
which is set to 20. Increasing this value doesn't seem to have any effect (still sends 20 bytes max). How to increase this limit?https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/161a4163f565be3cd5b62bbc59f0c2b522d82b02/examples/serial/BLESerial.h#L31