Fatal error while adding 2 Mbps PHY

Board: nRF52810

SoftDevice: s112

SDK version: 17.0.2

I'm trying to enable 2Mbps data rate. So I've added The following code in both peripheral and central.

ble_gap_phys_t const phys =
{
.rx_phys = BLE_GAP_PHY_2MBPS,
.tx_phys = BLE_GAP_PHY_2MBPS,
};
err_code = sd_ble_gap_phy_update(p_ble_evt->evt.gap_evt.conn_handle, &phys);
APP_ERROR_CHECK(err_code);

But after connecting, I get Fatal error msg. How can I solve it?

And How to verify which PHY I'm using after implementing it?

Related