/**
- * @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
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
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.
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
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
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
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
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
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
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
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
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
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
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
*/
int bt_adapter_le_is_coded_phy_supported(bool *is_supported);
-/**
- * @}
- */
+
#ifdef __cplusplus
}