How to extract maximum throughput from the peripheral_uart example?

Hi.

I am working with the nrfConnect SDK 1.8.0. I would like to configure the nrf5340 for maximum throughput to work as a server for a smartphone device.

How should I modify the peripheral_uart example to enable the 2 Mbps PHY data rate, change the connection interval, maximize the data length and the ATT_MTU_size? 

Thank you.

Parents
  • After trying for a bit, I found this ticket. I tried to follow the given advice but the code was not building after I made the changes. I tried a few times,  and eventually, it worked, although I still don't know why it suddenly worked.

    However, I cannot send strings (to an Android phone using the nrf Connect app) longer than 182 bytes. Also, the throughput doesn't seem high. How can I know for sure the bandwidth? Is it possible using the nrf Connect app?

Reply
  • After trying for a bit, I found this ticket. I tried to follow the given advice but the code was not building after I made the changes. I tried a few times,  and eventually, it worked, although I still don't know why it suddenly worked.

    However, I cannot send strings (to an Android phone using the nrf Connect app) longer than 182 bytes. Also, the throughput doesn't seem high. How can I know for sure the bandwidth? Is it possible using the nrf Connect app?

Children
Related