sl_bt_evt_connection_remote_tx_powerConnection#
Reports a transmit power change on the remote device of a connection if transmit power reporting has been enabled.
Data Structures | |
|---|---|
struct | |
Data structure of the remote_tx_power event. |
Macros | |
|---|---|
#define | sl_bt_evt_connection_remote_tx_power_id 0x070600a0 |
Identifier of the remote_tx_power event. |
Detailed Description#
Reports a transmit power change on the remote device of a connection if transmit power reporting has been enabled.
Enable or disable transmit power reporting using sl_bt_connection_set_power_reporting command.
Data Structure Documentation#
◆sl_bt_evt_connection_remote_tx_power_s#
struct sl_bt_evt_connection_remote_tx_power_s |
Data structure of the remote_tx_power event.
Data Fields | name | description |
|---|---|---|
uint8_t | connection | Handle of the connection |
uint8_t | phy | The PHY which the transmit power is reported for. Values:
|
int8_t | power_level | Transmit power level. Values: Range -127 to 20: The transmit power level in dBm SL_BT_CONNECTION_TX_POWER_UNMANAGED (0x7E): Remote device is not managing power levels on this PHY. SL_BT_CONNECTION_TX_POWER_UNAVAILABLE (0x7F): Transmit power level is not available. |
uint8_t | flags | Transmit power level flags. Ignore this field if
|
int8_t | delta | Change in transmit power level. Values: SL_BT_CONNECTION_TX_POWER_CHANGE_UNAVAILABLE (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 |