Is there a way to set a fixed Bluetooth Random Static Device Address on ESP32-C6?
Posted: Tue Oct 08, 2024 2:37 pm
Hello,
As opposed to ESP32-C3, who let you define a random address with AT+BLEADDR=1,"XX:XX:XX:XX:XX:XX", ESP32-C6 only lets you define if the address is random or public. This means that the address will be generated from scratch on each startup.
Now, for my application I need for the Bluetooth address to remain the same after reset and/or startup. Is there a way to force this on ESP-AT? The address needs to be randomly generated only at the first startup, OR it can be passed as a parameter with a custom AT command: I can add a new custom AT command if needed, but I cannot find documentation on how to setup the bluetooth address the way I want.
Any help would be appreciated!
As opposed to ESP32-C3, who let you define a random address with AT+BLEADDR=1,"XX:XX:XX:XX:XX:XX", ESP32-C6 only lets you define if the address is random or public. This means that the address will be generated from scratch on each startup.
Now, for my application I need for the Bluetooth address to remain the same after reset and/or startup. Is there a way to force this on ESP-AT? The address needs to be randomly generated only at the first startup, OR it can be passed as a parameter with a custom AT command: I can add a new custom AT command if needed, but I cannot find documentation on how to setup the bluetooth address the way I want.
Any help would be appreciated!