summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-03-10 10:44:18 +0100
committerBastien Nocera <hadess@hadess.net>2016-03-10 10:44:18 +0100
commitc0777608db5426f9b53ac4224f438d960e1ccd05 (patch)
tree7bd4641a5ca502b6fc17bd12fee9c41f17a6b4b7
parentb06be28af0aa7832057aff0bc6fa037eb70479d2 (diff)
downloadgnome-bluetooth-c0777608db5426f9b53ac4224f438d960e1ccd05.tar.gz
lib: Add another A2DP service UUID
-rw-r--r--lib/bluetooth-utils.c2
-rw-r--r--lib/bluetooth-utils.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/bluetooth-utils.c b/lib/bluetooth-utils.c
index 00b040ae..5e78d16b 100644
--- a/lib/bluetooth-utils.c
+++ b/lib/bluetooth-utils.c
@@ -253,6 +253,8 @@ uuid16_to_string (guint uuid16, const char *uuid)
return "AudioSink";
case BLUETOOTH_UUID_AVRCP_TARGET:
return "A/V_RemoteControlTarget";
+ case BLUETOOTH_UUID_A2DP:
+ return "AdvancedAudioDistribution";
case BLUETOOTH_UUID_AVRCP_CONTROL:
return "A/V_RemoteControl";
case BLUETOOTH_UUID_HSP_AG:
diff --git a/lib/bluetooth-utils.h b/lib/bluetooth-utils.h
index c44ff426..c27e1090 100644
--- a/lib/bluetooth-utils.h
+++ b/lib/bluetooth-utils.h
@@ -43,6 +43,7 @@ G_BEGIN_DECLS
#define BLUETOOTH_UUID_A2DP_SOURCE 0x110A
#define BLUETOOTH_UUID_A2DP_SINK 0x110B
#define BLUETOOTH_UUID_AVRCP_TARGET 0x110C
+#define BLUETOOTH_UUID_A2DP 0x110D
#define BLUETOOTH_UUID_AVRCP_CONTROL 0x110E
#define BLUETOOTH_UUID_HSP_AG 0x1112
#define BLUETOOTH_UUID_PAN_PANU 0x1115