sl_bt_evt_connection_get_remote_tx_power_completedConnection#

Indicates that reading remote transmit power initiated by sl_bt_connection_get_remote_tx_power command has completed.

Data Structures

struct

sl_bt_evt_connection_get_remote_tx_power_completed_s

Data structure of the get_remote_tx_power_completed event. More...

Macros

#define

sl_bt_evt_connection_get_remote_tx_power_completed_id   0x050600a0

Identifier of the get_remote_tx_power_completed event.

Detailed Description#

Indicates that reading remote transmit power initiated by sl_bt_connection_get_remote_tx_power command has completed.


Data Structure Documentation#

sl_bt_evt_connection_get_remote_tx_power_completed_s#

struct sl_bt_evt_connection_get_remote_tx_power_completed_s

Data structure of the get_remote_tx_power_completed event.

Data Fields

uint16_t

status

SL_STATUS_OK or another error code indicating the reading remote transmit power operation failed.

uint8_t

connection

Handle of the connection

uint8_t

phy

Enum sl_bt_gap_phy_and_coding_type_t. The PHY for which the transmit power is reported. Values:

  • sl_bt_gap_1m_phy_uncoded (0x1): 1M PHY

  • sl_bt_gap_2m_phy_uncoded (0x2): 2M PHY

  • sl_bt_gap_coded_phy_125k (0x4): 125k Coded PHY (S=8)

  • sl_bt_gap_coded_phy_500k (0x8): 500k Coded PHY (S=2)

int8_t

power_level

Transmit power level. Values:

  • Range -127 to 20: The transmit power level in dBm

uint8_t

flags

Enum sl_bt_connection_tx_power_flag_t. Transmit power level flags. Ignore this field if power_level is set to 0x7E or 0x7F. Values:

  • sl_bt_connection_tx_power_at_minimum (0x1): Transmit power level is at minimum level.

  • sl_bt_connection_tx_power_at_maximum (0x2): Transmit power level is at maximum level.

int8_t

delta

Change in transmit power level. Values:

  • (0x7F): Change is not available or is out of range.

  • Other values: positive indicates increased power, negative indicates decreased power, and zero indicates unchanged. Units: dB