Hi,
I have migrated from SDK14.1 to SDK15.
One thing is embarrassing me.
static test_params_t m_test_params = { .att_mtu = NRF_SDH_BLE_GATT_MAX_MTU_SIZE, .conn_interval = CONN_INTERVAL_DEFAULT, .data_len_ext_enabled = true, .conn_evt_len_ext_enabled = true, // Only symmetric PHYs are supported. #if defined(S140) .phys.tx_phys = BLE_GAP_PHY_2MBPS | BLE_GAP_PHY_1MBPS | BLE_GAP_PHY_CODED, .phys.rx_phys = BLE_GAP_PHY_2MBPS | BLE_GAP_PHY_1MBPS | BLE_GAP_PHY_CODED, #else .phys.tx_phys = BLE_GAP_PHY_2MBPS | BLE_GAP_PHY_1MBPS, .phys.rx_phys = BLE_GAP_PHY_2MBPS | BLE_GAP_PHY_1MBPS, #endif };
gatt_mtu_set(m_test_params.att_mtu); data_len_ext_set(m_test_params.data_len_ext_enabled); conn_evt_len_ext_set(m_test_params.conn_evt_len_ext_enabled); preferred_phy_set(&m_test_params.phys);
I would like to modify the scan data as above,
I do not know where I can fix it.
phy can be modified in the m_scan_params variable,
I know that the MTU Size can be modified in the gatt_init () function.
Where can I modify data_len_ext_enabled and conn_evt_len_ext_enabled? Help me.