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

How to change the default MTU size of the BLE central (ble_app_blinky_c)?

I am using ble_app_blinky_c application for my project. I want to update my central's default MTU size from 23 to 150 and I know my peripheral device supports MTU size of 150 bytes (tested it using NRF connect phone application).  In order to do that, I tried changing the macro "NRF_SDH_BLE_GATT_MAX_MTU_SIZE" from 23 to 150 and by doing so my application goes in to system reset loop and the error i get the "NRF_ERROR_NO_MEM" error. Please help me with this issue or suggest some other ways to update the central's MTU size. Advance thank you for the answers.

Parents Reply
  • Hi Amanda,

    Thank you for the answers. I am trying to send around 30 bytes from central to a peripheral (non-nrf device).  And the invalid data size error comes on the server-side. I am able to send more than 120 bytes to the same peripheral using NRF connect phone application, but I am not able to send them using ble_central_app_blinky application. And I assume the solution you had provided, needs to be worked in client-side, but in this case, I am using different ble peripheral. Please help me with the same.

    regards

    Dhyanes

Children
Related