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.

Parents
  • I even ran a search for sd_ble_enable() for the whole project but I was only able to find two comments that said something along the lines of "Calling @ref sd_ble_enable() with *p_app_ram_base set to 0 can be used during

    • development to find out how much memory a specific configuration will need."

    Looking up the function in the SDK documentation didn't really help either.

    Would you mind giving me more information or detailed instruction? I'm using nRF5_SDK 12.2.0 S132 UART central and peripheral example.

Reply
  • I even ran a search for sd_ble_enable() for the whole project but I was only able to find two comments that said something along the lines of "Calling @ref sd_ble_enable() with *p_app_ram_base set to 0 can be used during

    • development to find out how much memory a specific configuration will need."

    Looking up the function in the SDK documentation didn't really help either.

    Would you mind giving me more information or detailed instruction? I'm using nRF5_SDK 12.2.0 S132 UART central and peripheral example.

Children
No Data
Related