cancel
Showing results for 
Search instead for 
Did you mean: 

Low Throughput on STM32WB1MMC

JacobFA
Associate

I have setup a client and server with two STM32WB1MMCs and have the server periodically send data based on a frequency stated by the client. My payloads are 10 bytes long and are incrementing values for me to keep track of any losses. I am finding that I have a limited message per second throughput of around 200-210. I cannot achieve more than this no matter how much I optimise my code and play around with the intervals and PHY settings, as stated in the an5289 documentation.

My code uses notifications to send from server to client. It also uses a timer set to trigger a flag every 10,000th a second to allow me to keep track of timings for ensuring my payloads are sent at the specified frequency by the client. 

I feel 200-210 10 byte payloads sent a second is very low throughput for BLE, should I expect higher and also, if so, what is the best approach to achieving this? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
JacobFA
Associate

I have solved this issue.

Foolishly, I forgot to also set the minimum connection interval on the client side to match the server. Now I see much higher throughputs of around 1000+ 10 byte messages per second.

View solution in original post

1 REPLY 1
JacobFA
Associate

I have solved this issue.

Foolishly, I forgot to also set the minimum connection interval on the client side to match the server. Now I see much higher throughputs of around 1000+ 10 byte messages per second.