[gnome-bluetooth] lib: Add constants for some Bluetooth LE services
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Add constants for some Bluetooth LE services
- Date: Thu, 20 Jan 2022 11:32:06 +0000 (UTC)
commit 8692374650434f82bd728f7e61aa03198218478d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 20 12:15:53 2022 +0100
lib: Add constants for some Bluetooth LE services
lib/bluetooth-utils.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/lib/bluetooth-utils.c b/lib/bluetooth-utils.c
index fae9cfdb..0394acfb 100644
--- a/lib/bluetooth-utils.c
+++ b/lib/bluetooth-utils.c
@@ -304,6 +304,9 @@ bluetooth_appearance_to_type (guint16 appearance)
#define BLUETOOTH_UUID_GENERIC_NET 0x1201
#define BLUETOOTH_UUID_VDP_SOURCE 0x1303
+#define BLUETOOTH_LE_UUID_BATTERY 0x180F
+#define BLUETOOTH_LE_UUID_HUMAN_INTERFACE_DEVICE 0x1812
+
static const char *
uuid16_custom_to_string (guint uuid16, const char *uuid)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]