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

} }


int LFR_UART::writeDataToFile(uint8_t *buff, uint32_t bufferLength) { int LFR_UART::writeDataToFile(uint8_t *buff, uint32_t bufferLength) {
std::cout << "Sending uart telegram" << std::endl;
return write(this->fileDescriptor, buff, bufferLength); return write(this->fileDescriptor, buff, bufferLength);
} }



+ 1
- 0
Communication/uart_communication.h View File

#include <termios.h> #include <termios.h>
#include <iostream> #include <iostream>
#include <exception> #include <exception>
#include <iostream>


#include <bitset> #include <bitset>



Loading…
Cancel
Save