It seems like the "disconnect" is not executed, output is:
>
Done!
RX: SASML,299.45,-4.5%
RX: Hottentottententente
RX: Quit
Quit received, disconnecting now
RX: D07-06-2020 12.23
RX: SAAPL,311.01,+11.5%
RX: SASML,299.45,-4.5%
RX: Hottentottententente
RX: Quit
Quit received, disconnecting now
RX: D07-06-2020 12.23
Uncaught Error: BLE task 3 is already in progress
at line 1 col 149
...ting now");gatt.disconnect();}
^
in function called from system
RX: SAAPL,311.01,+11.5%
RX: SASML,299.45,-4.5%
>
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.
Added a “print” when “Quit" is received
It seems like the "disconnect" is not executed, output is: