Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
SDK version : 8.40.00.64
CCS version : 12.7.0.00007
Project : basic_ble_LP_EM_CC2340R5_freertos_ticlang
My process is
Connect -> Search for the Handle of FFF1 and FFF2 -> Enable FFF2 Notify -> Enable FFF1 Notify -> Command -> Receive Notify data -> Force disconnect -> Reconnect , After reconnecting, the cycle starts again
After repeating these steps several times, I found that when disconnected, the heap seen from the ROV was less than at the beginning.
I tried adding GATT_bm_free(&gattMsg->msg,gattMsg->method) to GATT_EventHandler in app_data.c and BLEAppUtil_convertGATTEvents in bleapputil_process.c respectively.
But there will still be a problem of less heap.
I use GATT_WriteCharValue() to start FFF1 and FFF2 and send Command, and use GATT_DiscAllCharDescs() to search for the Handle value of FFF1 and FFF2
Before:
After: