This command will be used to enable HFP support in handsfree HAL. --- android/hal-ipc-api.txt | 2 ++ android/hal-msg.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index 1a19c80..54f6783 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -935,6 +935,8 @@ Android HAL name: "handsfree" (BT_PROFILE_HANDSFREE_ID) In case of an error, the error response will be returned. + Opcode 0x0f - Enable Handsfree Profile command/response + Notifications: Opcode 0x81 - Connection State notification diff --git a/android/hal-msg.h b/android/hal-msg.h index 1e12868..cbb0f14 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -783,6 +783,8 @@ struct hal_cmd_gatt_server_send_response { uint8_t data[0]; } __attribute__((packed)); +#define HAL_OP_HANDSFREE_ENABLE_HFP 0x0F + /* Notifications and confirmations */ #define HAL_POWER_OFF 0x00 -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html