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

how increase data packet length and PDU Length?

I am working on nRF52832 platform and my version of softDrive is (nRF5_SDK_15.3.0_59ac345), I am wondering in my application what is the data packet length and can Increase it?  I had a look at the ATT_MTU Throughput Example and if it's a method for increasing data packet length, can I use it in other examples? how about PDU(Protocol Data Unit)? please let me know how I can change them. In other words, I want to change number of transferring bytes (without using UART or SPI) and investigate how is changing over time.

Parents Reply
  • Thanks Simon for addressing my question, now I am wondering I have to set BLE_GAP_DATA_LENGTH_MAX instead of BLE_GAP_DATA_LENGTH_DEFAULT or it will change by yourself.

    #define BLE_GAP_DATA_LENGTH_DEFAULT 27 //!< The stack's default data length.
    #define BLE_GAP_DATA_LENGTH_MAX 251 //!< Maximum data length.

    and another question is I am testing some examples like heart rate, keyboard, and mouse and didn't change anything, for this test I need to change send function as well, it means how I can send large data with ble?

Children
Related