From 01b34729f294a1a77df024bfd69f2bb815f838db Mon Sep 17 00:00:00 2001 From: Doru Gucea Date: Tue, 16 Nov 2021 22:56:32 -0800 Subject: [PATCH] Fix BLE commissioning failure DUT refused the send the PBKDF param response due to insufficient memory on the BLE Host side. THe fix is to increase the memory pool. Signed-off-by: Doru Gucea --- src/platform/nxp/k32w/k32w0/PlatformManagerImpl.cpp | 2 ++ third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platform/nxp/k32w/k32w0/PlatformManagerImpl.cpp b/src/platform/nxp/k32w/k32w0/PlatformManagerImpl.cpp index 6970aa9810c895..9f2d1f1799f445 100644 --- a/src/platform/nxp/k32w/k32w0/PlatformManagerImpl.cpp +++ b/src/platform/nxp/k32w/k32w0/PlatformManagerImpl.cpp @@ -65,6 +65,8 @@ CHIP_ERROR PlatformManagerImpl::_InitChipStack(void) if (Chip_GetType() != CHIP_K32W061) { err = CHIP_ERROR_INTERNAL; + ChipLogError(DeviceLayer, "Invalid chip type, expected K32W061!"); + goto exit; } diff --git a/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni b/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni index 4ba8446ea3a80a..b1e8193998a518 100644 --- a/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni +++ b/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni @@ -154,7 +154,7 @@ template("k32w0_sdk") { "gTimestamp_Enabled_d=0", "K32W_LOG_ENABLED=1", "CHIP_ENABLE_OPENTHREAD=1", - "PoolsDetails_c=_block_size_ 32 _number_of_blocks_ 6 _pool_id_(0) _eol_ _block_size_ 512 _number_of_blocks_ 2 _pool_id_(0) _eol_ _block_size_ 768 _number_of_blocks_ 1 _pool_id_(0) _eol_", + "PoolsDetails_c=_block_size_ 32 _number_of_blocks_ 6 _pool_id_(0) _eol_ _block_size_ 256 _number_of_blocks_ 3 _pool_id_(0) _eol_ _block_size_ 512 _number_of_blocks_ 2 _pool_id_(0) _eol_ _block_size_ 768 _number_of_blocks_ 1 _pool_id_(0) _eol_", "SUPPORT_FOR_15_4=1", "gAppMaxConnections_c=1", "gAppUseBonding_d=0",