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>
*/
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.
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.
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.
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.