extended advertising - advertise more data than 31 bytes (there is no scan response possible over coded phy so less data fits - only 31 instead of 31+31)
for both SD140 6.1.x is needed
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.
I've seen some slight difference indoors, one more wall/few meters more works with RSSI over 100.
So for now advertising over coded phy should work and I think there is no way to improve range more in software.
However there are some other missing features see https://github.com/espruino/Espruino/issues/2465
for both SD140 6.1.x is needed