Thanks for taking a look! It's encouraging that you can reproduce the problem, although I'm not sure why it's intermittent. I tried it using your exact code and it disconnects after ~1.0 seconds, exactly the same for me every single time. I'm running the 2v18 firmware on the watch. I tried both with "upload to ram" and pasting into the console.
My Arduino is also an ESP32-C3 FWIW, it's a Xiao from "seeed studio".
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.
Thanks for taking a look! It's encouraging that you can reproduce the problem, although I'm not sure why it's intermittent. I tried it using your exact code and it disconnects after ~1.0 seconds, exactly the same for me every single time. I'm running the 2v18 firmware on the watch. I tried both with "upload to ram" and pasting into the console.
My Arduino is also an ESP32-C3 FWIW, it's a Xiao from "seeed studio".