STM32WB BLE packet missing and INSUFFICIENT_RESOURCES
Hello all,
We are using BLE to send packet of 23 bytes every 5 ms. Since we have noticed that some packets are lost, we are trying to investigate to understand what's happened. In addition to lost packets, for almost every packet, we get the error BLE_STATUS_INSUFFICIENT_RESOURCES from function aci_gatt_update_char_value. Some packet retry several times before being received. We have this issue when BLE is connected to a computer or a smartphone, same behavior.
What are we doing wrong ? Is the time of 5 ms too short between sent packet ? In the documentation it is written that we could go up to 2 Mbit/s and currently we are only around 36 kbit/s.
Should we send more data in one packet but using a longer time between sent packets ?
Best regards,
Audrey