Other Parts Discussed in Thread: CC2564C
Hi,
We are having a show stopping issue regarding L2CAP message transmission throughput. Our application uses Bluetooth SDK for STM32F4xx + CC2564x: CC2564CSTBTBLESW (Bluetopia V4.2.1.1 stack)
The application requires transferring large amounts of data (~10MBytes) through the L2CAP channel as fast as possible. We use the Bluetopia function L2CA_Enhanced_Dynamic_Channel_Data_Write() to send data. However, after we call L2CA_Enhanced_Dynamic_Channel_Data_Write() to send 1110 bytes of data. We have to wait for about 150ms before we can call this function again to send another 1110 bytes. Basically this is an effective baud rate of only 59.2 Kbps which is far slower than the configured 921.6 Kbps HCI baud rate. If we send the next message with a delay less than 150ms, we will get an error message of BTPS_ERROR_INSUFFICIENT_RESOURCES (-66).
How can we improve the L2CAP message throughput to be as close as possible to 921.6 Kbps HCI baud rate?
Thanks,
Qiang