nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_zephyr_read_tx_power()

uint8_t sdc_hci_cmd_vs_zephyr_read_tx_power ( const sdc_hci_cmd_vs_zephyr_read_tx_power_t * p_params,
sdc_hci_cmd_vs_zephyr_read_tx_power_return_t * p_return )

#include <softdevice_controller/include/sdc_hci_vs.h>

Zephyr Read Tx Power Level (per Role/Connection) Command.

This command reads the BLE Tx power level.

In contrast to the standardized HCI command, i.e. Read_Transmit_Power_Level, which returns the transmitted power level only for a specified connection handle, this command operates for both connected and unconnected states. It gets the BLE Tx power level for any given handle type and handle.

Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
[out]p_returnExtra return parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.