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 

    The thread you refer to is very old, there should no longer be any limitation in Android when sending longer packets. 

    Can you let me know which SDK version you are using and which phone you are testing on?

    I just did some testing with the ble_app_uart example in nRF5 SDK v17.1.0, and my Huawei P20 Phone, and I have no problems sending packets > 20 bytes using the standard example out of the box. 

    For testing on the Android side I used the nRF Toolbox app. 

    Best regards
    Torbjørn

Children
Related