Skip to main content
YCohe
Associate II
December 3, 2019
Question

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

  • December 3, 2019
  • 0 replies
  • 529 views

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

This topic has been closed for replies.