nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_conn_set_remote_tx_power_level()

int bt_conn_set_remote_tx_power_level ( struct bt_conn * conn,
enum bt_conn_le_tx_power_phy phy,
int8_t delta )

#include <include/bluetooth/nrf/host_extensions.h>

Set remote (peer) transmit power.

Parameters
connConnection object.
phyPHY bit number i.e. [1M, 2M, s8, s2] == [1, 2, 3, 4]
deltaRequested adjustment (in dBm) for the remote to apply to its transmit power. The value can be 0 to utilize the response of the peer to update the information on the transmit power setting of the remote. Note that this is only a request to the peer, which is in control of how, if at all, to apply changes to its transmit power.
Returns
Zero on success or (negative) error code on failure.
Return values
-ENOBUFSHCI command buffer is not available.