summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/bluetooth_private.h13
-rw-r--r--[-rwxr-xr-x]include/mobile/bluetooth_type_internal.h11
-rw-r--r--[-rwxr-xr-x]include/tv/bluetooth_type_internal.h10
-rw-r--r--[-rwxr-xr-x]include/wearable/bluetooth_type_internal.h10
4 files changed, 44 insertions, 0 deletions
diff --git a/include/bluetooth_private.h b/include/bluetooth_private.h
index 5c51fa4..3cbeb20 100644
--- a/include/bluetooth_private.h
+++ b/include/bluetooth_private.h
@@ -770,6 +770,19 @@ typedef void (*bt_hf_remote_device_state_changed_cb) (bt_hf_remote_device_state_
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 vendor command event happened from Hands-Free.
+ * @since_tizen 2.3.2
+ * @remarks The @a meesage of cmd must be released with free() by you.
+ *
+ * @param[in] cmd The information of vendor command
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_hf_set_vendor_dep_cmd_event_cb()
+ * @see bt_hf_unset_vendor_dep_cmd_event_cb()
+ */
+typedef void (*bt_hf_vendor_dep_cmd_event_cb) (bt_hf_vendor_dep_at_cmd_s cmd, void *user_data);
+
+/**
* @internal
* @brief Since the HF call back and event proxy call backs have different prototype it is wrapper function.
*/
diff --git a/include/mobile/bluetooth_type_internal.h b/include/mobile/bluetooth_type_internal.h
index d964c12..9eae080 100755..100644
--- a/include/mobile/bluetooth_type_internal.h
+++ b/include/mobile/bluetooth_type_internal.h
@@ -534,6 +534,17 @@ typedef void (*bt_proximity_property_changed_cb)
typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_type_info_e auth_type,
char *device_name, char *remote_addr,
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_AG_MODULE
* @brief Called when a XSAT vendor command is transmitted from Hands-Free.
diff --git a/include/tv/bluetooth_type_internal.h b/include/tv/bluetooth_type_internal.h
index 6833856..92f17df 100755..100644
--- a/include/tv/bluetooth_type_internal.h
+++ b/include/tv/bluetooth_type_internal.h
@@ -535,6 +535,16 @@ typedef void (*bt_proximity_property_changed_cb)
(int result, const char *remote_address, int role, int service_type, int prop_value, 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_AG_MODULE
* @brief Called when a XSAT vendor command is transmitted from Hands-Free.
* @since_tizen 2.3
diff --git a/include/wearable/bluetooth_type_internal.h b/include/wearable/bluetooth_type_internal.h
index 402cda0..a6b7565 100755..100644
--- a/include/wearable/bluetooth_type_internal.h
+++ b/include/wearable/bluetooth_type_internal.h
@@ -547,6 +547,16 @@ typedef void (*bt_proximity_property_changed_cb)
(int result, const char *remote_address, int role, int service_type, int prop_value, 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_AG_MODULE
* @brief Called when a XSAT vendor command is transmitted from Hands-Free.
* @since_tizen 2.3