int ble_gap_set_prefered_default_le_phy( uint8_t tx_phys_mask, uint8_t rx_phys_mask )
Set prefered default LE PHY mask. It is used for new connections.
Parameter | Description |
---|---|
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 |
Value | Condition |
---|---|
0 | Success. |
Core return code | Unexpected error. |