Other Parts Discussed in Thread: SIMPLELINK-CC13XX-CC26XX-SDK, Z-STACK
After I use the official demo: ZR_LIGHT and configure Touchlink->TARGET(BDB_TL_TARGET), it has a memory leak.
After the ZR device joins the centralized network, the coordinator continues to be powered off for 3 minutes, and then powered on for 30 seconds. After a period of time (1 hour), the ZR device's memory is full.
uint32_t tmpArr[10] = {0};
OsalPort_heapMgrGetMetrics(&tmpArr[0], &tmpArr[1], &tmpArr[2], &tmpArr[3],&tmpArr[4], &tmpArr[5]);
When the ZR device first entered the network: Bmax=110,Cnt=100,F=18,A=2368,MMax=3332,U=3564
after an hour: Bmax=168,Cnt=159,F=30,A=5188,MMax=5812,U=6140
After the memory is full, the device cannot operate normally.
But if the ZR project does not configure Touchlink->TARGET(BDB_TL_TARGET), there will be no such problem.