how to obtain a fixed BLE MAC address when CONFIG_BT_PRIVACY is defined

Hi,

I am using nrf52840 to develop a product. I use NCS sdk v2.5.0. 

I developed a project based on the [Bluetooth: Central HIDS] example in the NCS SDK. This example enables the CONFIG_BT_PRIVACY macro definition, which causes the BLE advertising MAC address to be a new random address every time the device is powered on.

I want the BLE advertise to use a fixed MAC address each time without affecting the HID functionality.

Is this possible?

Thanks !

Related