The Bluetooth.println("OK") looks like a good solution, provided the \x10 does not suppress it.
Added a try and except around the code for connection, so that connection errors are trapped in the code, that works OK. Is the basis for adding a retry mechanism.
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.
The
Bluetooth.println("OK")
looks like a good solution, provided the\x10
does not suppress it.Added a
try
andexcept
around the code for connection, so that connection errors are trapped in the code, that works OK. Is the basis for adding a retry mechanism.