Size of data bytes

Hello,

i'm programing a nrf52832 and a nrf52805 and I'm using the peripheral uart example, I would like to change the size of the bytes of my rx and tx that I can send (150 or less) because for now this is 20 characters maximum.

I already tried to change the size of NRF_SDH_BLE_GATT_MAX_MTU_SIZE. He has a valor of 247 but my program is not working after that.

Thank you so much for your help. 

Parents Reply
  • Hi

    I was able to reproduce your issue, and traced it down to a missing define in sdk_config.h:

    In later versions of the SDK it is necessary to include NRF_BLE_GATT_MTU_EXCHANGE_INITIATION_ENABLED in order to have the peripheral initiate the MTU exchange procedure, otherwise it is necessary for the phone to do this. 

    Could you try to build your project with this define included and see if it fixes the issue?

    Best regards
    Torbjørn

Children
Related