Ahh - ok, so what happens with settings is the settings app changes settings.json as you note. Then, on the next boot, bootupdate.js is called, and that created a new JS file that runs at boot to set everything up.
The specific line you want is https://github.com/espruino/BangleApps/blob/41b3224e3f0854e8ec760157f732b4727f6801e1/apps/boot/bootupdate.js#L38
Basically you just call Bluetooth.setConsole(true); at startup. That forces the console to stay on Bluetooth all the time. If Bluetooth isn't connected, anything that's written just gets thrown away.
© Espruino, powered by microcosm.
Report a problem