Tool/software:
Hi,
Is there any HCI event ( memory full event ) sent from BLE stack to application for managing flow control of data
to be sent from peripheral to central
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
Is there any HCI event ( memory full event ) sent from BLE stack to application for managing flow control of data
to be sent from peripheral to central
Thanks
Hi,
Understood. Almost all HCI commands executed by the stack will send an HCI complete event to the application which will contain information regarding the command executed and the status of the command.
Best Regards,
Jan
Hi,
Can you clarify which memory you are referring to? Would this be the entire device RAM, the system stack, the ble heap?
Best Regards,
Jan
Hi Jan,
Whenever we send notification/Indication hope we use ble heap.
Assume we try to send notification/indication faster than HCI and now HCI is out of buffer, and now if HCI sends me an event
so that i can stop sending indication till HCI says he has buffer to send it to central.
Hope i made it clear
Hi,
Understood. In that case, if the HCI buffers are full, then I would expect the return code MSG_BUFFER_NOT_AVAIL to be returned. If you are directly calling ble APIs, then the blePending return code will be provided instead.
Best Regards,
Jan