Increased HCI_RX_BUF_QUEUE_SIZE
to 16 to Resolve OTA DFU
#90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using a Segger J-Link, I traced the following error, thrown by
hci_mem_pool_rx_produce()
:NRF_ERROR_NO_MEM due to m_rx_buffer_queue.free_window_count == 0
In that trace, the value of
length
, being passed tohci_mem_pool_rx_produce()
was14
. Alas, increasingHCI_RX_BUF_QUEUE_SIZE
resolved the issue. I have quite a handful of these boards, and the error was consistently resolved across the board in both my iOS and Android app.nRF52 Device Information:
Desktop Platform Information: macOS 10.14, as well as 10.15
Mobile Devices Used: An iPhone 8 (iOS 11 + 12) as well as an iPhone X (iOS 12 + 13)