Sorry - I posted on the wrong thread. Got confused between this and your other one about HID! https://forum.espruino.com/conversations/380964/#comment16739480
I think it might be related though. iOS in particular I think is quite particular about requiring a bonded connection, when some other OSes don't.
From http://www.espruino.com/BLE+Security#passkey-pin-pairing you could try also adding:
NRF.setSecurity({passkey:"123456", mitm:1, display:1});
So now when you connect iOS will want you to enter a passkey, but then the device should be bonded and maybe it'll work?
@Gordon started
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.
Sorry - I posted on the wrong thread. Got confused between this and your other one about HID! https://forum.espruino.com/conversations/380964/#comment16739480
I think it might be related though. iOS in particular I think is quite particular about requiring a bonded connection, when some other OSes don't.
From http://www.espruino.com/BLE+Security#passkey-pin-pairing you could try also adding:
So now when you connect iOS will want you to enter a passkey, but then the device should be bonded and maybe it'll work?