summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-09 14:11:42 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-09 17:37:46 +0200
commit75e0c32af6bf56ed9d9b35ff7426c7bc755d8a16 (patch)
tree988f92563159c9c56c0221c6e2311168cc3f76f1
parenta01efa88a75768b0299334fd619d9733ffaa3b1d (diff)
lib/sdp: Replace VIDEO_CONF_SVCLASS_ID with AV_REMOTE_CONTROLLER_SVCLASS_ID
VCP apparently was never adopted so 0x110f was latter reused by AVRCP 1.3 controller as per current assigned numbers page: https://www.bluetooth.org/en-us/specification/assigned-numbers/service-discovery
-rw-r--r--lib/sdp.c2
-rw-r--r--lib/sdp.h2
-rw-r--r--src/glib-helper.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 1405c509b..cbdf15e59 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -125,7 +125,7 @@ static struct tupla ServiceClass[] = {
{ AV_REMOTE_TARGET_SVCLASS_ID, "AV Remote Target" },
{ ADVANCED_AUDIO_SVCLASS_ID, "Advanced Audio" },
{ AV_REMOTE_SVCLASS_ID, "AV Remote" },
- { VIDEO_CONF_SVCLASS_ID, "Video Conferencing" },
+ { AV_REMOTE_CONTROLLER_SVCLASS_ID, "AV Remote Controller" },
{ INTERCOM_SVCLASS_ID, "Intercom" },
{ FAX_SVCLASS_ID, "Fax" },
{ HEADSET_AGW_SVCLASS_ID, "Headset Audio Gateway" },
diff --git a/lib/sdp.h b/lib/sdp.h
index 4ef2176bd..f2f248483 100644
--- a/lib/sdp.h
+++ b/lib/sdp.h
@@ -95,7 +95,7 @@ extern "C" {
#define AV_REMOTE_TARGET_SVCLASS_ID 0x110c
#define ADVANCED_AUDIO_SVCLASS_ID 0x110d
#define AV_REMOTE_SVCLASS_ID 0x110e
-#define VIDEO_CONF_SVCLASS_ID 0x110f
+#define AV_REMOTE_CONTROLLER_SVCLASS_ID 0x110f
#define INTERCOM_SVCLASS_ID 0x1110
#define FAX_SVCLASS_ID 0x1111
#define HEADSET_AGW_SVCLASS_ID 0x1112
diff --git a/src/glib-helper.c b/src/glib-helper.c
index a9a9a6e3c..4a020e9b1 100644
--- a/src/glib-helper.c
+++ b/src/glib-helper.c
@@ -103,7 +103,6 @@ static struct {
const char *name;
uint16_t class;
} bt_services[] = {
- { "vcp", VIDEO_CONF_SVCLASS_ID },
{ "pbap", PBAP_SVCLASS_ID },
{ "sap", SAP_SVCLASS_ID },
{ "ftp", OBEX_FILETRANS_SVCLASS_ID },