Uncaught Error: Can't update services until BLE restart
You need to disconnect everything including the IDE from the device to let the BLE stack restart automatically, then it will start working. You can wrap the update in try catch block if the exception breaks something.
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.
You need to disconnect everything including the IDE from the device to let the BLE stack restart automatically, then it will start working. You can wrap the update in try catch block if the exception breaks something.