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

Please inquire about the use of sd_ble_gap_tx_power_set.

Hi,

I am using 

  • nRF52840
  • SDK 15.3.0
  • Keil IDE
  • The soft device is S140 
  • JLinkRTTViewer for debug

I set tx power in advertising as below.

sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, m_advertising.adv_handle, 4);  

When connected to a smartphone, is the tx power set in advertising maintained?

If not maintained, what value is tx power set in the connected state?

If you want to maximize tx power while connected, can you set it as below?

sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, m_conn_handle, 4);

please advice

Alex

Parents Reply Children
Related