MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
5 #if defined MICROSTRAIN_PLATFORM_WINDOWS
7 #if !defined WIN32_LEAN_AND_MEAN
8 #define WIN32_LEAN_AND_MEAN
9 #endif // !WIN32_LEAN_AND_MEAN
17 #include <sys/ioctl.h>
20 #endif // MICROSTRAIN_PLATFORM_WINDOWS
44 #if defined MICROSTRAIN_PLATFORM_WINDOWS
48 #endif // MICROSTRAIN_PLATFORM_WINDOWS
bool serial_port_is_open(const serial_port *port)
Definition: serial_port.c:471
struct serial_port serial_port
uint32_t serial_port_read_count(serial_port *port)
Definition: serial_port.c:440
bool serial_port_close(serial_port *port)
Definition: serial_port.c:313
bool serial_port_set_baudrate(serial_port *port, int baudrate)
Definition: serial_port.c:254
void serial_port_init(serial_port *port)
Definition: serial_port.c:66
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:361
bool serial_port_open(serial_port *port, const char *port_str, int baudrate)
Definition: serial_port.c:71
bool serial_port_write(serial_port *port, const void *buffer, size_t num_bytes, size_t *bytes_written)
Definition: serial_port.c:329
int handle
Definition: serial_port.h:47