Linux bluetooth development
 help / color / mirror / Atom feed
From: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
To: Szymon Janc <szymon.janc@tieto.com>
Cc: linux-bluetooth@vger.kernel.org, Szymon Janc <szymon.janc@gmail.com>
Subject: Re: [RFC 1/8] android: Import Android HAL headers
Date: Thu, 17 Oct 2013 12:05:29 +0300	[thread overview]
Message-ID: <20131017090527.GR2861@aemeltch-MOBL1> (raw)
In-Reply-To: <1381999629-9589-2-git-send-email-szymon.janc@tieto.com>

On Thu, Oct 17, 2013 at 10:47:02AM +0200, Szymon Janc wrote:
> From: Szymon Janc <szymon.janc@gmail.com>
> 
> This imports BT HAL headers as of tag android-4.3_r3.1 from
> https://android.googlesource.com/platform/hardware/libhardware
> 
> Only changes made compared to original files are trailing whitespace
> cleanup to keep git happy and commenting out includes of
> cutils/native_handle.h and system/graphics.h from hardware.h which are
> not present on Linux.
> 
> Those files are needed for building HAL library and haltester tool on
> Linux.
> ---
>  android/hardware/bluetooth.h      | 468 ++++++++++++++++++++++++++++++++++++++
>  android/hardware/bt_av.h          |  90 ++++++++
>  android/hardware/bt_gatt.h        |  61 +++++
>  android/hardware/bt_gatt_client.h | 275 ++++++++++++++++++++++
>  android/hardware/bt_gatt_server.h | 175 ++++++++++++++
>  android/hardware/bt_gatt_types.h  |  48 ++++
>  android/hardware/bt_hf.h          | 284 +++++++++++++++++++++++
>  android/hardware/bt_hh.h          | 179 +++++++++++++++
>  android/hardware/bt_hl.h          | 123 ++++++++++
>  android/hardware/bt_pan.h         |  87 +++++++
>  android/hardware/bt_rc.h          | 234 +++++++++++++++++++
>  android/hardware/bt_sock.h        |  58 +++++
>  android/hardware/hardware.h       | 232 +++++++++++++++++++
>  13 files changed, 2314 insertions(+)
>  create mode 100644 android/hardware/bluetooth.h
>  create mode 100644 android/hardware/bt_av.h
>  create mode 100644 android/hardware/bt_gatt.h
>  create mode 100644 android/hardware/bt_gatt_client.h
>  create mode 100644 android/hardware/bt_gatt_server.h
>  create mode 100644 android/hardware/bt_gatt_types.h
>  create mode 100644 android/hardware/bt_hf.h
>  create mode 100644 android/hardware/bt_hh.h
>  create mode 100644 android/hardware/bt_hl.h
>  create mode 100644 android/hardware/bt_pan.h
>  create mode 100644 android/hardware/bt_rc.h
>  create mode 100644 android/hardware/bt_sock.h
>  create mode 100644 android/hardware/hardware.h

That android/hardware does not sound good to me maybe 
android/include/hardware ? It might be so that we would need to import
some other library; then we put it also to android/include.

But let's maintainers decide this.

Best regards 
Andrei Emeltchenko 


  reply	other threads:[~2013-10-17  9:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  8:47 [RFC 0/8] Buiding Andtroid HAL lib and haltester on Linux Szymon Janc
2013-10-17  8:47 ` [RFC 1/8] android: Import Android HAL headers Szymon Janc
2013-10-17  9:05   ` Andrei Emeltchenko [this message]
2013-10-17  8:47 ` [RFC 2/8] build: Add haltest command line tester Szymon Janc
2013-10-17  9:01   ` Andrei Emeltchenko
2013-10-17  8:47 ` [RFC 3/8] android: Fix haltest build on Linux Szymon Janc
2013-10-17  8:47 ` [RFC 4/8] android: Fix build of HAL library " Szymon Janc
2013-10-17  8:47 ` [RFC 5/8] android: Fix missing include in HAL library Szymon Janc
2013-10-17  8:47 ` [RFC 6/8] " Szymon Janc
2013-10-17  8:47 ` [RFC 7/8] gitignore: Add android/haltest Szymon Janc
2013-10-17  8:47 ` [RFC 8/8] build: Add missing android files to EXTRA_DIST Szymon Janc

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=20131017090527.GR2861@aemeltch-MOBL1 \
    --to=andrei.emeltchenko.news@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=szymon.janc@gmail.com \
    --cc=szymon.janc@tieto.com \
    /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