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

Setting Tx Power of nRF52840?

HI:

      I Use the Projtcet: "......\nRF5_SDK_15.3.0_59ac345\examples\ble_central\ble_app_uart_c".    

     In the BLE_Central project,  how to set the Tx Power??

     thank you very much!

Parents
  • Hi

    Please check out this case, where my colleague Einar goes into detail on the sd_ble_gap_tx_power_set() function. For the central, you only need to set it once with the scanner/initiator role (BLE_GAP_TX_POWER_ROLE_SCAN_INIT), and then this is used for the connection as well unless you make a new call to sd_ble_gap_tx_power_set() with the BLE_GAP_TX_POWER_ROLE_CONN and a connection handle.

    Best regards,

    Simon

Reply
  • Hi

    Please check out this case, where my colleague Einar goes into detail on the sd_ble_gap_tx_power_set() function. For the central, you only need to set it once with the scanner/initiator role (BLE_GAP_TX_POWER_ROLE_SCAN_INIT), and then this is used for the connection as well unless you make a new call to sd_ble_gap_tx_power_set() with the BLE_GAP_TX_POWER_ROLE_CONN and a connection handle.

    Best regards,

    Simon

Children
No Data
Related