hfp_hf.h (3c65e7053eb0574febf31fb17a58168d45bb11e2) | hfp_hf.h (af97579e443f2c6b71882d1189eb88c19629f90f) |
---|---|
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 --- 349 unchanged lines hidden (view full) --- 358/* 359 * @brief Deactivate echo canceling and noise reduction in the AG. 360 * 361 * @param acl_handle 362 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 363 */ 364uint8_t hfp_hf_deactivate_echo_canceling_and_noise_reduction(hci_con_handle_t acl_handle); 365 | 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 --- 349 unchanged lines hidden (view full) --- 358/* 359 * @brief Deactivate echo canceling and noise reduction in the AG. 360 * 361 * @param acl_handle 362 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 363 */ 364uint8_t hfp_hf_deactivate_echo_canceling_and_noise_reduction(hci_con_handle_t acl_handle); 365 |
366/* 367 * @brief Activate voice recognition function. | 366/** 367 * @brief Activate voice recognition and emit HFP_SUBEVENT_VOICE_RECOGNITION_STATUS event with status ERROR_CODE_SUCCESS 368 * if successful, otherwise ERROR_CODE_COMMAND_DISALLOWED. The state field of this event is set to 1. |
368 * 369 * @param acl_handle | 369 * 370 * @param acl_handle |
370 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist | 371 * @return status ERROR_CODE_SUCCESS if successful, otherwise: 372 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or 373 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support voice recognition, or already activated |
371 */ | 374 */ |
372uint8_t hfp_hf_activate_voice_recognition_notification(hci_con_handle_t acl_handle); | 375uint8_t hfp_hf_activate_voice_recognition(hci_con_handle_t acl_handle); |
373 | 376 |
374/* 375 * @brief Dectivate voice recognition function. | 377/** 378 * @brief Dectivate voice recognition and emit HFP_SUBEVENT_VOICE_RECOGNITION_STATUS event with status ERROR_CODE_SUCCESS 379 * if successful, otherwise ERROR_CODE_COMMAND_DISALLOWED. The state field of this event is set to 0. |
376 * 377 * @param acl_handle | 380 * 381 * @param acl_handle |
378 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist | 382 * @return status ERROR_CODE_SUCCESS if successful, otherwise: 383 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or 384 * - ERROR_CODE_COMMAND_DISALLOWED if AG or HF does not support voice recognition, or already activated |
379 */ | 385 */ |
380uint8_t hfp_hf_deactivate_voice_recognition_notification(hci_con_handle_t acl_handle); | 386uint8_t hfp_hf_deactivate_voice_recognition(hci_con_handle_t acl_handle); |
381 382/* 383 * @brief Start enhanced voice recognition session. 384 * 385 * @param acl_handle 386 * @return status ERROR_CODE_SUCCESS if successful, otherwise: 387 * - ERROR_CODE_COMMAND_DISALLOWED if HF does not support it, or wrong VRA status 388 */ --- 152 unchanged lines hidden --- | 387 388/* 389 * @brief Start enhanced voice recognition session. 390 * 391 * @param acl_handle 392 * @return status ERROR_CODE_SUCCESS if successful, otherwise: 393 * - ERROR_CODE_COMMAND_DISALLOWED if HF does not support it, or wrong VRA status 394 */ --- 152 unchanged lines hidden --- |