Couldn't change the CONFIG_BT_DEVICE_NAME from Nordic_UART_Service to something else

Hello,

I have a custom board with nRF5340 and I am unable to change the BT_DEVICE_NAME on the NET core. I have tried both rpc_host and ipc_radio (RPC) images. they both have the same issue. I am setting the value using a snippet and it is being merged as you can see below.

   *******************************
   * Running CMake for ipc_radio *
   *******************************
......

Parsing /home/workspace/sdk/nrf/applications/ipc_radio/Kconfig
Loaded configuration '/home/workspace/fw/boards/vendor/hid/hid_nrf5340_cpunet_defconfig'
Merged configuration '/home/workspace/sdk/nrf/applications/ipc_radio/prj.conf'
Merged configuration '/home/workspace/fw/snippets/hid-bt-rpc.conf'
Merged configuration '/home/workspace/sdk/nrf/applications/ipc_radio/overlay-bt_rpc.conf'
Merged configuration '/home/workspace/fw/build/ipc_radio/zephyr/.config.sysbuild'
Configuration saved to '/home/workspace/fw/build/ipc_radio/zephyr/.config'
Kconfig header saved to '/home/workspace/fw/build/ipc_radio/zephyr/include/generated/zephyr/autoconf.h'

.....

I am using sysbuild to build the project. The error on RTT log is

<err> BT_RPC: Missmatched CONFIG_BT_DEVICE_NAME: net="Nordic_UART_Ser, app="HID"

Should I use something else other than snippet to change the value in net core image?

Thank you.

Parents
  • Hello,

    Dont' use rpc, it's experimental only, and I don't expect it is much used in general.

    To change the device name the only thing you need to do is modify CONFIG_BT_DEVICE_NAME in:
    \nrf\samples\bluetooth\peripheral_uart\prj.conf (actual path depend on the example you are using)

    Make sure to build with --pristine option to ensure the change take effect. Also be aware that if you have connected to a central before, the central may cache the device name, so it may not update the device name until after you re-connect.

    Kenneth

Reply
  • Hello,

    Dont' use rpc, it's experimental only, and I don't expect it is much used in general.

    To change the device name the only thing you need to do is modify CONFIG_BT_DEVICE_NAME in:
    \nrf\samples\bluetooth\peripheral_uart\prj.conf (actual path depend on the example you are using)

    Make sure to build with --pristine option to ensure the change take effect. Also be aware that if you have connected to a central before, the central may cache the device name, so it may not update the device name until after you re-connect.

    Kenneth

Children
Related