Page 1 of 1

ESP32 and scan for known bluetooth devices.

Posted: Fri May 27, 2022 11:47 am
by hra.leinonen
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

Re: ESP32 and scan for known bluetooth devices.

Posted: Sat May 28, 2022 3:35 am
by Alberk

Re: ESP32 and scan for known bluetooth devices.

Posted: Sun May 29, 2022 11:08 am
by rpiloverbd

Re: ESP32 and scan for known bluetooth devices.

Posted: Tue May 31, 2022 5:06 am
by hra.leinonen
Hi,

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

Regards,

Ville