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

only 4 packets of data can be sent out at a time (as a slave)

I am now experiencing such a problem. I packaged 20 packets of data, each packet of data is 13 bytes, and then I want to send it out, but only 4 packets of data can be sent out at a time (as a slave), when I use When nrf_connect (as host) software receives, it can only receive the first 4 packets of data each time. Chip platform: 52832, protocol stack: s332, who knows why?
Looking forward to your reply
Parents
  • Hi,

    The BLE event length and the utilization of the notification buffer determine how many packets you can send per connection event. Have you tried to increase the NRF_SDH_BLE_GAP_EVENT_LENGTH symbol in sdk_config.h? Around '12' should be sufficient to maximize throughput with default MTU/DLE. Also, note that the number of packets may be limited by the GAP central, so you may get more packets through if you test with nRF connect on Android or iOS.  

Reply
  • Hi,

    The BLE event length and the utilization of the notification buffer determine how many packets you can send per connection event. Have you tried to increase the NRF_SDH_BLE_GAP_EVENT_LENGTH symbol in sdk_config.h? Around '12' should be sufficient to maximize throughput with default MTU/DLE. Also, note that the number of packets may be limited by the GAP central, so you may get more packets through if you test with nRF connect on Android or iOS.  

Children
Related