cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55RGV6 ble The larger the number of bytes per notification, the slower the transmission interval?

Lep
Senior

15bytes per notificaiton, interval about 7.5ms

120bytes per notification, interval about 30ms

I want to change 30ms to 10ms. How can I do?

2 REPLIES 2
Remy ISSALYS
ST Employee

Hello,

You can change the connection interval using aci_l2cap_connection_parameter_update_req command, you can look BLE_p2pServer example which allow to change connection interval by pressing SW2.

Best Regards

Thank you. I changed the interval only when I added the command hci_le_set_data_length().

Why is this, I see that the ble server does not use this api.

I use stm32cubeRF to receive notifications, and now I can accept about 80 notifications per second, the interval is about 12ms, but it still can't reach 10ms. Of course, the way I send the notification is that the external falling edge triggers the interrupt. Is it because of the synchronization problem that I can't reach 10ms?

0693W00000VOPDWQA5.pngBLE_SVC_L2CAP_Conn_Update() as picture:

0693W00000VOPDbQAP.png0693W00000VOPDlQAP.png