arduino-BLEPeripheral icon indicating copy to clipboard operation
arduino-BLEPeripheral copied to clipboard

How to send more than 20bytes in each transaction with bleSerial.write()?

Open pvonmoradi opened this issue 3 years ago • 0 comments

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

pvonmoradi avatar Jan 28 '21 14:01 pvonmoradi