How to properly set TX Power when advertising as peripheral

Hello,

I am trying to set the TX Power on theThingy:53 to -20 for advertising. However when I check the output files, the Option `CONFIG_BT_CTLR_TX_PWR_MINUS_20` is always no. 

Currently I am trying with the nRF sample Peripheral LBS but without success. I put `CONFIG_BT_CTLR_TX_PWR_MINUS_20=y` into prj.confand into the board specific config files.

Can anyone help or had the same issue or am I doing it wrong? By now I did not change a thing to the code except above.

Best,

Toni

Parents
  • Hi,

    On Thingy:53 (nRF5340-based), the Bluetooth controller runs on the network core, so controller Kconfig options like CONFIG_BT_CTLR_TX_PWR_MINUS_20 must be applied to the network-core image, not in the application core’s prj.conf. In practice you can do it in the following way:

    In the application folder, create child_image/hci_ipc.conf and put CONFIG_BT_CTLR_TX_PWR_MINUS_20=y inside that file and then do a pristine build. Also remember to remove it from the app’s prj.conf (optional but recommended to avoid confusion).

    Best Regards,
    Syed Maysum

Reply
  • Hi,

    On Thingy:53 (nRF5340-based), the Bluetooth controller runs on the network core, so controller Kconfig options like CONFIG_BT_CTLR_TX_PWR_MINUS_20 must be applied to the network-core image, not in the application core’s prj.conf. In practice you can do it in the following way:

    In the application folder, create child_image/hci_ipc.conf and put CONFIG_BT_CTLR_TX_PWR_MINUS_20=y inside that file and then do a pristine build. Also remember to remove it from the app’s prj.conf (optional but recommended to avoid confusion).

    Best Regards,
    Syed Maysum

Children
Related