Preferred PHY option. More...
#include <ble_gap.h>
Data Fields | |
uint8_t | tx_phys |
uint8_t | rx_phys |
Preferred PHY option.
This can be used with sd_ble_opt_set to change the preferred PHYs. Before this function is called the PHYs for peer initiated PHY Update procedure is BLE_GAP_PHY_1MBPS. If ble_gap_opt_preferred_phys_t::tx_phys or ble_gap_opt_preferred_phys_t::rx_phys is 0, then the stack will select PHYs based on the peer requirements on that specific direction.
BLE_GAP_EVT_PHY_UPDATE | Result of the PHY Update if initiated by peer. |
Central PHY Request |
Peripheral PHY Request |
NRF_SUCCESS | Set successfully. |
NRF_ERROR_INVALID_PARAM | Invalid parameter(s) supplied. |
uint8_t ble_gap_opt_preferred_phys_t::rx_phys |
Preferred receive PHYs, see GAP PHYs.
uint8_t ble_gap_opt_preferred_phys_t::tx_phys |
Preferred transmit PHYs, see GAP PHYs.