hfp_ag.h (b95cac54e24879273ad0f4f5455476272ffbba09) hfp_ag.h (f0c27a954c09f45fef09ca7d439391ba4dcb9c00)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 292 unchanged lines hidden (view full) ---

301 * @brief Notify HF that sound will be played.
302 *
303 * @param acl_handle
304 * @param activate
305 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
306 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
307 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
308 */
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 292 unchanged lines hidden (view full) ---

301 * @brief Notify HF that sound will be played.
302 *
303 * @param acl_handle
304 * @param activate
305 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
306 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
307 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
308 */
309uint8_t hfp_ag_enhanced_voice_recognition_report_starting_sound(hci_con_handle_t acl_handle);
309uint8_t hfp_ag_enhanced_voice_recognition_report_sending_audio(hci_con_handle_t acl_handle);
310
311/*
312 * @brief Notify HF that AG is ready for input.
313 *
314 * @param acl_handle
315 * @param activate
316 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
317 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
318 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
319 */
310
311/*
312 * @brief Notify HF that AG is ready for input.
313 *
314 * @param acl_handle
315 * @param activate
316 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
317 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
318 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
319 */
320uint8_t hfp_ag_enhanced_voice_recognition_report_ready_for_input(hci_con_handle_t acl_handle);
320uint8_t hfp_ag_enhanced_voice_recognition_report_ready_for_audio(hci_con_handle_t acl_handle);
321
322/*
323 * @brief Notify that AG is processing input.
324 *
325 * @param acl_handle
326 * @param activate
327 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
328 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or

--- 185 unchanged lines hidden ---
321
322/*
323 * @brief Notify that AG is processing input.
324 *
325 * @param acl_handle
326 * @param activate
327 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
328 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or

--- 185 unchanged lines hidden ---