Documentation states “When a connection is created it will inherit the transmit power from the initiator or advertiser leading to the connection.” In my BLE event handler, in the case GAP_BLE_EVT_CONNECTED, I do the following:
uint8_t the_handle = p_ble_evt->evt.gap_evt.conn_handle;
sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, the_handle, 7);
Without having set the tx power in the central's advertising data, will the peripheral know what the power is that it should inherit? Or does the sd_ble_gap_tx_power_set() function also take care of this?