I am doing Data communication on UART2 and I am receiving ADL_FCM_EVENT_MEM_RELEASE event.
Documentation says that ADL_FCM_EVENT_MEM_RELEASE event is related to adl_fcmSendData function.
How is ADL_FCM_EVENT_MEM_RELEASE event related to adl_fcmSendData?
I am not expecting ADL to release the memory for me since the memory is on the stack.
(Reason for my curiosity: My 2 way data comm over UART2 stops after random number of exchanges with a PC)
Recv Handler (which also sends a message):
bool hnd_fcmData_U1 ( u16 DataSize, u8 * Data )
static int numRecv;
sprintf(outStr, "\r\n>> NumRecv %d hnd_fcmData_U1 %d\r\n", numRecv++, DataSize); adl_atSendResponse ( ADL_AT_UNS, outStr); msg.type = 96; msg.value = 98; adl_fcmSendData(UART2_Handle, &msg, sizeof(Message));