The Pixl would support this, yes - all of the official Espruino Bluetooth boards have it enabled.
I would expect that the read/write would fail if the security restrictions weren't met - as you figured out something like NRF.setSecurity({passkey:"123456", mitm:1, display:1}); should do it I'd have thought.
However: The Pixl will remember the pairing info from last time - which may not be secure. Have you tried setting it all up, then clearing the bonding info on your phone and connecting again and seeing if that works better?
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.
The Pixl would support this, yes - all of the official Espruino Bluetooth boards have it enabled.
I would expect that the read/write would fail if the security restrictions weren't met - as you figured out something like
NRF.setSecurity({passkey:"123456", mitm:1, display:1});
should do it I'd have thought.However: The Pixl will remember the pairing info from last time - which may not be secure. Have you tried setting it all up, then clearing the bonding info on your phone and connecting again and seeing if that works better?