ESP32 BLE (Address Bluetooth always changing)

Yudy's picture

Offline

Joined: Nov 17, 2020

Replies: 1
ESP32 BLE (Address Bluetooth always changing)
November 18, 2020 - 5:06pm

I have tried the BLE based Proximity Control project using ESP32 - Detect Presence of BLE Devices

But every time the bluetooth on our device is rebooted, I find the address changes when doing a re-scan

how do I keep the address fixed or how if it is changed to using wifi instead of using BLE?

thx

Sourav Gupta's picture

Offline

Joined: Feb 12, 2018

Replies: 578

Use static BLE address on the ESP32. You can set it by the esp32 address type configuration.