Hello,
I was testing the wireless uart sample application on FRDM KW38 target. After a couple of tests the target does not scan/connect the phone. It is a sporadic issue. The test scenario is described below:
Target hardware: FRDM KW38
SDK version: 2.6.9
MCU Xpresso version: 11.1.0
Target application: frdmkw38_wireless_uart_bm
Mobile application: NXP IoT Toolbox (Android)
App pool details(same as in the sample app):
#define AppPoolsDetails_c \
_block_size_ 32 _number_of_blocks_ 4 _eol_ \
_block_size_ 80 _number_of_blocks_ 6 _eol_ \
_block_size_ 288 _number_of_blocks_ 16 _eol_ \
_block_size_ 312 _number_of_blocks_ 1 _eol_ \
_block_size_ 400 _number_of_blocks_ 2 _eol_
Operation sequence:
1. Start wireless uart application on KW38
2. Connect to wireless uart using NXP IoT Toolbox android application
3. From Phone UI send continuous messages from a place where signal strength is very low (some packets were missing)
(Sometimes device will disconnect and reconnect)
4. After several messages, the memory pool count increases to a very high value and then does not appear to decrease anytime later even if BT is disconnected
5. Once the memory pool count reaches to a high value (Snapshot attached below), BLE stack does not respond (No callbacks, no scanning/connection possible without FRDM KW38 system restart)
Seems like a memory leak in BLE stack. Can you please look into this issue?
Best regards,
Nidhin
