cancel
Showing results for 
Search instead for 
Did you mean: 

How can I increase the BLE send rate and the memory size of the protocol stack

jiefeng_wang
Associate

Need to send data at high sampling rate in real time, how to configure the maximum transfer rate and large protocol stack memory to support high-speed transmission。And how to calculate the current Bluetooth transfer rate

The connection interval has been configured to 7.5ms, and a single packet can transmit up to 245 bytes from HCI

BLE_CMD_MAX_PARAM_LEN = 255

typedef __PACKED_STRUCT
{
  uint16_t Conn_Handle_To_Notify;
  uint16_t Service_Handle;
  uint16_t Char_Handle;
  uint8_t Update_Type;
  uint16_t Char_Length;
  uint16_t Value_Offset;
  uint8_t Value_Length;
  uint8_t Value[BLE_CMD_MAX_PARAM_LEN - 12];
} aci_gatt_update_char_value_ext_cp0;
 
1 REPLY 1
STTwo-32
ST Employee

Hello @jiefeng_wang 

To achieve a maximize throughput, I suggest you take a look at this application: https://github.com/stm32-hotspot/STM32WB-BLE-Basic-DataThroughput-Server. This app will help you to understand how to make it work on the best data throughput.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.