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

Queued Write appropriate for large data transfers

I am using the nRF52832 with the S132 soft device. I am trying to send a large amount of data (~5 kB) from a phone to my BLE peripheral. I am wondering if the queued write functionality could be used for this? I tried to use the experimental ble_app_queued_writes examples, however this had a transfer limit of 510 bytes (which seems to correspond to the maximum attribute length limit). Is there a way to use queued write to surpass this limit?

Thanks in advance

  • Hello,

    This is not what the queued_write example is intended for, no.

     

    I would suggest that you rather start of with the ble_app_uart example. If you want to transfer a lot of data, I would rather suggest that you look into DLE (Data Length Extension) and increasing the MTU size. By increasing the packet size you can reduce the number of packets, and thus, decrease the overall packet overhead.If you have two Development Kits, I would recommend you to try out the SDK\examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_througput example, and play around with the connection parameters using a UART terminal like Putty.

     

    Best regards,

    Edvin

Related