summaryrefslogtreecommitdiff
path: root/android/hal-ipc-api.txt
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-09-22 16:30:10 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-09-22 16:31:08 +0200
commit60169fdd867f8996c867a43e2bba2d27ae3a60eb (patch)
tree09f8502d00803a08fcf4fd560fd4bf4494436885 /android/hal-ipc-api.txt
parent6a96a1f670b56aee7663ee90fda9aca7a6db7695 (diff)
downloadbluez-60169fdd867f8996c867a43e2bba2d27ae3a60eb.tar.gz
android/hal-ipc-api: Add Configuration command
Diffstat (limited to 'android/hal-ipc-api.txt')
-rw-r--r--android/hal-ipc-api.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index f6e168035..c2df2a4f7 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,20 @@ Core Service (ID 0)
In case of an error, the error response will be returned.
+ Opcode 0x03 - Configuration
+
+ Command parameters: Num options (1 octet)
+ Option Type # (1 octet)
+ Option Length # (2 octets)
+ Option Value # (variable)
+
+ 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)
=========================