Thanks - that looks so promising... @user63214 did you have any thoughts on this?
Are you sure it's actually disconnecting? Or is it just that it's giving the error.
The BLE task completed that wasn't scheduled bit is probably ok - looking at the code it's just a 'connect' event that I guess happens when that bonding completes successfully. Espruino complains because it wasn't expecting the event.
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.
Thanks - that looks so promising... @user63214 did you have any thoughts on this?
Are you sure it's actually disconnecting? Or is it just that it's giving the error.
The
BLE task completed that wasn't scheduled
bit is probably ok - looking at the code it's just a 'connect' event that I guess happens when that bonding completes successfully. Espruino complains because it wasn't expecting the event.