-
What I'm doing wrong?
You picked random Arduino example without understanding what it does (at all)?
You just paste the example verbatim here and see what happens?
You talk about "ESP32" or "esp32 bluetooth client" but in fact you mean "Arduino for ESP32"?Or maybe you are just some AI bot that did not get the context right? Your post #5 is pretty odd considering previous posts and this being Espruino forum :-)
Anyway, you don't need to create connection to Bangle to read what it is advertising.
Whether to use advertising or connection depends how much data it is, how often it is changing, how reliable it should be, how often Bangle moves out of signal range.Also you can have only one concurrent connection to the Bangle so if you have phone connected to it already you cannot make second connection from ESP32, that would also mean advertising could be the way. I think in very recent builds Bangle can still advertise while there is something already connected to it.
Hello,
I passed it this way. I have installed btadv for begining and after this I've tried to set esp32 bluetooth client:
And I'm receiving:
What I'm doing wrong?