This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[nRF52840 SDK 16.0.0] ble beacon example change TX power level

Hi all,

I'm using the "ble_beacon_app" example from the SDK 16.0.0 with the nRF52840 DK. I would like to change the TX power level.

In main.c function, I tried to change the advertising_init() by adding the following code:

    int8_t tx_power_level = 8;
    advdata.p_tx_power_level = &tx_power_level;

I get no error by compiling the project, but the application doesn't work and I cannot see any device from the nRF connect App scanner.

Could you please help me where is the problem? Thank you in advance

Parents Reply Children
No Data
Related