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

PHY preferences which allows a remote device to set used in R_BLE_GAP_SetDefPhy(). More...

Data Fields

uint8_t tx_phys
 Transmitter PHY preferences which a remote device may change. More...
 
uint8_t rx_phys
 Receiver PHY preferences which a remote device may change. More...
 

Detailed Description

PHY preferences which allows a remote device to set used in R_BLE_GAP_SetDefPhy().

Field Documentation

◆ tx_phys

uint8_t st_ble_gap_set_def_phy_param_t::tx_phys

Transmitter PHY preferences which a remote device may change.

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) Allow a remote device to set 1M PHY for transmitter PHY.
BLE_GAP_SET_PHYS_HOST_PREF_2M(0x02) Allow a remote device to set 2M PHY for transmitter PHY.
BLE_GAP_SET_PHYS_HOST_PREF_CD(0x04) Allow a remote device to set Coded PHY for transmitter PHY.

◆ rx_phys

uint8_t st_ble_gap_set_def_phy_param_t::rx_phys

Receiver PHY preferences which a remote device may change.

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) Allow a remote device to set 1M PHY for receiver PHY.
BLE_GAP_SET_PHYS_HOST_PREF_2M(0x02) Allow a remote device to set 2M PHY for receiver PHY.
BLE_GAP_SET_PHYS_HOST_PREF_CD(0x04) Allow a remote device to set Coded PHY for receiver PHY.