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

◆ sdc_hci_cmd_le_enhanced_read_transmit_power_level()

uint8_t sdc_hci_cmd_le_enhanced_read_transmit_power_level ( const sdc_hci_cmd_le_enhanced_read_transmit_power_level_t p_params,
sdc_hci_cmd_le_enhanced_read_transmit_power_level_return_t p_return 
)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Enhanced Read Transmit Power Level.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.8.117

The HCI_LE_Enhanced_Read_Transmit_Power_Level command is used to read the current and maximum transmit power levels of the local Controller on the ACL connection identified by the Connection_Handle parameter and the PHY indicated by the PHY parameter.

If the Host sets PHY to a value that the Controller does not support, including a value that is reserved for future use, the Controller shall return the error code Unsupported Feature or Parameter Value (0x11).

If the Connection_Handle parameter does not identify a current ACL connection, the Controller shall return the error code Unknown Connection Identifier (0x02).

Event(s) generated (unless masked away): When the HCI_LE_Enhanced_Read_Transmit_Power_Level 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.