nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_write_remote_tx_power()

uint8_t sdc_hci_cmd_vs_write_remote_tx_power ( const sdc_hci_cmd_vs_write_remote_tx_power_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Write remote transmit power level.

This command requests adjustment of radio transmit power level for a connected peer device.

When this command is issued, the controller initiates Power Control Request procedure (Core_v5.3, Vol 6, Part B, Section 5.1.17) to request the change from the peer. The peer responds with the actual transmit power level change and the controller reports the change to the host with an event.

Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Status event shall be generated. When the controller has completed the power control request and if the request has resulted in a change in the peer's transmit power level, an HCI_LE_Transmit_Power_Reporting event shall be generated.

Parameters
[in]p_paramsInput 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.