hfp_ag.h (11b091bf48880af89eb0480ea2b091dac45c5f6d) hfp_ag.h (e83c202541a02b09236bd4dc8c266a0bbc81f536)
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

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

286 * @brief Activate enhanced voice recognition.
287 *
288 * @param acl_handle
289 * @param activate
290 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
291 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
292 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
293 */
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

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

286 * @brief Activate enhanced voice recognition.
287 *
288 * @param acl_handle
289 * @param activate
290 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
291 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
292 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
293 */
294uint8_t hfp_ag_enhanced_voice_recognition_activate(hci_con_handle_t acl_handle);
294uint8_t hfp_ag_activate_enhanced_voice_recognition(hci_con_handle_t acl_handle);
295
296/*
297 * @brief Send enhanced voice recognition state.
298 *
299 * @param acl_handle
300 * @param activate
301 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
302 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or

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

352 * @brief Deactivate enhanced voice recognition.
353 *
354 * @param acl_handle
355 * @param activate
356 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
357 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
358 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
359 */
295
296/*
297 * @brief Send enhanced voice recognition state.
298 *
299 * @param acl_handle
300 * @param activate
301 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
302 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or

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

352 * @brief Deactivate enhanced voice recognition.
353 *
354 * @param acl_handle
355 * @param activate
356 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
357 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
358 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support enhanced voice recognition
359 */
360uint8_t hfp_ag_enhanced_voice_recognition_deactivate(hci_con_handle_t acl_handle);
360uint8_t hfp_ag_deactivate_enhanced_voice_recognition(hci_con_handle_t acl_handle);
361
362/*
363 * @brief Send a phone number back to the HF.
364 *
365 * @param acl_handle
366 * @param phone_number
367 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist
368 */

--- 150 unchanged lines hidden ---
361
362/*
363 * @brief Send a phone number back to the HF.
364 *
365 * @param acl_handle
366 * @param phone_number
367 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist
368 */

--- 150 unchanged lines hidden ---