Browse Source

Log Uart communication

master
Tim Zeuner 1 year ago
parent
commit
b3d0037952
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      Communication/uart_communication.cpp
  2. 1
    0
      Communication/uart_communication.h

+ 1
- 0
Communication/uart_communication.cpp 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);
}


+ 1
- 0
Communication/uart_communication.h View File

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

#include <bitset>


Loading…
Cancel
Save