ESP32 and scan for known bluetooth devices.

hra.leinonen
Posts: 3
Joined: Wed Aug 25, 2021 7:56 am

ESP32 and scan for known bluetooth devices.

Postby hra.leinonen » Fri May 27, 2022 11:47 am

Hi all,

I have a python code which scans known bluetooth mobile (IOS and Android) devices.
Now I am using RPi's, but i'd like to change my implementation to ESP32. Can you point me example
code or documentation where is can do same functionality like bluetooth.lookup_name does in python
bluetooth module?

Link to function https://pybluez.readthedocs.io/en/lates ... _name.html

There is lot of example how to scan BLE devices, but no how to find if known device is near and it
seems that phone needs to be know, because otherwise it wont show in scans?

Best regards,

Ville

Alberk
Posts: 55
Joined: Sat Jun 19, 2021 1:49 am

Re: ESP32 and scan for known bluetooth devices.

Postby Alberk » Sat May 28, 2022 3:35 am


rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

Re: ESP32 and scan for known bluetooth devices.

Postby rpiloverbd » Sun May 29, 2022 11:08 am


hra.leinonen
Posts: 3
Joined: Wed Aug 25, 2021 7:56 am

Re: ESP32 and scan for known bluetooth devices.

Postby hra.leinonen » Tue May 31, 2022 5:06 am

Hi,

Thank you for the answers. I think I try to use Micropython for this project instead of C.

Regards,

Ville

Who is online

Users browsing this forum: ESP_Sprite and 206 guests