cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-MS stack w/ STM32L475 - why calling free_event_list in hci_send_req

YCohe
Associate II

Hi,

I am using BlueNRG-MS stack w/ STM32L475 MCU.

I realized that I loose BLE packets, and I found the reason being calling free_event_list on hci_send_req which might drop already received packets, and results in error.

Why doing this? Is this necessary? this is causing BLE comms being unstable at times.

Not to mention this is hidden in code without passing the information that some packets have been dropped.

I know that I can try to avoid this by increasing HCI_READ_PACKET_NUM_MAX by I prefer not to fix it in that way,

Kind regards,

Yuval

0 REPLIES 0