Data structure of the tx_power event.

Public Attributes#

uint8_t
uint8_t
uint8_t
int8_t

Public Attribute Documentation#

connection#

uint8_t sl_bt_evt_connection_tx_power_s::connection

Handle of the connection


Definition at line 6759 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

phy#

uint8_t sl_bt_evt_connection_tx_power_s::phy

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

  • sl_bt_gap_phy_coding_1m_uncoded (0x1): 1M PHY

  • sl_bt_gap_phy_coding_2m_uncoded (0x2): 2M PHY

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

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


Definition at line 6760 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

power_level#

int8_t sl_bt_evt_connection_tx_power_s::power_level

Transmit power level. Values:


Definition at line 6770 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

flags#

uint8_t sl_bt_evt_connection_tx_power_s::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_flag_none (0x0): No flag is defined for the reported TX power level

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


Definition at line 6776 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

delta#

int8_t sl_bt_evt_connection_tx_power_s::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


Definition at line 6788 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h