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

How to change tx power in nfr52840 throughput test

Hello, I'm using SDK 15.3.0 throughput test and I want to change TX power to +8dBm. In documents it says change the power from sd_ble_gap_tx_power_set but I couldn't find where this function is. Can you please help me to find where can I change the tx power in firmware?

Parents Reply Children
  • I need to set different power at advertising and after connected. 

    So, when I used after connected and read RSSI value from nrf connect mobile app it is showing the different level at different power value set in sd_ble_gap_tx_power_set() API.

    But same I did for advertising it is not working. I put err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV ,m_adv_handle,-40); in advertising_init() function.

    Is the proper way to do it?

Related