Fix: Build Errors for Wearable, TV, Mobile, IVI profiles. 48/98148/1 accepted/tizen/3.0/common/20161118.192909 accepted/tizen/3.0/ivi/20161118.003710 accepted/tizen/3.0/mobile/20161118.003611 accepted/tizen/3.0/tv/20161118.003627 accepted/tizen/3.0/wearable/20161118.003646 submit/tizen_3.0/20161117.002644
authorh.sandeep <h.sandeep@samsung.com>
Wed, 16 Nov 2016 07:00:10 +0000 (12:30 +0530)
committerh.sandeep <h.sandeep@samsung.com>
Wed, 16 Nov 2016 07:09:59 +0000 (12:39 +0530)
Fixed the error: unknown type name bt_hf_vendor_dep_at_cmd_s.

Change-Id: Ic5011842fac0a966779b05350467194ec4a6fd55
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
include/bluetooth_private.h
include/mobile/bluetooth_type_internal.h
include/tv/bluetooth_type_internal.h
include/wearable/bluetooth_type_internal.h

index 5c51fa49cca4cb87c68ee351f6dccb390711571b..3cbeb2076566fafc20ac77aa7e5aaa421d0b2baf 100644 (file)
@@ -769,6 +769,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.
index d964c12156d2b47db6a9a9b444ae7f38d4d68bc9..9eae080b64797e3dda47f1e20786bd0766633f28 100644 (file)
@@ -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.
index 683385625de06add15ea79a2e5cdb17e58bbedaf..92f17dfc812e117e1512be00d75e001b9cb01cfc 100644 (file)
@@ -534,6 +534,16 @@ typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_t
 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.
index 402cda0e88d7150098f157e1e580a61bdb350983..a6b75653ea289745150287c22928ab401da7f6fa 100644 (file)
@@ -546,6 +546,16 @@ typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_t
 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.