![]() |
S145 SoftDevice for nRF54LS05 API documentation 10.0.0
|
| uint32_t sd_ble_gap_tx_power_set | ( | uint8_t | role, |
| uint16_t | handle, | ||
| int8_t | tx_power ) |
#include <ble_gap.h>
Set the radio's transmit power.
| [in] | role | The role to set the transmit power for, see BLE_GAP_TX_POWER_ROLES for possible roles. |
| [in] | handle | The handle parameter is interpreted depending on role:
|
| [in] | tx_power | Radio transmit power in dBm (see Product Specification for supported values). |
| NRF_SUCCESS | Successfully changed the transmit power. |
| NRF_ERROR_INVALID_PARAM | Invalid parameter(s) supplied. |
| BLE_ERROR_INVALID_ADV_HANDLE | Advertising handle not found. |
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid connection handle supplied. |