It is a compromise between RAM requirements of bluetooth stack and compatibility and speed, 128 (=MTU131) should be plenty for anything. speed can be affected by other parameters too like connection interval, it is not so clearcut that more is better in this case. you can change it in board file but it also needs tuning of APP RAM BASE https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS2.py#L51
when you set the base too low firmware will not start. you should also decrease variables for same amount of bytes (1 JS variable is 13 bytes). as Bangle supports multiple connections, increasing MTU by 128 needs many times more of RAM to support that.
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.
It is a compromise between RAM requirements of bluetooth stack and compatibility and speed, 128 (=MTU131) should be plenty for anything. speed can be affected by other parameters too like connection interval, it is not so clearcut that more is better in this case. you can change it in board file but it also needs tuning of APP RAM BASE
https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS2.py#L51
when you set the base too low firmware will not start. you should also decrease variables for same amount of bytes (1 JS variable is 13 bytes). as Bangle supports multiple connections, increasing MTU by 128 needs many times more of RAM to support that.