| MIP_SDK
    v4.0.0
    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:472
struct serial_port serial_port
uint32_t serial_port_read_count(serial_port *port)
Definition: serial_port.c:441
bool serial_port_close(serial_port *port)
Definition: serial_port.c:314
bool serial_port_set_baudrate(serial_port *port, int baudrate)
Definition: serial_port.c:255
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:362
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:330
int handle
Definition: serial_port.h:47