Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
st_ble_gap_set_phy_param_t Struct Reference

PHY configuration parameters used in R_BLE_GAP_SetPhy(). More...

Data Fields

uint8_t tx_phys
 Transmitter PHY preference. More...
 
uint8_t rx_phys
 Receiver PHY preference. More...
 
uint16_t phy_options
 Coding scheme used in Coded PHY. More...
 

Detailed Description

PHY configuration parameters used in R_BLE_GAP_SetPhy().

Field Documentation

◆ tx_phys

uint8_t st_ble_gap_set_phy_param_t::tx_phys

Transmitter PHY preference.

The tx_phys field is set to a bitwise OR of the following values. All other values are ignored.

macro description
BLE_GAP_SET_PHYS_HOST_PREF_1M(0x01) Use 1M PHY for Transmitter PHY.
BLE_GAP_SET_PHYS_HOST_PREF_2M(0x02) Use 2M PHY for Transmitter PHY.
BLE_GAP_SET_PHYS_HOST_PREF_CD(0x04) Use Coded PHY for Transmitter PHY.

◆ rx_phys

uint8_t st_ble_gap_set_phy_param_t::rx_phys

Receiver PHY preference.

The rx_phys field is set to a bitwise OR of the following values. All other values are ignored.

macro description
BLE_GAP_SET_PHYS_HOST_PREF_1M(0x01) Use 1M PHY for Receiver PHY.
BLE_GAP_SET_PHYS_HOST_PREF_2M(0x02) Use 2M PHY for Receiver PHY.
BLE_GAP_SET_PHYS_HOST_PREF_CD(0x04) Use Coded PHY for Receiver PHY.

◆ phy_options

uint16_t st_ble_gap_set_phy_param_t::phy_options

Coding scheme used in Coded PHY.

Select one of the following.

macro description
BLE_GAP_SET_PHYS_OP_HOST_NO_PREF(0x00) No preferred coding.
BLE_GAP_SET_PHYS_OP_HOST_PREF_S_2(0x01) Use S=2 coding.
BLE_GAP_SET_PHYS_OP_HOST_PREF_S_8(0x02) Use S=8 coding.