Took a bit more time, worked fine with phone and PC before but when testing between two espruino devices higher MTU was not negotiated as no side started the negotiation so I needed to add that too - when being central and connecting to peripheral MTU negotiation is started, and possibly also DLE is requested on softdevice >3 (as the sd_ble_gap_data_length_update method is not there in 3.0 for some reason even if DLE support should be there in 3.0)
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 up there https://github.com/espruino/Espruino/pull/1998
Took a bit more time, worked fine with phone and PC before but when testing between two espruino devices higher MTU was not negotiated as no side started the negotiation so I needed to add that too - when being central and connecting to peripheral MTU negotiation is started, and possibly also DLE is requested on softdevice >3 (as the
sd_ble_gap_data_length_update
method is not there in 3.0 for some reason even if DLE support should be there in 3.0)