Yes, it'll be because Bluetooth.setConsole() overwrites LoopbackA.setConsole(1);
Bluetooth.setConsole()
LoopbackA.setConsole(1);
How about:
NRF.on('connect', function(addr) { LoopbackA.setConsole(); });
Note that you could check the device's address, so you could avoid calling LoopbackA if your development PC is connecting?
Check this out for an example: http://forum.espruino.com/comments/13603623/
@Gordon started
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.
Yes, it'll be because
Bluetooth.setConsole()
overwritesLoopbackA.setConsole(1);
How about:
Note that you could check the device's address, so you could avoid calling LoopbackA if your development PC is connecting?
Check this out for an example: http://forum.espruino.com/comments/13603623/