From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@tieto.com>
Subject: [PATCH 01/11] android/hal-ipc-api: Add Configuration command
Date: Mon, 15 Sep 2014 16:49:05 +0200 [thread overview]
Message-ID: <1410792555-24765-2-git-send-email-szymon.janc@tieto.com> (raw)
In-Reply-To: <1410792555-24765-1-git-send-email-szymon.janc@tieto.com>
---
android/hal-ipc-api.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index f6e1680..e7dab3b 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -90,6 +90,9 @@ the socket and register both "bluetooth" and "socket" service modules. It is
required to register "socket" service at the same time since the HAL module
does not have its own init() function.
+It is possible to send Configure command before registering any services to
+customize stack. This step is optional.
+
When new profiles are initiated, the get_profile_interface() callback
will load the profile and during init() of the profile, it should register the
specific service.
@@ -143,6 +146,19 @@ Core Service (ID 0)
In case of an error, the error response will be returned.
+ Opcode 0x03 - Configuration
+
+ Command parameters: Num options (1 octet)
+ Type # (1 octet)
+ Value # (92 octets)
+
+ Response parameters: <none>
+
+ Valid configure option types: 0x00 = Vendor
+ 0x01 = Model
+ 0x02 = Name
+
+ In case of an error, the error response will be returned.
Bluetooth Core HAL (ID 1)
=========================
--
1.9.3
next prev parent reply other threads:[~2014-09-15 14:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 14:49 [PATCH 00/11] android: Configuration command Szymon Janc
2014-09-15 14:49 ` Szymon Janc [this message]
2014-09-15 14:49 ` [PATCH 02/11] android/hal-msg: Add configuration command Szymon Janc
2014-09-15 14:49 ` [PATCH 03/11] android: Add support for " Szymon Janc
2014-09-15 14:49 ` [PATCH 04/11] android: Add functions for getting configuration options Szymon Janc
2014-09-15 14:49 ` [PATCH 05/11] android/bluetooth: Use model name for default adapter name Szymon Janc
2014-09-15 14:49 ` [PATCH 06/11] android/gatt: Use configuration data for device information profile Szymon Janc
2014-09-15 14:49 ` [PATCH 07/11] android/hal-bluetooth: Add support for sending configuration Szymon Janc
2014-09-15 14:49 ` [PATCH 08/11] android/hal: Add helper for quering config from Android properties Szymon Janc
2014-09-15 14:49 ` [PATCH 09/11] android: Use helper for accesing " Szymon Janc
2014-09-15 14:49 ` [PATCH 10/11] android/bluetoothd-wrapper: Fix indentation Szymon Janc
2014-09-15 14:49 ` [PATCH 11/11] android/README: Update customization section Szymon Janc
2014-09-22 14:44 ` [PATCH 00/11] android: Configuration command 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=1410792555-24765-2-git-send-email-szymon.janc@tieto.com \
--to=szymon.janc@tieto.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