bluetooth classic: verify if paired phone is in reached

psy0rz
Posts: 1
Joined: Sun Jun 02, 2024 9:58 pm

bluetooth classic: verify if paired phone is in reached

Postby psy0rz » Sun Jun 02, 2024 10:06 pm

I want an esp32 to connect to a phone to see if its in reach and is still paired.

The usecase is to unlock an ebike by pressing a button on the bike and having it check if your phone is nearby.

I dont want to use BLE or any apps on the phone. I simple pairing should be enough i think?

Im able to do a GAP request to the mac address and get the rssi, but this requires no pairing and thus is insecure.

I tried to do a simple l2cap connect but i think im doing it wrong. Any tips?

Who is online

Users browsing this forum: No registered users and 77 guests