hfp_hf.h (42aadee500c4b13e2a892e81e2d6db7fc4b68e70) hfp_hf.h (7f8f119190fb5c4dbcc499490b8408ac3b4e4539)
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

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

543 *
544 * @param acl_handler
545 * @return 0 if unknown acl_handle or in-band ring-tone disabled, otherwise 1
546 */
547int hfp_hf_in_band_ringtone_active(hci_con_handle_t acl_handle);
548
549/**
550 * @brief Send AT command (most likely a vendor-specific command not part of standard HFP).
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

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

543 *
544 * @param acl_handler
545 * @return 0 if unknown acl_handle or in-band ring-tone disabled, otherwise 1
546 */
547int hfp_hf_in_band_ringtone_active(hci_con_handle_t acl_handle);
548
549/**
550 * @brief Send AT command (most likely a vendor-specific command not part of standard HFP).
551 * @note Result (OK/ERROR) is reported via HFP_SUBEVENT_COMPLETE
551 * @note Result (OK/ERROR) is reported via HFP_SUBEVENT_CUSTOM_AT_MESSAGE_SENT
552 * To receive potential unsolicited result code, add ENABLE_HFP_AT_MESSAGES to get all message via HFP_SUBEVENT_AT_MESSAGE_RECEIVED
553 *
554 * @param acl_handle
555 * @param at_command to send
556 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
557 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
558 * - ERROR_CODE_COMMAND_DISALLOWED if extended audio gateway error report is disabled
559 */

--- 14 unchanged lines hidden ---
552 * To receive potential unsolicited result code, add ENABLE_HFP_AT_MESSAGES to get all message via HFP_SUBEVENT_AT_MESSAGE_RECEIVED
553 *
554 * @param acl_handle
555 * @param at_command to send
556 * @return status ERROR_CODE_SUCCESS if successful, otherwise:
557 * - ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist, or
558 * - ERROR_CODE_COMMAND_DISALLOWED if extended audio gateway error report is disabled
559 */

--- 14 unchanged lines hidden ---