Monado OpenXR Runtime
|
OpenGloves bluetooth serial implementation. More...
#include <unistd.h>
#include <errno.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/rfcomm.h>
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "opengloves_bt_serial.h"
Macros | |
#define | OPENGLOVES_PROBER_LOG_LEVEL U_LOGGING_TRACE |
#define | OPENGLOVES_ERROR(...) U_LOG_IFL_E(OPENGLOVES_PROBER_LOG_LEVEL, __VA_ARGS__) |
#define | OPENGLOVES_WARN(...) U_LOG_IFL_W(OPENGLOVES_PROBER_LOG_LEVEL, __VA_ARGS__) |
#define | OPENGLOVES_INFO(...) U_LOG_IFL_I(OPENGLOVES_PROBER_LOG_LEVEL, __VA_ARGS__) |
Functions | |
static void | opengloves_bt_close (struct opengloves_bt_device *btdev) |
static int | opengloves_bt_read (struct opengloves_communication_device *ocdev, char *data, size_t length) |
static int | opengloves_bt_write (struct opengloves_communication_device *ocdev, const char *data, size_t length) |
static void | opengloves_bt_destroy (struct opengloves_communication_device *ocdev) |
int | opengloves_bt_open (const char *btaddr, struct opengloves_communication_device **out_comm_dev) |
OpenGloves bluetooth serial implementation.