Fix the doxygen reference issues for HID module 97/207897/1 submit/tizen_5.0/20190614.041329
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:53 +0000 (09:50 +0900)
Change-Id: Ifa3cafcf3751ca152030f36022be13c858c4c22f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth.h

index 4a6d2bb76bd2758e26ca127be0d1e9b1d88a66e5..fac78dc0d0c24602710720ebb8597b25362b524f 100644 (file)
@@ -42,12 +42,6 @@ extern "C"
  */
 
 
-/**
- * @addtogroup CAPI_NETWORK_BLUETOOTH_MODULE
- * @{
- */
-
-
 /**
  * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE
  * @brief Initializes the Bluetooth API.
@@ -2528,7 +2522,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
@@ -2550,7 +2552,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.
@@ -2565,7 +2566,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
@@ -2589,7 +2589,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
@@ -2613,6 +2612,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
@@ -2641,6 +2645,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
@@ -2665,6 +2670,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
@@ -2694,6 +2700,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
@@ -2718,6 +2725,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
@@ -2741,6 +2749,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
@@ -2764,6 +2773,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
@@ -2781,6 +2791,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
@@ -2795,6 +2806,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
@@ -6032,9 +6044,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
 }