hfp_hf.h (154628cc9fe8290893caea2aecefe6f2cd4769bb) | hfp_hf.h (2be52304616e5a00f00bd6b28e1a44dccce31d09) |
---|---|
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 --- 267 unchanged lines hidden (view full) --- 276 * @brief Terminate an incoming or an outgoing call. HFP_SUBEVENT_CALL_TERMINATED is sent upon call termination. 277 * 278 * @param acl_handle 279 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 280 */ 281uint8_t hfp_hf_terminate_call(hci_con_handle_t acl_handle); 282 283/** | 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 --- 267 unchanged lines hidden (view full) --- 276 * @brief Terminate an incoming or an outgoing call. HFP_SUBEVENT_CALL_TERMINATED is sent upon call termination. 277 * 278 * @param acl_handle 279 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 280 */ 281uint8_t hfp_hf_terminate_call(hci_con_handle_t acl_handle); 282 283/** |
284 * @brief Terminate all held calls. 285 * 286 * @param acl_handle 287 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 288 */ 289uint8_t hfp_hf_terminate_held_calls(hci_con_handle_t acl_handle); 290 291/** |
|
284 * @brief Initiate outgoing voice call by providing the destination phone number to the AG. 285 * 286 * @param acl_handle 287 * @param number 288 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 289 */ 290uint8_t hfp_hf_dial_number(hci_con_handle_t acl_handle, char * number); 291 --- 256 unchanged lines hidden --- | 292 * @brief Initiate outgoing voice call by providing the destination phone number to the AG. 293 * 294 * @param acl_handle 295 * @param number 296 * @return status ERROR_CODE_SUCCESS if successful, otherwise ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER if connection does not exist 297 */ 298uint8_t hfp_hf_dial_number(hci_con_handle_t acl_handle, char * number); 299 --- 256 unchanged lines hidden --- |