From 62e63c2408511e4966d5340e4d2a120d34a2fe3c Mon Sep 17 00:00:00 2001 From: "h.sandeep" Date: Wed, 16 Nov 2016 12:30:10 +0530 Subject: [PATCH] Fix: Build Errors for Wearable, TV, Mobile, IVI profiles. Fixed the error: unknown type name bt_hf_vendor_dep_at_cmd_s. Change-Id: Ic5011842fac0a966779b05350467194ec4a6fd55 Signed-off-by: h.sandeep --- include/bluetooth_private.h | 13 +++++++++++++ include/mobile/bluetooth_type_internal.h | 11 +++++++++++ include/tv/bluetooth_type_internal.h | 10 ++++++++++ include/wearable/bluetooth_type_internal.h | 10 ++++++++++ 4 files changed, 44 insertions(+) mode change 100755 => 100644 include/mobile/bluetooth_type_internal.h mode change 100755 => 100644 include/tv/bluetooth_type_internal.h mode change 100755 => 100644 include/wearable/bluetooth_type_internal.h 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 @@ -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. diff --git a/include/mobile/bluetooth_type_internal.h b/include/mobile/bluetooth_type_internal.h old mode 100755 new mode 100644 index d964c12..9eae080 --- 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 old mode 100755 new mode 100644 index 6833856..92f17df --- a/include/tv/bluetooth_type_internal.h +++ b/include/tv/bluetooth_type_internal.h @@ -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. diff --git a/include/wearable/bluetooth_type_internal.h b/include/wearable/bluetooth_type_internal.h old mode 100755 new mode 100644 index 402cda0..a6b7565 --- a/include/wearable/bluetooth_type_internal.h +++ b/include/wearable/bluetooth_type_internal.h @@ -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. -- 2.34.1