From 60169fdd867f8996c867a43e2bba2d27ae3a60eb Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 22 Sep 2014 16:30:10 +0200 Subject: [PATCH] android/hal-ipc-api: Add Configuration command --- android/hal-ipc-api.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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: + + 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) ========================= -- 2.47.3