Monado OpenXR Runtime
opengloves_prober_bt.c File Reference

OpenGloves bluetooth prober implementation. More...

#include <stdlib.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <unistd.h>
#include "util/u_debug.h"
#include "xrt/xrt_defines.h"
#include "opengloves_bt_serial.h"
#include "opengloves_prober_bt.h"
#include "util/u_misc.h"
Include dependency graph for opengloves_prober_bt.c:

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__)
 
#define OPENGLOVES_BT_MAX_ADDRESS_LEN   19
 
#define OPENGLOVES_BT_MAX_NAME_LEN   248
 
#define OPENGLOVES_BT_MAX_DEVICES   255
 

Functions

int opengloves_get_bt_devices (const char *bt_name, struct opengloves_communication_device **out_ocd)
 

Detailed Description

OpenGloves bluetooth prober implementation.

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