Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
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 4 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%
RX: Hottentottententente
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
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 4 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%
RX: Hottentottententente
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
Uncaught Error: Unhandled promise rejection: Disconnected
Getting data from server
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
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.
I added a setInterval to process the code ever 10 secs, the behaviour is now like this:
Maybe you know the source of the "uncaught error ........ promise rejection"?
Code and selection of output for reference below.
Output like this: