Log Uart communication
This commit is contained in:
parent
75e1391017
commit
b3d0037952
@ -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);
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <termios.h>
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
|
||||
#include <bitset>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user