tc mem write and tc mem read implemented

This commit is contained in:
2021-04-22 17:32:39 +02:00
parent a973d67d07
commit c54eccfe43
4 changed files with 401 additions and 194 deletions

View File

@ -363,6 +363,9 @@ ReturnValue_t UartComIF::readReceivedMessage(CookieIF *cookie,
*buffer = uartDeviceMapIter->second.replyBuffer.data();
*size = uartDeviceMapIter->second.replyLen;
/* Length is reset to 0 to prevent reading the same data twice */
uartDeviceMapIter->second.replyLen = 0;
return RETURN_OK;
}