MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
5 #ifdef MICROSTRAIN_PLATFORM_WINDOWS
6 #ifndef WIN32_LEAN_AND_MEAN
7 #define WIN32_LEAN_AND_MEAN
18 #include <sys/ioctl.h>
44 #ifdef MICROSTRAIN_PLATFORM_WINDOWS
bool serial_port_is_open(const serial_port *port)
Definition: serial_port.c:418
struct serial_port serial_port
uint32_t serial_port_read_count(serial_port *port)
Definition: serial_port.c:387
bool serial_port_close(serial_port *port)
Definition: serial_port.c:258
void serial_port_init(serial_port *port)
Definition: serial_port.c:68
Definition: serial_port.h:42
bool serial_port_read(serial_port *port, void *buffer, size_t num_bytes, int wait_time, size_t *bytes_read)
Definition: serial_port.c:307
bool serial_port_open(serial_port *port, const char *port_str, int baudrate)
Definition: serial_port.c:73
bool serial_port_write(serial_port *port, const void *buffer, size_t num_bytes, size_t *bytes_written)
Definition: serial_port.c:274
int handle
Definition: serial_port.h:47