• As I understand it, that characteristic is for when the iPhone is actually connected to Espruino.

    The issue is that you can only dynamically add services to the nRF52. To remove/change a service Espruino has to restart the whole Bluetooth stack behind the scenes, which can't be done with an active connection... And if there's no connection then the iPhone isn't watching that service for a notification so it doesn't know anything has changed.

    At the end of the day I think the only option is really to just toggle Bluetooth on your iPhone. After all, this is only something that's likely to happen one or twice during development. Usually you keep the same characteristics around on a device all the time.

    If you're doing loads of development where it becomes a real pain, you could always buy a cheap Android phone ;)


Avatar for Gordon @Gordon started