arduino esp32 and bluetooth-"ping"

otto001
Posts: 3
Joined: Tue Jan 11, 2022 9:53 am

arduino esp32 and bluetooth-"ping"

Postby otto001 » Tue Jan 11, 2022 10:15 am

Hi,

I am pretty new to esp32, though I have done several things using arduino and esp8266....
For purposes of home automation I want to program a esp32 (nodemcu) to periodically "ping" bluetooth devices (presence scan).
Unfortunately my mobile phone (redmi note 10) is only found by bt-scan when I am in pairing mode.
I tried the example-sketch from arduino-esp32 bluetoothserial and it works so far.
I can pair the phone and it is also found if I am in the bt-settings.
Is there a way to "ping" paired devices from esp32 to see if they are in range?
Best regards and thanks in advance,
Otto

otto001
Posts: 3
Joined: Tue Jan 11, 2022 9:53 am

Re: arduino esp32 and bluetooth-"ping"

Postby otto001 » Fri Jan 14, 2022 10:47 pm

No one? :-(

MattHixson
Posts: 4
Joined: Tue Oct 05, 2021 7:11 pm

Re: arduino esp32 and bluetooth-"ping"

Postby MattHixson » Thu Oct 27, 2022 2:12 am

Hi, just wondering if you were able to find a solution to your problem. I'm trying to do exactly the same thing and am finding just about nothing in the way of examples.
Thanks,
-Matt

otto001
Posts: 3
Joined: Tue Jan 11, 2022 9:53 am

Re: arduino esp32 and bluetooth-"ping"

Postby otto001 » Thu Oct 27, 2022 4:46 am

Hi,

no, unfortunately I did not find a solution. I did it with a raspberry then...
Best regards,
Otto

Who is online

Users browsing this forum: Bing [Bot] and 115 guests