How to set Transmit Power of my Advertisement Packet in nRF Connect SDK 2.5.1

Hello,

I want to set the transmitting power of the advertising packet. How can I set the TX power?

I am using nRF Connect SDK 2.5.1 in Visual Studio Code.

Regards,

Sri

  • Use case is to make a BLE beacon.

  • If I add CONFIG_SOC_DCDC_NRF52X=y in the kconfig file then it is saying 

    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    So any other way to enable the DCDC mode?

  • Sorry, I gave the wrong link. You need CONFIG_BOARD_ENABLE_DCDC=y

    Regards

    Runar

  • if I add "CONFIG_BOARD_ENABLE_DCDC=y" to the proj.cofig it is showing below error:

    Fullscreen
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I have created a new board in NRF Connect for the board I am using. Do I need to do anything different because it has a different device tree file?

    Regarding the power modes I want to measure current consumption in "ION_RAMON_RTC", "ION_RAMOFF_RTC", "ION_RAMOFF_EVENT". Since my application is beacon I don't need to remember anything so I can turn off the RAM. I want to try all the three modes. Can you suggest a reference code to put the device in the before mentioned states?

  • Could you share your board files so that I can have a look at them? 

    Did you do as in step 6 here? If not, try to do it and see if it works

    I will need to check regarding ION_RAM_OFF and so on as I have never seen it used. But you could also check out https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/others/ram_pwrdn.html 

    Regards

    Runar

1 2 3 4 5