nrfxlib API 3.3.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_v6.3, Vol 4, Part E, Section 7.8.117

This 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.

Errors:

See Section 4.5.2 for a list of error types and descriptions.

Type   Condition                                                      Error code
MC     PHY specifies a value that the Controller does not support,    Unsupported Feature or
       including a value that is reserved for future use.             Parameter Value (0x11)
MC     Connection_Handle does not identify a current ACL.             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.