From d999121155f2e27f8b186d99197eea07216f2df9 Mon Sep 17 00:00:00 2001 From: zwells <13053993+zwells@users.noreply.github.com> Date: Fri, 13 Sep 2019 12:18:56 -0500 Subject: [PATCH] Update sdk_config.h HCI_RX_BUF_QUEUE_SIZE must be 16 for Nordic DFU to prevent overflow --- src/sdk_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdk_config.h b/src/sdk_config.h index 51d9e92f..1d22b54f 100644 --- a/src/sdk_config.h +++ b/src/sdk_config.h @@ -66,7 +66,7 @@ #define HCI_MEM_POOL_ENABLED 1 #define HCI_TX_BUF_SIZE 600 // not used #define HCI_RX_BUF_SIZE 600 -#define HCI_RX_BUF_QUEUE_SIZE 8 // must be power of 2 +#define HCI_RX_BUF_QUEUE_SIZE 16 // must be power of 2 (must be 16 for Nordic DFU to prevent overflow) //========================================================== // UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver