ble_gap_set_prefered_le_phy
int
ble_gap_set_prefered_le_phy(
uint16_t conn_handle,
uint8_t tx_phys_mask,
uint8_t rx_phys_mask,
uint16_t phy_opts
)
Description
Set prefered LE PHY mask for given connection.
Parameters
Parameter | Description |
---|
conn_handle | The handle corresponding to the connection where new PHY mask should be applied. |
tx_phys_mask | Prefered tx PHY mask is a bit mask of: BLE_GAP_LE_PHY_1M_MASK BLE_GAP_LE_PHY_2M_MASKBLE_GAP_LE_PHY_CODED_MASK |
rx_phys_mask | Prefered rx PHY mask is a bit mask of: BLE_GAP_LE_PHY_1M_MASK BLE_GAP_LE_PHY_2M_MASKBLE_GAP_LE_PHY_CODED_MASK |
phy_opts | PHY options for coded PHY. One of: BLE_GAP_LE_PHY_CODED_ANY BLE_GAP_LE_PHY_CODED_S2BLE_GAP_LE_PHY_CODED_S8 |
Returned values