Hmmm,
so I've to catch device EV_BLUETOOTH in jshUSARTSetup.
Anyway, if EV_BLUETOOTH is already initialised this should be skipped.
I see -> Bluetooth on console, up to that point everything is fine.
If next step (set Console Device) is done, app runs into IRQ timeout.
I cannot find the step, where something like Bluetooth.write is called. There should be a, let me say connection/function, to write data to ESP32 bluetooth device from Serial object.
Walking through jswrap_serial and jsdevices, at the end, it should go to jshUSARTKick with device = EV_BLUETOOTH, is that correct ?
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.
Hmmm,
so I've to catch device EV_BLUETOOTH in jshUSARTSetup.
Anyway, if EV_BLUETOOTH is already initialised this should be skipped.
I see -> Bluetooth on console, up to that point everything is fine.
If next step (set Console Device) is done, app runs into IRQ timeout.
I cannot find the step, where something like Bluetooth.write is called. There should be a, let me say connection/function, to write data to ESP32 bluetooth device from Serial object.
Walking through jswrap_serial and jsdevices, at the end, it should go to jshUSARTKick with device = EV_BLUETOOTH, is that correct ?