Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 00/20] Initial AVDTP for Android
@ 2013-11-25 14:54 Luiz Augusto von Dentz
  2013-11-25 14:54 ` [PATCH v2 02/20] android/AVDTP: Strip dependencies Luiz Augusto von Dentz
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Luiz Augusto von Dentz @ 2013-11-25 14:54 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

The code is based on the current implementation available in
profiles/audio/avdtp.{c,h} but it is transport agnostic and does not
contain any external dependency except glib for IO handling.

Both the signaling and the transport connection has to be handled by
the upper layer, that is why it is not modified in place to avoid
breaking current implemention until this work is considered stable.

Two new function are added:

  - avdtp_new: Creates AVDTP session and attach signaling transport
  - avdtp_stream_set_transport: Set stream transport

Both receives a fd as parameter so in future it should be possible to
replace the IO handling.

This set also includes a initial test set based on the current AVDTP
test specification, once merged more tests will be added as well,
then the intent is to make this used by audio plugin.

Note: It is possible to track back to the original code by doing:
git log --follow or git blame -C -C.

v2: Add a separate commit to copy existing AVDTP files

Luiz Augusto von Dentz (20):
  android: Add copy of current AVDTP implemention
  android/AVDTP: Strip dependencies
  unit/AVDTP: Add /TP/SIG/SMG/BV-05-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-06-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-07-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-08-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-09-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-10-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-11-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-12-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-15-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-16-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-17-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-18-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-19-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-20-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-21-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-22-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-23-C test
  unit/AVDTP: Add /TP/SIG/SMG/BV-24-C test

 Makefile.am         |    8 +
 android/Makefile.am |    1 +
 android/a2dp.c      |   23 +
 android/avdtp.c     | 3256 +++++++++++++++++++++++++++++++++++++++++++++++++++
 android/avdtp.h     |  275 +++++
 unit/test-avdtp.c   |  612 ++++++++++
 6 files changed, 4175 insertions(+)
 create mode 100644 android/avdtp.c
 create mode 100644 android/avdtp.h
 create mode 100644 unit/test-avdtp.c

-- 
1.8.3.1


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

end of thread, other threads:[~2013-11-26 13:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 14:54 [PATCH v2 00/20] Initial AVDTP for Android Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 02/20] android/AVDTP: Strip dependencies Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 03/20] unit/AVDTP: Add /TP/SIG/SMG/BV-05-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 04/20] unit/AVDTP: Add /TP/SIG/SMG/BV-06-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 05/20] unit/AVDTP: Add /TP/SIG/SMG/BV-07-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 06/20] unit/AVDTP: Add /TP/SIG/SMG/BV-08-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 07/20] unit/AVDTP: Add /TP/SIG/SMG/BV-09-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 08/20] unit/AVDTP: Add /TP/SIG/SMG/BV-10-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 09/20] unit/AVDTP: Add /TP/SIG/SMG/BV-11-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 10/20] unit/AVDTP: Add /TP/SIG/SMG/BV-12-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 11/20] unit/AVDTP: Add /TP/SIG/SMG/BV-15-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 12/20] unit/AVDTP: Add /TP/SIG/SMG/BV-16-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 13/20] unit/AVDTP: Add /TP/SIG/SMG/BV-17-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 14/20] unit/AVDTP: Add /TP/SIG/SMG/BV-18-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 15/20] unit/AVDTP: Add /TP/SIG/SMG/BV-19-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 16/20] unit/AVDTP: Add /TP/SIG/SMG/BV-20-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 17/20] unit/AVDTP: Add /TP/SIG/SMG/BV-21-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 18/20] unit/AVDTP: Add /TP/SIG/SMG/BV-22-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 19/20] unit/AVDTP: Add /TP/SIG/SMG/BV-23-C test Luiz Augusto von Dentz
2013-11-25 14:54 ` [PATCH v2 20/20] unit/AVDTP: Add /TP/SIG/SMG/BV-24-C test Luiz Augusto von Dentz
2013-11-26 13:46 ` [PATCH v2 00/20] Initial AVDTP for Android Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox