I have been trying to update the BLE mac address to public but unfortunately, I wasn't able to achieve that
I have followed the multiple DevZone threads but wasn't successful in updating the BLEaddress.
nRF5340-DK, ncs2.0.1, (primary application running on app core and using the default child image hci_rpmsg (during build))
These are the two methods, I have used to update but neither of them were successful
Method 1: using bt_ctlr_set_public_addr()
Issue: undefined reference to bt_ctlr_set_public_addr() even after adding #include <zephyr/bluetooth/controller.h> and also called before bt_enable().
1. Do I need to enable any kconfig symbols and also is the bt_ctlr_set_public_addr() has to be used in the application running on network core
Method 2: using bt_hci_cmd_create and bt_hci_cmd_send_sync but there were no build errors but when I flash the application, MAC address doesn't get updated.
Could you please help me in figuring out this and also I sometimes couldn't understand which specific modules are intended to use by the network core.