2022-10-25 09:02 AM
15bytes per notificaiton, interval about 7.5ms
120bytes per notification, interval about 30ms
I want to change 30ms to 10ms. How can I do?
2022-10-28 10:36 AM
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
2022-10-28 07:10 PM
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?
BLE_SVC_L2CAP_Conn_Update() as picture: