Am I right in thinking that you only do it once when you initially connect?
Do you have the ability to write code for the Espruino device itself? It'd be pretty easy to add code to do the echo(0) and clear line automatically when Bluetooth was connected, meaning you don't need to send anything.
I'm a bit worried about adding stuff like that because if anyone ever enters the key by accident (eg copy pasting something with some dodgy char codes in) at any point it basically makes the board seem like it's crashed until it is rebooted :(
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.
Am I right in thinking that you only do it once when you initially connect?
Do you have the ability to write code for the Espruino device itself? It'd be pretty easy to add code to do the echo(0) and clear line automatically when Bluetooth was connected, meaning you don't need to send anything.
I'm a bit worried about adding stuff like that because if anyone ever enters the key by accident (eg copy pasting something with some dodgy char codes in) at any point it basically makes the board seem like it's crashed until it is rebooted :(