You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
320 B
14 lines
320 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <errno.h>
|
|
#include <termios.h>
|
|
#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); |