Log Uart communication

This commit is contained in:
Tim Zeuner 2023-01-16 06:38:09 +01:00
parent 75e1391017
commit b3d0037952
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ void LFR_UART::openFile(const char *fileName) {
}
int LFR_UART::writeDataToFile(uint8_t *buff, uint32_t bufferLength) {
std::cout << "Sending uart telegram" << std::endl;
return write(this->fileDescriptor, buff, bufferLength);
}

View File

@ -10,6 +10,7 @@
#include <termios.h>
#include <iostream>
#include <exception>
#include <iostream>
#include <bitset>