tncattach/Serial.h

14 lines
320 B
C
Raw Normal View History

#include <stdio.h>
2020-05-26 11:59:56 -04:00
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
2020-05-26 11:59:56 -04:00
#include "Constants.h"
int open_port(char* port);
int close_port(int fd);
bool setup_port(int fs, int speed);
bool set_port_blocking(int fd, bool should_block);