We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e88040 commit 7a2f218Copy full SHA for 7a2f218
include/hw/bluetooth.h
@@ -175,6 +175,13 @@ int bt_device_unpairall(void);
175
*/
176
void bt_print_devlist(int disp_type);
177
178
+/**
179
+ * @brief Check if bluetooth host is connected to a device
180
+ *
181
+ * @return int 1 if connected, 0 if not connected
182
+ */
183
+int bt_device_isconnected(void);
184
+
185
/**
186
* Install "BTMAN" command to manage Bluetooth controller
187
* from command line interface.
include/hw/bluetooth_le.h
@@ -5,8 +5,8 @@
5
*
6
7
8
-#ifndef INC_AUDIO_H_
9
-#define INC_AUDIO_H_
+#ifndef INC_BLUETOOTHLE_H_
+#define INC_BLUETOOTHLE_H_
10
11
#include <stdint.h>
12
0 commit comments