Monado OpenXR Runtime
opengloves_serial.c File Reference

USB Serial implementation for OpenGloves. More...

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <sys/ioctl.h>
#include "opengloves_serial.h"
#include "util/u_misc.h"
Include dependency graph for opengloves_serial.c:

Functions

static int opengloves_serial_read (struct opengloves_communication_device *ocdev, char *data, size_t length)
 
static int opengloves_serial_write (struct opengloves_communication_device *ocdev, const char *data, size_t length)
 
static void opengloves_serial_destroy (struct opengloves_communication_device *ocdev)
 
int opengloves_serial_open (const char *path, struct opengloves_communication_device **out_comm_dev)
 

Detailed Description

USB Serial implementation for OpenGloves.

Author
Daniel Willmott web@d.nosp@m.an-w.nosp@m..com