Dear all:
We want to improv the SPP throughput, the current configure parameters as follows:
SPP_FrameSize=1000
SPP_RxBufferSize = 6000
SPP_TxBufferSize = 4000
MaximumNumberDataPackets=6
QueuedDataPacketsThreshold = 2
HCI UART baudrate = 921600
The rx throughput can reach to 408Kbps (=22852530bits/56s); the tx throughput can reach to 100Kbps( = 2Mbytes/200s).
For different remote baudrate (even 9600/115200/ 230400), the SPP tx/rx throughput is the same. Is the case really?
So, the throughput is dependent on FrameSize, SPP_RxBufferSize, SPP_TxBufferSize, not baudrate. really?
We test the throughput with different configure set(for FrameSize/SPP_RxBufferSize/SPP_TxBufferSize/MaximumNumberDataPackets/QueuedDataPacketsThreshold).
the result as follows:
case 1 | case 2 | |
FrameSize | 256 | 256 |
SPP_RxBufferSize | 1536 | 2048 |
SPP_TxBufferSize | 1024 | 2048 |
MaximumNumber DataPackets |
6 | 8 |
QueuedData PacketsThreshold |
2 | 0 |
Rx_throughput | 408Kbps | 346Kpbs |
Tx_throughput | 100Kbps | 100Kpbs |
For above result, improve the ratio of MaximumNumberDataPackets and QueueDataPacketsThreshold and improve the ratio of SPP_TxBuffer and FrameSize, but the throughput not improve, and the rx_throughput is not better. And, the throughput is also independent on remote baudrate.
Could provide us the configure setting for upper limit throughput?
ps. Bluetopia Version: 2.1.3 Changes
Thanks for your help and support.
Best regards,
Shihyin