20 bytes is maximum in BLE unless both devices agree on bigger MTU size or support DLE - data length extension. and yes bigger MTU would need different build of espruino with less memory available. also before DLE or larger MTU was added to bluetooth standard, there were so called long writes, nice summary also here https://github.com/NordicSemiconductor/Android-BLE-Library/issues/3
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
20 bytes is maximum in BLE unless both devices agree on bigger MTU size or support DLE - data length extension. and yes bigger MTU would need different build of espruino with less memory available. also before DLE or larger MTU was added to bluetooth standard, there were so called long writes, nice summary also here https://github.com/NordicSemiconductor/Android-BLE-Library/issues/3