for me it mostly works even with Bangle, when it disconnects in 1 second I see on arduino side that it did not notice the connection at all. Googled it and found one explanation
The error code 0x3E means "failed to establish". The BT core spec states that if a master does not receive a packet from the slave within the first 6 connection events after sending a connection requests then the master considers the connection lost.
You most likely are getting this because your slave device is not receiving the connection request, and therefore is just continuing to advertise. The master then tries 6 connection events and never gets a packet.
I think this is what happens here Arduino side is ignoring the connection attempt.
I build the example with Tools -> Core Debug Level -> Verbose and I see lot of info when connection is estabilished but in this case when it does not work I see nothing on Arduino side
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.
for me it mostly works even with Bangle, when it disconnects in 1 second I see on arduino side that it did not notice the connection at all. Googled it and found one explanation
I think this is what happens here Arduino side is ignoring the connection attempt.
I build the example with Tools -> Core Debug Level -> Verbose and I see lot of info when connection is estabilished but in this case when it does not work I see nothing on Arduino side