Fix the doxygen reference issues for HID module 17/207817/2 accepted/tizen/unified/20190617.061732 submit/tizen/20190614.041311
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 13 Jun 2019 04:35:53 +0000 (13:35 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 14 Jun 2019 00:50:17 +0000 (09:50 +0900)
Change-Id: I199d26c71d5eac5f7db75783f5f1f47a2781f5ad
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth.h

index 70d032a..eaefef4 100644 (file)
@@ -43,12 +43,6 @@ extern "C"
 
 
 /**
- * @addtogroup CAPI_NETWORK_BLUETOOTH_MODULE
- * @{
- */
-
-
-/**
  * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE
  * @brief Initializes the Bluetooth API.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
@@ -2534,7 +2528,15 @@ int bt_opp_client_push_files(const char *remote_address,
 int bt_opp_client_cancel_push(void);
 
 /**
- * @ingroup @if WEARABLE CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE CAPI @else_NETWORK_BLUETOOTH_HID_MODULE @endif
+ * @if WEARABLE
+ * @addtogroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE
+ * @else
+ * @addtogroup CAPI_NETWORK_BLUETOOTH_HID_MODULE
+ * @endif
+ * @{
+ */
+
+/**
  * @brief Initializes the Bluetooth HID (Human Interface Device) Host.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
  * @remarks This function must be called before Bluetooth HID Host starts. \n
@@ -2556,7 +2558,6 @@ int bt_opp_client_cancel_push(void);
 int bt_hid_host_initialize(bt_hid_host_connection_state_changed_cb connection_cb, void *user_data);
 
 /**
- * @ingroup @if WEARABLE CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE CAPI @else_NETWORK_BLUETOOTH_HID_MODULE @endif
  * @brief Deinitializes the Bluetooth HID (Human Interface Device) Host.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
  * @return 0 on success, otherwise a negative error value.
@@ -2571,7 +2572,6 @@ int bt_hid_host_initialize(bt_hid_host_connection_state_changed_cb connection_cb
 int bt_hid_host_deinitialize(void);
 
 /**
- * @ingroup @if WEARABLE CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE CAPI @else_NETWORK_BLUETOOTH_HID_MODULE @endif
  * @brief Connects the remote device with the HID (Human Interface Device) service, asynchronously.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
  * @privlevel public
@@ -2595,7 +2595,6 @@ int bt_hid_host_deinitialize(void);
 int bt_hid_host_connect(const char *remote_address);
 
 /**
- * @ingroup @if WEARABLE CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE CAPI @else_NETWORK_BLUETOOTH_HID_MODULE @endif
  * @brief Disconnects the remote device with the HID (Human Interface Device) service, asynchronously.
  * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
  * @privlevel public
@@ -2619,6 +2618,11 @@ int bt_hid_host_connect(const char *remote_address);
 int bt_hid_host_disconnect(const char *remote_address);
 
 /**
+ * @}
+ */
+
+/**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Activates the Bluetooth HID Device role.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2647,6 +2651,7 @@ int bt_hid_host_disconnect(const char *remote_address);
 int bt_hid_device_activate(bt_hid_device_connection_state_changed_cb callback, void *user_data);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Deactivates the Bluetooth HID Device role.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2671,6 +2676,7 @@ int bt_hid_device_activate(bt_hid_device_connection_state_changed_cb callback, v
 int bt_hid_device_deactivate(void);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Initiates the HID device connection with the Device role, asynchronously.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2700,6 +2706,7 @@ int bt_hid_device_deactivate(void);
 int bt_hid_device_connect(const char *remote_address);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Disconnects from the HID Host device, asynchronously.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2724,6 +2731,7 @@ int bt_hid_device_connect(const char *remote_address);
 int bt_hid_device_disconnect(const char *remote_address);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Sends the mouse event data to the remote device.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2747,6 +2755,7 @@ int bt_hid_device_send_mouse_event(const char *remote_address,
                                        const bt_hid_mouse_data_s *mouse_data);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Sends the keyboard event data to the remote device.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2770,6 +2779,7 @@ int bt_hid_device_send_key_event(const char *remote_address,
                                        const bt_hid_key_data_s *key_data);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Sets the callback called when the device receives data from the HID Host.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2787,6 +2797,7 @@ int bt_hid_device_send_key_event(const char *remote_address,
 int bt_hid_device_set_data_received_cb(bt_hid_device_data_received_cb callback, void *user_data);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Unsets the data received callback.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -2801,6 +2812,7 @@ int bt_hid_device_set_data_received_cb(bt_hid_device_data_received_cb callback,
 int bt_hid_device_unset_data_received_cb(void);
 
 /**
+ * @WEARABLE_ONLY
  * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
  * @brief Responds to reports from the HID Host.
  * @since_tizen @if WEARABLE 3.0 @endif
@@ -6058,9 +6070,7 @@ int bt_adapter_le_is_2m_phy_supported(bool *is_supported);
  */
 int bt_adapter_le_is_coded_phy_supported(bool *is_supported);
 
-/**
- * @}
- */
+
 
 #ifdef __cplusplus
 }