I copied a project folder and I want to change the device name. So I changed CONFIG_BT_DEVICE_NAME="blah_blah_blah" in the prj.conf file and did a pristine build.
But with a sniffer I can see that the device is still advertising under the old device name. So there is some sort of stale file that is not refreshed by a pristine build. Any ideas where it might be?
My SDK is version 2.4.1
My original template was the ble_peripheral. The advertising data section looks like this:
// Set up BLE advertising data static const struct bt_data advert_data[] = { BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)), BT_DATA_BYTES(BT_DATA_UUID16_ALL), BT_DATA_BYTES(BT_DATA_UUID128_ALL, BT_UUID_CHARGEMATE_SERVICE_VAL), };