Move HF type definitions from internal to extension 38/257938/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 7 May 2021 02:34:53 +0000 (11:34 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 7 May 2021 02:34:53 +0000 (11:34 +0900)
Change-Id: I0e87bd7c9f0de4fbd2d2d0cf53a8e56de90c38db
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth_private.h
include/bluetooth_type_extension.h
include/bluetooth_type_internal.h

index af4c118..05900b8 100644 (file)
@@ -39,6 +39,7 @@
 #include <bluetooth-mesh-api.h>
 
 #include "bluetooth.h"
+#include "bluetooth_extension.h"
 #include "bluetooth_internal.h"
 
 #ifdef __cplusplus
index 3bb2434..c6a6e4a 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef __TIZEN_NETWORK_BLUETOOTH_TYPE_EXTENSION_H__
 #define __TIZEN_NETWORK_BLUETOOTH_TYPE_EXTENSION_H__
 
+#include <glib.h>
+
  #ifdef __cplusplus
 extern "C"
 {
@@ -28,6 +30,94 @@ extern "C"
  */
 
 /**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Enumerations for the call handling event
+ * @since_tizen @if WEARABLE 2.3 @endif
+ */
+typedef enum {
+       BT_HF_CALL_HANDLING_EVENT_ANSWER = 0x00,  /**< Request to answer an incoming call */
+       BT_HF_CALL_HANDLING_EVENT_RELEASE,  /**< Request to release a call */
+       BT_HF_CALL_HANDLING_EVENT_REJECT,  /**< Request to reject an incoming call */
+       BT_HF_CALL_HANDLING_EVENT_RING,  /**< Request of ringing call */
+       BT_HF_CALL_HANDLING_EVENT_CALL_STARTED,  /**< Request of Call started */
+       BT_HF_CALL_HANDLING_EVENT_CALL_ENDED,  /**< Request of Call Ended */
+       BT_HF_CALL_HANDLING_EVENT_VOICE_RECOGNITION_ENABLED,  /**< Request of voice recognition enabled */
+       BT_HF_CALL_HANDLING_EVENT_VOICE_RECOGNITION_DISABLED,  /**< Request of voice recognition disabled */
+       BT_HF_CALL_HANDLING_EVENT_VENDOR_DEP_CMD,  /**< Request of Vendor command */
+       BT_HF_CALL_HANDLING_EVENT_WAITING,  /**< Request to waiting a call */
+       BT_HF_CALL_HANDLING_EVENT_HELD,  /**< Request to hold a call */
+       BT_HF_CALL_HANDLING_EVENT_UNHELD,  /**< Request to unhold calls */
+       BT_HF_CALL_HANDLING_EVENT_SWAPPED,  /**< Request to swap calls */
+} bt_hf_call_handling_event_e;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Enumerations for the call state
+ * @since_tizen @if WEARABLE 2.3 @endif
+ */
+typedef enum {
+       BT_HF_CALL_EVENT_IDLE = 0x00,  /**< Idle */
+       BT_HF_CALL_EVENT_ANSWER,  /**< Answered */
+       BT_HF_CALL_EVENT_HOLD,  /**< Held */
+       BT_HF_CALL_EVENT_RETRIEVE,  /**< Retrieved */
+       BT_HF_CALL_EVENT_DIAL,  /**< Dialing */
+       BT_HF_CALL_EVENT_ALERT,  /**< Alerting */
+       BT_HF_CALL_EVENT_INCOMING,  /**< Incoming */
+       BT_HF_CALL_EVENT_REDIAL,  /**< Redialling */
+       BT_HF_CALL_EVENT_RELEASE_ALL_NONACTIVE_CALLS,  /**< Release all nonactive calls */
+       BT_HF_CALL_EVENT_ACCEPT_AND_RELEASE,  /**< Accept and Release */
+       BT_HF_CALL_EVENT_ACCEPT_AND_HOLD,  /**< Accept and Hold */
+       BT_HF_CALL_EVENT_ADD_TO_CONVERSATION,  /**< Add to the conversation */
+} bt_hf_call_event_e;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Enumerations for the call event from Audio-Gateway device
+ * @since_tizen @if WEARABLE 3.0 @endif
+ */
+typedef enum {
+       BT_HF_REMOTE_CALL_EVENT_IDLE = 0x00,  /**< Idle. Neither setup call nor active call exist */
+       BT_HF_REMOTE_CALL_EVENT_INCOMING,  /**< (Call-setup event) Received an incoming call on AG */
+       BT_HF_REMOTE_CALL_EVENT_DIALING,  /**< (Call-setup event) Dialing an outgoing call on AG */
+       BT_HF_REMOTE_CALL_EVENT_ALERTING,  /**< (Call-setup event) Remote party being alerted in an outgoing call of AG */
+       BT_HF_REMOTE_CALL_EVENT_CALL_TERMINATED,  /**< (Call-setup event) Setup call is terminated without activating */
+       BT_HF_REMOTE_CALL_EVENT_CALL_STARTED,  /**< (Active call state event) Call is started on AG */
+       BT_HF_REMOTE_CALL_EVENT_CALL_ENDED,  /**< (Active call state event) Active call is terminated on AG */
+       BT_HF_REMOTE_CALL_EVENT_UNHELD,  /**< (Call held event) No calls on hold */
+       BT_HF_REMOTE_CALL_EVENT_SWAPPED,  /**< (Call held event) Call is placed on hold or active/held calls swapped */
+       BT_HF_REMOTE_CALL_EVENT_HELD,  /**< (Call held event) Calls on hold, no active call */
+       BT_HF_REMOTE_CALL_EVENT_RINGING,  /**< Incoming call is ringing event with number. This event is optional event. */
+       BT_HF_REMOTE_CALL_EVENT_WAITING,  /**< Call Waiting notification in 3-way call scenario */
+       BT_HF_REMOTE_CALL_EVENT_FAILED_TO_DIALING,  /**< Failed to dialing a outgoing call on AG */
+} bt_hf_remote_call_event_e;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Enumerations for the multi call handling event
+ * @since_tizen @if WEARABLE 2.3 @endif
+ */
+typedef enum {
+       BT_HF_MULTI_CALL_HANDLING_EVENT_RELEASE_HELD_CALLS = 0x00,  /**< Request to release held calls */
+       BT_HF_MULTI_CALL_HANDLING_EVENT_RELEASE_ACTIVE_CALLS,  /**< Request to release active calls */
+       BT_HF_MULTI_CALL_HANDLING_EVENT_ACTIVATE_HELD_CALL,  /**< Request to put active calls into hold state and activate another (held or waiting) call */
+       BT_HF_MULTI_CALL_HANDLING_EVENT_MERGE_CALLS,  /**< Request to add a held call to the conversation */
+       BT_HF_MULTI_CALL_HANDLING_EVENT_EXPLICIT_CALL_TRANSFER,  /**< Request to let a user who has two calls to connect these two calls together and release its connections to both other parties */
+} bt_hf_multi_call_handling_event_e;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  HF Call status information.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ */
+typedef struct {
+       char *number;  /**< Phone Number */
+       int direction;  /**< Direction :Incoming(1), Outgoing(0) */
+       int status;  /**< Call Status :Active(0), Held(1), Waiting(5), Dailing(2) */
+       int multi_party;  /**< Multiparty/conf call: Yes(1), No(0) */
+       int index;  /**< Call index/ID */
+} bt_hf_call_status_info_s;
+
+/**
  * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
  * @brief  Called when the SCO(Synchronous Connection Oriented link) state is changed.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
@@ -45,6 +135,113 @@ extern "C"
 typedef void (*bt_ag_sco_state_changed_cb) (int result, bool opened, void *user_data);
 
 /**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when the SCO(Synchronous Connection Oriented link) state is changed.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ *
+ * @details  This callback is called when the SCO state is changed.
+ * When you call bt_ag_open_sco() or bt_ag_close_sco(), this callback is also called with error result even though these functions failed.
+ * @param[in] result  The result of changing the connection state
+ * @param[in] opened  The state to be changed: (@c true = opened, @c  false = not opened)
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_ag_set_sco_state_changed_cb()
+ * @see bt_ag_unset_sco_state_changed_cb()
+ * @see bt_ag_open_sco()
+ * @see bt_ag_close_sco()
+ */
+typedef void (*bt_hf_sco_state_changed_cb) (int result, bool opened, void *user_data);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when a call handling event happened from Hands-Free.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ *
+ * @param[in] event  The call handling event happened from Hands-Free
+ * @param[in] call_id  The call ID
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_ag_set_call_handling_event_cb()
+ * @see bt_ag_unset_call_handling_event_cb()
+ */
+typedef void (*bt_hf_call_handling_event_cb) (bt_hf_call_handling_event_e event, char *phone_number, void *user_data);
+
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called  when a call event happend from Audio-Gateway device
+ * @since_tizen @if WEARABLE 3.0 @endif
+ *
+ * @param[in] event The call state chagned event from remote Audio-Gateway device
+ * @param[in] user_data The user data passed from the callback registration function
+ *
+ * @see bt_hf_set_remote_call_event_cb()
+ * @see bt_hf_unset_remote_call_event_cb()
+ */
+typedef void (*bt_hf_remote_call_event_cb) (bt_hf_remote_call_event_e event, char *phone_number, void *user_data);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when a multi call handling event happened from Hands-Free.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ *
+ * @param[in] event  The call handling event happened from Hands-Free
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_ag_set_multi_call_handling_event_cb()
+ * @see bt_ag_unset_multi_call_handling_event_cb()
+ */
+typedef void (*bt_hf_multi_call_handling_event_cb) (bt_hf_multi_call_handling_event_e event, void *user_data);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when the speaker gain of the remote device is changed.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ *
+ * @param[in] gain The gain of speaker (0 ~ 15)
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_hf_set_speaker_gain_changed_cb()
+ * @see bt_hf_unset_speaker_gain_changed_cb()
+ */
+typedef void (*bt_hf_speaker_gain_changed_cb) (int gain, void *user_data);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called when a call status updated event happened from Hands-Free.
+ * @since_tizen @if WEARABLE 2.3 @endif
+ * @remarks call_info_list has elements which consist of bt_hf_call_status_info_s
+ * @remarks The @a call_info_list must be released with bt_hf_free_call_status_info_list() by you.
+ *
+ * @param[in] event  The call handling event happened from Hands-Free
+ * @param[in] call_id  The call ID
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_hf_call_status_info_s
+ * @see bt_hf_set_call_status_updated_event_cb()
+ * @see bt_hf_unset_call_status_updated_event_cb()
+ */
+typedef void (*bt_hf_call_status_updated_event_cb) (GSList *call_info_list, void *user_data);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Samsung XSAT Vendor dependent command.
+ * @since_tizen 2.3.2
+ */
+typedef struct {
+       int app_id; /**< The application ID */
+       char *message; /**< Command message */
+} bt_hf_vendor_dep_at_cmd_s;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
+ * @brief  Called  when a call event happend from Audio-Gateway device
+ * @since_tizen @if WEARABLE 3.0 @endif
+ *
+ * @param[in] event The call state chagned event from remote Audio-Gateway device
+ * @param[in] user_data The user data passed from the callback registration function
+ *
+ * @see bt_hf_set_remote_call_event_cb()
+ * @see bt_hf_unset_remote_call_event_cb()
+ */
+typedef void (*bt_hf_remote_call_event_cb) (bt_hf_remote_call_event_e event, char *phone_number, void *user_data);
+
+/**
  * @}
  */
 
index e34596c..10b59ab 100644 (file)
@@ -192,27 +192,6 @@ typedef enum {
 } bt_ag_call_state_e;
 
 /**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Enumerations for the call event from Audio-Gateway device
- * @since_tizen @if WEARABLE 3.0 @endif
- */
-typedef enum {
-       BT_HF_REMOTE_CALL_EVENT_IDLE = 0x00,  /**< Idle. Neither setup call nor active call exist */
-       BT_HF_REMOTE_CALL_EVENT_INCOMING,  /**< (Call-setup event) Received an incoming call on AG */
-       BT_HF_REMOTE_CALL_EVENT_DIALING,  /**< (Call-setup event) Dialing an outgoing call on AG */
-       BT_HF_REMOTE_CALL_EVENT_ALERTING,  /**< (Call-setup event) Remote party being alerted in an outgoing call of AG */
-       BT_HF_REMOTE_CALL_EVENT_CALL_TERMINATED,  /**< (Call-setup event) Setup call is terminated without activating */
-       BT_HF_REMOTE_CALL_EVENT_CALL_STARTED,  /**< (Active call state event) Call is started on AG */
-       BT_HF_REMOTE_CALL_EVENT_CALL_ENDED,  /**< (Active call state event) Active call is terminated on AG */
-       BT_HF_REMOTE_CALL_EVENT_UNHELD,  /**< (Call held event) No calls on hold */
-       BT_HF_REMOTE_CALL_EVENT_SWAPPED,  /**< (Call held event) Call is placed on hold or active/held calls swapped */
-       BT_HF_REMOTE_CALL_EVENT_HELD,  /**< (Call held event) Calls on hold, no active call */
-       BT_HF_REMOTE_CALL_EVENT_RINGING,  /**< Incoming call is ringing event with number. This event is optional event. */
-       BT_HF_REMOTE_CALL_EVENT_WAITING,  /**< Call Waiting notification in 3-way call scenario */
-       BT_HF_REMOTE_CALL_EVENT_FAILED_TO_DIALING,  /**< Failed to dialing a outgoing call on AG */
-} bt_hf_remote_call_event_e;
-
-/**
  * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_MODULE
  * @brief  Enumerations for the transfer type
  * @since_tizen 3.0
@@ -405,74 +384,6 @@ typedef enum {
 } bt_adapter_le_scan_type_e;
 
 /**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Enumerations for the call handling event
- * @since_tizen @if WEARABLE 2.3 @endif
- */
-typedef enum {
-       BT_HF_CALL_HANDLING_EVENT_ANSWER = 0x00,  /**< Request to answer an incoming call */
-       BT_HF_CALL_HANDLING_EVENT_RELEASE,  /**< Request to release a call */
-       BT_HF_CALL_HANDLING_EVENT_REJECT,  /**< Request to reject an incoming call */
-       BT_HF_CALL_HANDLING_EVENT_RING,  /**< Request of ringing call */
-       BT_HF_CALL_HANDLING_EVENT_CALL_STARTED,  /**< Request of Call started */
-       BT_HF_CALL_HANDLING_EVENT_CALL_ENDED,  /**< Request of Call Ended */
-       BT_HF_CALL_HANDLING_EVENT_VOICE_RECOGNITION_ENABLED,  /**< Request of voice recognition enabled */
-       BT_HF_CALL_HANDLING_EVENT_VOICE_RECOGNITION_DISABLED,  /**< Request of voice recognition disabled */
-       BT_HF_CALL_HANDLING_EVENT_VENDOR_DEP_CMD,  /**< Request of Vendor command */
-       BT_HF_CALL_HANDLING_EVENT_WAITING,  /**< Request to waiting a call */
-       BT_HF_CALL_HANDLING_EVENT_HELD,  /**< Request to hold a call */
-       BT_HF_CALL_HANDLING_EVENT_UNHELD,  /**< Request to unhold calls */
-       BT_HF_CALL_HANDLING_EVENT_SWAPPED,  /**< Request to swap calls */
-} bt_hf_call_handling_event_e;
-
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Enumerations for the multi call handling event
- * @since_tizen @if WEARABLE 2.3 @endif
- */
-typedef enum {
-       BT_HF_MULTI_CALL_HANDLING_EVENT_RELEASE_HELD_CALLS = 0x00,  /**< Request to release held calls */
-       BT_HF_MULTI_CALL_HANDLING_EVENT_RELEASE_ACTIVE_CALLS,  /**< Request to release active calls */
-       BT_HF_MULTI_CALL_HANDLING_EVENT_ACTIVATE_HELD_CALL,  /**< Request to put active calls into hold state and activate another (held or waiting) call */
-       BT_HF_MULTI_CALL_HANDLING_EVENT_MERGE_CALLS,  /**< Request to add a held call to the conversation */
-       BT_HF_MULTI_CALL_HANDLING_EVENT_EXPLICIT_CALL_TRANSFER,  /**< Request to let a user who has two calls to connect these two calls together and release its connections to both other parties */
-} bt_hf_multi_call_handling_event_e;
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Enumerations for the call state
- * @since_tizen @if WEARABLE 2.3 @endif
- */
-typedef enum {
-       BT_HF_CALL_EVENT_IDLE = 0x00,  /**< Idle */
-       BT_HF_CALL_EVENT_ANSWER,  /**< Answered */
-       BT_HF_CALL_EVENT_HOLD,  /**< Held */
-       BT_HF_CALL_EVENT_RETRIEVE,  /**< Retrieved */
-       BT_HF_CALL_EVENT_DIAL,  /**< Dialing */
-       BT_HF_CALL_EVENT_ALERT,  /**< Alerting */
-       BT_HF_CALL_EVENT_INCOMING,  /**< Incoming */
-       BT_HF_CALL_EVENT_REDIAL,  /**< Redialling */
-       BT_HF_CALL_EVENT_RELEASE_ALL_NONACTIVE_CALLS,  /**< Release all nonactive calls */
-       BT_HF_CALL_EVENT_ACCEPT_AND_RELEASE,  /**< Accept and Release */
-       BT_HF_CALL_EVENT_ACCEPT_AND_HOLD,  /**< Accept and Hold */
-       BT_HF_CALL_EVENT_ADD_TO_CONVERSATION,  /**< Add to the conversation */
-} bt_hf_call_event_e;
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  HF Call status information.
- * @since_tizen @if WEARABLE 2.3 @endif
- */
-typedef struct {
-       char *number;  /**< Phone Number */
-       int direction;  /**< Direction :Incoming(1), Outgoing(0) */
-       int status;  /**< Call Status :Active(0), Held(1), Waiting(5), Dailing(2) */
-       int multi_party;  /**< Multiparty/conf call: Yes(1), No(0) */
-       int index;  /**< Call index/ID */
-} bt_hf_call_status_info_s;
-
-/**
  * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE
  * @brief  Called when the manufacturer dat changes.
  * @since_tizen 2.3
@@ -505,76 +416,6 @@ typedef void (*bt_adapter_manufacturer_data_changed_cb) (char *data,
 typedef bool (*bt_adapter_profile_connected_devices_cb)(const char *remote_address, void *user_data);
 
 /**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when the SCO(Synchronous Connection Oriented link) state is changed.
- * @since_tizen @if WEARABLE 2.3 @endif
- *
- * @details  This callback is called when the SCO state is changed.
- * When you call bt_ag_open_sco() or bt_ag_close_sco(), this callback is also called with error result even though these functions failed.
- * @param[in] result  The result of changing the connection state
- * @param[in] opened  The state to be changed: (@c true = opened, @c  false = not opened)
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_ag_set_sco_state_changed_cb()
- * @see bt_ag_unset_sco_state_changed_cb()
- * @see bt_ag_open_sco()
- * @see bt_ag_close_sco()
- */
-typedef void (*bt_hf_sco_state_changed_cb) (int result, bool opened, void *user_data);
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when a call handling event happened from Hands-Free.
- * @since_tizen @if WEARABLE 2.3 @endif
- *
- * @param[in] event  The call handling event happened from Hands-Free
- * @param[in] call_id  The call ID
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_ag_set_call_handling_event_cb()
- * @see bt_ag_unset_call_handling_event_cb()
- */
-typedef void (*bt_hf_call_handling_event_cb) (bt_hf_call_handling_event_e event, char *phone_number, void *user_data);
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when a multi call handling event happened from Hands-Free.
- * @since_tizen @if WEARABLE 2.3 @endif
- *
- * @param[in] event  The call handling event happened from Hands-Free
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_ag_set_multi_call_handling_event_cb()
- * @see bt_ag_unset_multi_call_handling_event_cb()
- */
-typedef void (*bt_hf_multi_call_handling_event_cb) (bt_hf_multi_call_handling_event_e event, void *user_data);
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when the speaker gain of the remote device is changed.
- * @since_tizen @if WEARABLE 2.3 @endif
- *
- * @param[in] gain The gain of speaker (0 ~ 15)
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_hf_set_speaker_gain_changed_cb()
- * @see bt_hf_unset_speaker_gain_changed_cb()
- */
-typedef void (*bt_hf_speaker_gain_changed_cb) (int gain, void *user_data);
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called when a call status updated event happened from Hands-Free.
- * @since_tizen @if WEARABLE 2.3 @endif
- * @remarks call_info_list has elements which consist of bt_hf_call_status_info_s
- * @remarks The @a call_info_list must be released with bt_hf_free_call_status_info_list() by you.
- *
- * @param[in] event  The call handling event happened from Hands-Free
- * @param[in] call_id  The call ID
- * @param[in] user_data The user data passed from the callback registration function
- * @see bt_hf_call_status_info_s
- * @see bt_hf_set_call_status_updated_event_cb()
- * @see bt_hf_unset_call_status_updated_event_cb()
- */
-typedef void (*bt_hf_call_status_updated_event_cb) (GSList *call_info_list, void *user_data);
-
-/**
 * @ingroup CAPI_NETWORK_BLUETOOTH_DPM_MODULE
 * @brief DPM BT allowance state
 * @since_tizen 3.0
@@ -1020,29 +861,6 @@ typedef void (*bt_adapter_authentication_request_cb)(bool incoming, bt_authentic
                                                 char *pass_key, void *user_data);
 
 /**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Samsung XSAT Vendor dependent command.
- * @since_tizen 2.3.2
- */
-typedef struct {
-       int app_id; /**< The application ID */
-       char *message; /**< Command message */
-} bt_hf_vendor_dep_at_cmd_s;
-
-/**
- * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
- * @brief  Called  when a call event happend from Audio-Gateway device
- * @since_tizen @if WEARABLE 3.0 @endif
- *
- * @param[in] event The call state chagned event from remote Audio-Gateway device
- * @param[in] user_data The user data passed from the callback registration function
- *
- * @see bt_hf_set_remote_call_event_cb()
- * @see bt_hf_unset_remote_call_event_cb()
- */
-typedef void (*bt_hf_remote_call_event_cb) (bt_hf_remote_call_event_e event, char *phone_number, void *user_data);
-
-/**
  * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
  * @brief  Called when a XSAT vendor command is transmitted from Hands-Free.
  * @since_tizen 2.3