Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 00/19] Initial AVDTP for Android
Date: Mon, 25 Nov 2013 15:10:51 +0200	[thread overview]
Message-ID: <1385385070-21010-1-git-send-email-luiz.dentz@gmail.com> (raw)

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.

Luiz Augusto von Dentz (19):
  android: Add initial AVDTP code
  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      |   21 +
 android/avdtp.c     | 3257 +++++++++++++++++++++++++++++++++++++++++++++++++++
 android/avdtp.h     |  276 +++++
 unit/test-avdtp.c   |  616 ++++++++++
 6 files changed, 4179 insertions(+)
 create mode 100644 android/avdtp.c
 create mode 100644 android/avdtp.h
 create mode 100644 unit/test-avdtp.c

-- 
1.8.3.1


             reply	other threads:[~2013-11-25 13:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25 13:10 Luiz Augusto von Dentz [this message]
2013-11-25 13:10 ` [PATCH BlueZ 01/19] android: Add initial AVDTP code Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 02/19] unit/AVDTP: Add /TP/SIG/SMG/BV-05-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 03/19] unit/AVDTP: Add /TP/SIG/SMG/BV-06-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 04/19] unit/AVDTP: Add /TP/SIG/SMG/BV-07-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 05/19] unit/AVDTP: Add /TP/SIG/SMG/BV-08-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 06/19] unit/AVDTP: Add /TP/SIG/SMG/BV-09-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 07/19] unit/AVDTP: Add /TP/SIG/SMG/BV-10-C test Luiz Augusto von Dentz
2013-11-25 13:10 ` [PATCH BlueZ 08/19] unit/AVDTP: Add /TP/SIG/SMG/BV-11-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 09/19] unit/AVDTP: Add /TP/SIG/SMG/BV-12-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 10/19] unit/AVDTP: Add /TP/SIG/SMG/BV-15-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 11/19] unit/AVDTP: Add /TP/SIG/SMG/BV-16-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 12/19] unit/AVDTP: Add /TP/SIG/SMG/BV-17-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 13/19] unit/AVDTP: Add /TP/SIG/SMG/BV-18-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 14/19] unit/AVDTP: Add /TP/SIG/SMG/BV-19-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 15/19] unit/AVDTP: Add /TP/SIG/SMG/BV-20-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 16/19] unit/AVDTP: Add /TP/SIG/SMG/BV-21-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 17/19] unit/AVDTP: Add /TP/SIG/SMG/BV-22-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 18/19] unit/AVDTP: Add /TP/SIG/SMG/BV-23-C test Luiz Augusto von Dentz
2013-11-25 13:11 ` [PATCH BlueZ 19/19] unit/AVDTP: Add /TP/SIG/SMG/BV-24-C test Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385385070-21010-1-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox