} | } | ||||
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); | ||||
} | } | ||||
#include <termios.h> | #include <termios.h> | ||||
#include <iostream> | #include <iostream> | ||||
#include <exception> | #include <exception> | ||||
#include <iostream> | |||||
#include <bitset> | #include <bitset> | ||||