NRF54l15 - MAC address changes

Hello team,

We are using nrf54l15 platform using NCS 3.02 SDK.

When advertising the MAC address changes in two following conditions

1. After every reset

2. After connect - disconnect.

Kindly guide us on this.

Parents
  • Hello,

    What sample are you testing that reproduces this behavior?

    And note that the change of BLE address just means that you are using a random static address, that will change in scenarios that you describe. However, I seem to remember that they typically use the same address on every reset, but I may be wrong. 

    What sample are you testing on, and I can try to reproduce what you are seeing, and see if this sample uses any special setting that canges the address.

    Best regards,

    Edvin

Reply
  • Hello,

    What sample are you testing that reproduces this behavior?

    And note that the change of BLE address just means that you are using a random static address, that will change in scenarios that you describe. However, I seem to remember that they typically use the same address on every reset, but I may be wrong. 

    What sample are you testing on, and I can try to reproduce what you are seeing, and see if this sample uses any special setting that canges the address.

    Best regards,

    Edvin

Children
  • These are the config in prj.conf
    CONFIG_BT=y
    CONFIG_LOG=y
    CONFIG_BT_SMP=y
    CONFIG_BT_SIGNING=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_DIS=y
    CONFIG_BT_ATT_PREPARE_COUNT=5
    CONFIG_BT_PRIVACY=y
    CONFIG_BT_DEVICE_NAME="BLE_TEST"
    CONFIG_BT_DEVICE_APPEARANCE=833
    CONFIG_BT_DEVICE_NAME_DYNAMIC=y
    CONFIG_BT_DEVICE_NAME_MAX=65

    CONFIG_BT_KEYS_OVERWRITE_OLDEST=y
    CONFIG_BT_SETTINGS=y
    Observed in ble peripheral example
  • Ok, so it is not one of our samples that I can easily run to test?

    I guess you could try removing CONFIG_BT_PRIVACY=y

    From NCS\zephyr\subsys\bluetooth\host\Kconfig:

    config BT_PRIVACY
    	bool "Device privacy"
    	help
    	  Enable privacy for the local device. This makes the device use Resolvable
    	  Private Addresses (RPAs) by default.
    
    	  Note:
    	  Establishing connections as a directed advertiser, or to a directed
    	  advertiser is only possible if the controller also supports privacy.

    So setting that to "n" instead of "y", or remove it from your prj.conf should make it use it's default address all the time, if that is what you want to have.

    Best regards,

    Edvin

Related