![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
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... | |
PHY configuration parameters used in R_BLE_GAP_SetPhy().
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. |
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. |
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. |