Open 8 opened 11 years ago
Linux docs states that write(fd, buffer, length) is en equivalent to send(fd, buffer, length, 0)
I tried to substitute send() instead of write() with the rs232 port (/dev/ttyAMA0) but it didn't work - are you sure it's not only supposed to work with socket file descriptors?
Linux docs states that write(fd, buffer, length) is en equivalent to send(fd, buffer, length, 0)