This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MTU size change then infinite reboot

I'm using nRF52DK and SDK12.2.0. Trying to change MTU size.

When I modified app_nrf_uart example as below

#define NRF_BLE_MAX_MTU_SIZE            103 

Then infinite reboot at below

#if (NRF_SD_BLE_API_VERSION == 3)
    ble_enable_params.gatt_enable_params.att_mtu = NRF_BLE_MAX_MTU_SIZE;
#endif
    err_code = softdevice_enable(&ble_enable_params);

softdevice_enable returns 0x04

Please help me to change MTU size.

Related