linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/4] Media Control Profile Client
@ 2022-10-06 14:33 Abhay Maheta
  2022-10-06 14:33 ` [PATCH BlueZ 1/4] lib/uuid: Add GMCS UUIDs Abhay Maheta
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Abhay Maheta @ 2022-10-06 14:33 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Abhay Maheta

This series of patches adds support for Media Control Profile for LE Audio.
These patches primarily foces on Media Control Client Role.

Abhay Maheta (4):
  lib/uuid: Add GMCS UUIDs
  shared/mcp: Add initial code for handling MCP
  profiles: Add initial code for mcp plugin
  monitor/att: Add decoding support for GMCS

 Makefile.am          |    1 +
 Makefile.plugins     |    5 +
 configure.ac         |    4 +
 lib/uuid.h           |   15 +
 monitor/att.c        |  511 +++++++++++++++
 profiles/audio/mcp.c |  429 +++++++++++++
 src/shared/mcp.c     | 1408 ++++++++++++++++++++++++++++++++++++++++++
 src/shared/mcp.h     |   60 ++
 src/shared/mcs.h     |   65 ++
 9 files changed, 2498 insertions(+)
 create mode 100644 profiles/audio/mcp.c
 create mode 100644 src/shared/mcp.c
 create mode 100644 src/shared/mcp.h
 create mode 100644 src/shared/mcs.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH BlueZ v2 1/4] lib/uuid: Add GMCS UUIDs
@ 2022-10-17 13:34 Abhay Maheta
  2022-10-17 23:58 ` Media Control Profile Client bluez.test.bot
  0 siblings, 1 reply; 9+ messages in thread
From: Abhay Maheta @ 2022-10-17 13:34 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Abhay Maheta

This adds GMCS UUIDs which will be used by Media Control Profile.
---
 lib/uuid.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/lib/uuid.h b/lib/uuid.h
index f667a74b9..d5e5665e4 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -171,6 +171,21 @@ extern "C" {
 #define VOL_CP_CHRC_UUID				0x2B7E
 #define VOL_FLAG_CHRC_UUID				0x2B7F
 
+#define GMCS_UUID                               0x1849
+#define MEDIA_PLAYER_NAME_CHRC_UUID             0x2b93
+#define MEDIA_TRACK_CHNGD_CHRC_UUID             0x2b96
+#define MEDIA_TRACK_TITLE_CHRC_UUID             0x2b97
+#define MEDIA_TRACK_DURATION_CHRC_UUID          0x2b98
+#define MEDIA_TRACK_POSTION_CHRC_UUID           0x2b99
+#define MEDIA_PLAYBACK_SPEED_CHRC_UUID          0x2b9a
+#define MEDIA_SEEKING_SPEED_CHRC_UUID           0x2b9b
+#define MEDIA_PLAYING_ORDER_CHRC_UUID           0x2ba1
+#define MEDIA_PLAY_ORDER_SUPPRTD_CHRC_UUID      0x2ba2
+#define MEDIA_STATE_CHRC_UUID                   0x2ba3
+#define MEDIA_CP_CHRC_UUID                      0x2ba4
+#define MEDIA_CP_OP_SUPPORTED_CHRC_UUID         0x2ba5
+#define MEDIA_CONTENT_CONTROL_ID_CHRC_UUID      0x2bba
+
 typedef struct {
 	enum {
 		BT_UUID_UNSPEC = 0,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [PATCH BlueZ v3 1/4] lib/uuid: Add GMCS UUIDs
@ 2022-10-18  4:38 Abhay Maheta
  2022-10-18  5:57 ` Media Control Profile Client bluez.test.bot
  0 siblings, 1 reply; 9+ messages in thread
From: Abhay Maheta @ 2022-10-18  4:38 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Abhay Maheta

This adds GMCS UUIDs which will be used by Media Control Profile.
---
 lib/uuid.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/lib/uuid.h b/lib/uuid.h
index f667a74b9..d5e5665e4 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -171,6 +171,21 @@ extern "C" {
 #define VOL_CP_CHRC_UUID				0x2B7E
 #define VOL_FLAG_CHRC_UUID				0x2B7F
 
+#define GMCS_UUID                               0x1849
+#define MEDIA_PLAYER_NAME_CHRC_UUID             0x2b93
+#define MEDIA_TRACK_CHNGD_CHRC_UUID             0x2b96
+#define MEDIA_TRACK_TITLE_CHRC_UUID             0x2b97
+#define MEDIA_TRACK_DURATION_CHRC_UUID          0x2b98
+#define MEDIA_TRACK_POSTION_CHRC_UUID           0x2b99
+#define MEDIA_PLAYBACK_SPEED_CHRC_UUID          0x2b9a
+#define MEDIA_SEEKING_SPEED_CHRC_UUID           0x2b9b
+#define MEDIA_PLAYING_ORDER_CHRC_UUID           0x2ba1
+#define MEDIA_PLAY_ORDER_SUPPRTD_CHRC_UUID      0x2ba2
+#define MEDIA_STATE_CHRC_UUID                   0x2ba3
+#define MEDIA_CP_CHRC_UUID                      0x2ba4
+#define MEDIA_CP_OP_SUPPORTED_CHRC_UUID         0x2ba5
+#define MEDIA_CONTENT_CONTROL_ID_CHRC_UUID      0x2bba
+
 typedef struct {
 	enum {
 		BT_UUID_UNSPEC = 0,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-18  5:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 14:33 [PATCH BlueZ 0/4] Media Control Profile Client Abhay Maheta
2022-10-06 14:33 ` [PATCH BlueZ 1/4] lib/uuid: Add GMCS UUIDs Abhay Maheta
2022-10-06 14:58   ` Media Control Profile Client bluez.test.bot
2022-10-06 14:33 ` [PATCH BlueZ 2/4] shared/mcp: Add initial code for handling MCP Abhay Maheta
2022-10-06 14:33 ` [PATCH BlueZ 3/4] profiles: Add initial code for mcp plugin Abhay Maheta
2022-10-06 14:33 ` [PATCH BlueZ 4/4] monitor/att: Add decoding support for GMCS Abhay Maheta
2022-10-06 20:40 ` [PATCH BlueZ 0/4] Media Control Profile Client Luiz Augusto von Dentz
2022-10-17 13:34 [PATCH BlueZ v2 1/4] lib/uuid: Add GMCS UUIDs Abhay Maheta
2022-10-17 23:58 ` Media Control Profile Client bluez.test.bot
2022-10-18  4:38 [PATCH BlueZ v3 1/4] lib/uuid: Add GMCS UUIDs Abhay Maheta
2022-10-18  5:57 ` Media Control Profile Client bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).