Is there a way to set a fixed Bluetooth Random Static Device Address on ESP32-C6?

romboidale
Posts: 5
Joined: Wed Aug 28, 2024 10:18 am

Is there a way to set a fixed Bluetooth Random Static Device Address on ESP32-C6?

Postby romboidale » 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!

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: Is there a way to set a fixed Bluetooth Random Static Device Address on ESP32-C6?

Postby ESP_Sun » Fri Oct 11, 2024 6:14 am

As far as I know, the ESP32C6 AT is based on the Nimble protocol and cannot set a BLE random static address.

Who is online

Users browsing this forum: No registered users and 10 guests