Looks like a really fun thing to try and do :) It's not because something else (nRF toolbox) is already connected to the iPhone is it?
I guess you're uploading that code in sections, manually?
You could try responding to this event and seeing if you get any useful error numbers? http://www.espruino.com/Reference#l_BluetoothDevice_gattserverdisconnected
If it's not connecting then I guess it might be because of some negotiation issue?
@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.
Looks like a really fun thing to try and do :) It's not because something else (nRF toolbox) is already connected to the iPhone is it?
I guess you're uploading that code in sections, manually?
You could try responding to this event and seeing if you get any useful error numbers? http://www.espruino.com/Reference#l_BluetoothDevice_gattserverdisconnected
If it's not connecting then I guess it might be because of some negotiation issue?