| 1 |
// Copyright 2019-2022, Collabora, Ltd. |
| 2 |
// SPDX-License-Identifier: BSL-1.0 |
| 3 |
/*! |
| 4 |
* @file |
| 5 |
* @brief OpenGloves bluetooth prober. |
| 6 |
* @author Daniel Willmott <[email protected]> |
| 7 |
* @ingroup drv_opengloves |
| 8 |
*/ |
| 9 |
|
| 10 |
#pragma once |
| 11 |
|
| 12 |
#include "../opengloves_communication.h" |
| 13 |
|
| 14 |
#define LUCIDGLOVES_BT_L_NAME "lucidgloves-left" |
| 15 |
#define LUCIDGLOVES_BT_R_NAME "lucidgloves-right" |
| 16 |
|
| 17 |
#ifdef __cplusplus |
| 18 |
extern "C" { |
| 19 |
#endif |
| 20 |
|
| 21 |
int |
| 22 |
opengloves_get_bt_devices(const char *bt_name, struct opengloves_communication_device **out_ocd); |
| 23 |
|
| 24 |
#ifdef __cplusplus |
| 25 |
} |
| 26 |
#endif |