Hello,
I have integrated the KW38_OTAP_SDK into the wireless KW38_Wireless_UART SDK. After testing, the OTA function has been implemented, but the KW36 (central) cannot connect to other devices (peripherals). The reason is that Heap memory is not correctly allocated to "gattCharacteristic_t" (as shown in the red box in the figure below). Since the mapped address of "gattCharacteristic_t" is 0, the connection always fails.
I tried to modify some parameters, such as "gMaxServiceCharCount_d" and "AppPoolsDetails_c", but it still doesn't work. How can I know the current memory usage and configure them correctly ?
Thank you.
Hi,
Hope you are doing well. Did you follow this document? KW38 - Integrating the OTAP Client Service into a Bluetooth LE Central Device Application Note
And, for your question, this Application Note might be helpful: Memory Pool Optimizer
Hope this helps.
Regards,
Ricardo