There isn't anything at the moment I believe - but since JS is executed on a write it may be possible to just ignore the write if the connection isn't secure.
However either way I think you're not going to have any success with nRF51 - I don't think link security is implemented on that because there isn't enough space.
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.
There isn't anything at the moment I believe - but since JS is executed on a write it may be possible to just ignore the write if the connection isn't secure.
However either way I think you're not going to have any success with nRF51 - I don't think link security is implemented on that because there isn't enough space.