From: Wootak Jung Date: Wed, 20 Mar 2024 05:28:19 +0000 (+0900) Subject: Remove conditional statements for Moible/Wearable profile X-Git-Tag: accepted/tizen/unified/20240404.164413^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=789c5842771f6de0af0f61c202813dae79e6ab5f;p=platform%2Fcore%2Fapi%2Fbluetooth.git Remove conditional statements for Moible/Wearable profile Change-Id: I0f74dfa6816b684ed2ec13057a7f969b75032046 Signed-off-by: Wootak Jung --- diff --git a/doc/bluetooth_doc.h b/doc/bluetooth_doc.h index 6fb6e6f..1638a4c 100644 --- a/doc/bluetooth_doc.h +++ b/doc/bluetooth_doc.h @@ -641,7 +641,6 @@ */ /** - * @if MOBILE * @defgroup CAPI_NETWORK_BLUETOOTH_HID_MODULE Bluetooth HID * @brief Bluetooth HID(Human Interface Device) API provides functions for connecting to Bluetooth HID such as keyboards and mouse. * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE @@ -665,11 +664,9 @@ * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n * * More details on featuring your application can be found from Feature Element. - * @endif */ /** - * @if WEARABLE * @defgroup CAPI_NETWORK_BLUETOOTH_HID_MODULE Bluetooth HID * @brief Bluetooth HID(Human Interface Device) API provides functions for connecting to Bluetooth HID such as keyboards and mouse. * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE @@ -693,12 +690,10 @@ * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK * * More details on featuring your application can be found from Feature Element. - * @endif */ /** - * @if WEARABLE * @defgroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE Bluetooth HID Host * @brief Bluetooth HID(Human Interface Device) API provides functions for connecting to Bluetooth HID such as keyboards and mouse. * @ingroup CAPI_NETWORK_BLUETOOTH_HID_MODULE @@ -722,11 +717,9 @@ * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n * * More details on featuring your application can be found from Feature Element. - * @endif */ /** - * @if WEARABLE * @defgroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE Bluetooth HID Device * @brief The Bluetooth HID (Human Interface Device) API provides functions for connecting Bluetooth HID such as keyboards and mice. * @ingroup CAPI_NETWORK_BLUETOOTH_HID_MODULE @@ -750,8 +743,6 @@ * To ensure your application runs only on devices with the required features, please declare the features in your manifest file using the manifest editor in the SDK.\n * * More details on featuring your application can be found from Feature Element. - * @endif - * */ /** @@ -1042,7 +1033,6 @@ */ /** - * @WEARABLE_ONLY * @defgroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE Bluetooth PBAP * @brief Bluetooth PBAP (Phone Book Access Profile) API provides functions for managing connections to a phone book server and retrieving phone book data. * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE @@ -1066,8 +1056,6 @@ * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n * * More details on featuring your application can be found from Feature Element. - * - * */ /** diff --git a/include/bluetooth.h b/include/bluetooth.h index 39d16f1..f958187 100644 --- a/include/bluetooth.h +++ b/include/bluetooth.h @@ -45,7 +45,7 @@ extern "C" /** * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE * @brief Initializes the Bluetooth API. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks This function must be called before Bluetooth API starts. \n * You must free all resources of the Bluetooth service by calling bt_deinitialize() if Bluetooth service is no longer needed. @@ -63,7 +63,7 @@ int bt_initialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE * @brief Releases all resources of the Bluetooth API. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks This function must be called if Bluetooth API is no longer needed. * @@ -100,7 +100,7 @@ int bt_get_uuid_name(const char *uuid, char **name); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the current state of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[out] adapter_state The current adapter state * @@ -119,7 +119,7 @@ int bt_adapter_get_state(bt_adapter_state_e *adapter_state); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the address of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks The @a local_address must be released with free() by you. * @@ -146,7 +146,7 @@ int bt_adapter_get_address(char **local_address); * @details Use this function to get the friendly name associated with Bluetooth \n * device, retrieved by the remote Bluetooth devices. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks The @a local_name must be released with free() by you. * @@ -170,7 +170,7 @@ int bt_adapter_get_name(char **local_name); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Sets the name of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -199,7 +199,7 @@ int bt_adapter_set_name(const char *local_name); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the visibility mode of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[out] mode The visibility mode of the Bluetooth device * @param[out] duration The duration until the visibility mode is changed to #BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE (in seconds). * @a duration is valid only if @a mode is #BT_ADAPTER_VISIBILITY_MODE_LIMITED_DISCOVERABLE. This value can be NULL. @@ -223,7 +223,7 @@ int bt_adapter_get_visibility(bt_adapter_visibility_mode_e *mode, int *duration) * with #BT_ADAPTER_DEVICE_DISCOVERY_FOUND, and then bt_adapter_device_discovery_state_changed_cb() \n * will be called with #BT_ADAPTER_DEVICE_DISCOVERY_FINISHED in case of the completion or cancellation of the discovery. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks To connect to peer Bluetooth device, you need to know its Bluetooth address. \n @@ -252,7 +252,7 @@ int bt_adapter_start_device_discovery(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Stops the device discovery, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks The device discovery process will take 10 ~ 20 seconds to get all the devices in vicinity. @@ -280,7 +280,7 @@ int bt_adapter_stop_device_discovery(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Checks for the device discovery is in progress or not. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks If Bluetooth discovery is in progress, other operations are not allowed and \n * you have to either stop the discovery operation, or wait for it to be finished, \n @@ -306,7 +306,7 @@ int bt_adapter_is_discovering(bool *is_discovering); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Gets the service mask from the UUID list. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] uuids The UUID list of the device. * @param[in] no_of_service The number of the UUID list count. @@ -326,7 +326,7 @@ int bt_device_get_service_mask_from_uuid_list(char **uuids, /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Retrieves the device information of all bonded devices. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to invoke * @param[in] user_data The user data passed from the foreach function @@ -350,7 +350,7 @@ int bt_adapter_foreach_bonded_device(bt_adapter_bonded_device_cb callback, void /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the device information of a bonded device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks The @a device_info must be released with bt_adapter_free_device_info() by you . * * @param[in] remote_address The address of remote device @@ -376,7 +376,7 @@ int bt_adapter_get_bonded_device_info(const char *remote_address, bt_device_info /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Frees device info. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] device_info The bonded device information * @@ -392,7 +392,7 @@ int bt_adapter_free_device_info(bt_device_info_s *device_info); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Checks whether the UUID of service is used or not. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] service_uuid The UUID of service * @param[out] used Indicates whether the service is used or not * @return true on success, otherwise false. @@ -409,7 +409,7 @@ int bt_adapter_is_service_used(const char *service_uuid, bool *used); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Registers a callback function to be invoked when the Bluetooth adapter state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -432,7 +432,7 @@ int bt_adapter_set_state_changed_cb(bt_adapter_state_changed_cb callback, void * /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -449,7 +449,7 @@ int bt_adapter_unset_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Registers a callback function to be invoked when the name of Bluetooth adapter changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -472,7 +472,7 @@ int bt_adapter_set_name_changed_cb(bt_adapter_name_changed_cb callback, void *us /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -489,7 +489,7 @@ int bt_adapter_unset_name_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Registers a callback function to be invoked when the visibility mode changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -512,7 +512,7 @@ int bt_adapter_set_visibility_mode_changed_cb(bt_adapter_visibility_mode_changed /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -533,7 +533,7 @@ int bt_adapter_unset_visibility_mode_changed_cb(void); * @details When you set visibility mode as #BT_ADAPTER_VISIBILITY_MODE_LIMITED_DISCOVERABLE, \n * @a callback will be called every second until visibility mode is changed to #BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * until the visibility mode is changed from #BT_ADAPTER_VISIBILITY_MODE_LIMITED_DISCOVERABLE * to #BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE. * @param[in] callback The callback function to register @@ -555,7 +555,7 @@ int bt_adapter_set_visibility_duration_changed_cb(bt_adapter_visibility_duration /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -570,7 +570,7 @@ int bt_adapter_unset_visibility_duration_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Registers a callback function to be invoked when the device discovery state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -593,7 +593,7 @@ int bt_adapter_set_device_discovery_state_changed_cb(bt_adapter_device_discovery /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -610,7 +610,7 @@ int bt_adapter_unset_device_discovery_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OOB_MODULE * @brief Gets the Hash and Randomizer value, synchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks %http://tizen.org/privilege/bluetooth (public level privilege) is required to use this API since 5.5. @@ -642,7 +642,7 @@ int bt_adapter_get_local_oob_data(unsigned char **hash, unsigned char **randomiz /** * @ingroup CAPI_NETWORK_BLUETOOTH_OOB_MODULE * @brief Sets the Hash and Randomizer value, synchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -745,7 +745,7 @@ int bt_adapter_set_remote_oob_ext_data(const char *remote_address, /** * @ingroup CAPI_NETWORK_BLUETOOTH_OOB_MODULE * @brief Deletes the Hash and Randomizer value, synchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1081,7 +1081,7 @@ int bt_adapter_le_free_ibeacon_report(bt_adapter_le_ibeacon_scan_result_info_s * /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Creates advertiser to advertise device's existence or respond to LE scanning request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[out] advertiser The handle of advertiser * @@ -1101,7 +1101,7 @@ int bt_adapter_le_create_advertiser(bt_advertiser_h *advertiser); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Destroys advertiser. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[out] advertiser The handle of advertiser * @@ -1461,7 +1461,7 @@ int bt_adapter_le_set_advertising_flags(bt_advertiser_h advertiser, unsigned cha /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Clears all data to be advertised or responded to scan request from LE scanning device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] advertiser The handle of advertiser * @param[in] pkt_type The packet type to be cleared @@ -1479,7 +1479,7 @@ int bt_adapter_le_clear_advertising_data(bt_advertiser_h advertiser, bt_adapter_ /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Stops the advertising. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1609,7 +1609,7 @@ int bt_adapter_le_set_scan_mode(bt_adapter_le_scan_mode_e scan_mode); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Creates a bond with a remote Bluetooth device, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1644,7 +1644,7 @@ int bt_device_create_bond(const char *remote_address); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Cancels the bonding process. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1671,7 +1671,7 @@ int bt_device_cancel_bonding(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Destroys the bond, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1702,7 +1702,7 @@ int bt_device_destroy_bond(const char *remote_address); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Sets an alias for the bonded device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1729,7 +1729,7 @@ int bt_device_set_alias(const char *remote_address, const char *alias); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Sets the authorization of a bonded device, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1762,7 +1762,7 @@ int bt_device_set_authorization(const char *remote_address, bt_device_authorizat /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Starts the search for services supported by the specified device, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -1799,7 +1799,7 @@ int bt_device_start_service_search(const char *remote_address); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Gets the connected profiles. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] remote_address The address of the remote device * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -1819,7 +1819,7 @@ int bt_device_foreach_connected_profiles(const char *remote_address, bt_device_c /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Gets the profile connected status. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] remote_address The address of the remote device * @param[in] bt_profile wish to know bt_profile * @param[out] connected_status the connected status @@ -1861,7 +1861,7 @@ int bt_device_update_le_connection_mode(const char *remote_address, bt_device_le /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Registers a callback function to be invoked when the bond creates. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1881,7 +1881,7 @@ int bt_device_set_bond_created_cb(bt_device_bond_created_cb callback, void *user /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -1896,7 +1896,7 @@ int bt_device_unset_bond_created_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Registers a callback function to be invoked when the bond destroys. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1916,7 +1916,7 @@ int bt_device_set_bond_destroyed_cb(bt_device_bond_destroyed_cb callback, void * /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -1931,7 +1931,7 @@ int bt_device_unset_bond_destroyed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Registers a callback function to be invoked when the authorization of device changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -1953,7 +1953,7 @@ int bt_device_set_authorization_changed_cb(bt_device_authorization_changed_cb ca /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -1968,7 +1968,7 @@ int bt_device_unset_authorization_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Registers a callback function to be invoked when the process of service search finishes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1988,7 +1988,7 @@ int bt_device_set_service_searched_cb(bt_device_service_searched_cb callback, vo /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2003,7 +2003,7 @@ int bt_device_unset_service_searched_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Registers a callback function to be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2023,7 +2023,7 @@ int bt_device_set_connection_state_changed_cb(bt_device_connection_state_changed /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Unregisters the callback function to be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2038,7 +2038,7 @@ int bt_device_unset_connection_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Registers a RFCOMM server socket with a specific UUID. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2066,7 +2066,7 @@ int bt_socket_create_rfcomm(const char *service_uuid, int *socket_fd); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Removes the RFCOMM server socket which was created using bt_socket_create_rfcomm(). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks If callback function bt_socket_connection_state_changed_cb() is set and the remote Bluetooth device is connected, \n @@ -2098,7 +2098,7 @@ int bt_socket_destroy_rfcomm(int socket_fd); * @details Pop-up is shown automatically when a RFCOMM connection is requested. \n * bt_socket_connection_state_changed_cb() will be called with \n * #BT_SOCKET_CONNECTED if you click "yes" and connection is finished successfully. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] socket_fd The file descriptor of socket on which start to listen @@ -2125,7 +2125,7 @@ int bt_socket_listen_and_accept_rfcomm(int socket_fd, int max_pending_connection /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Connects to a specific RFCOMM based service on a remote Bluetooth device UUID, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2161,7 +2161,7 @@ int bt_socket_connect_rfcomm(const char *remote_address, const char *service_uui /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Disconnects the RFCOMM connection with the given file descriptor of connected socket. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] socket_fd The file descriptor of socket to close which was received using bt_socket_connection_state_changed_cb(). @@ -2184,7 +2184,7 @@ int bt_socket_disconnect_rfcomm(int socket_fd); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Sends data to the connected device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. @@ -2212,7 +2212,7 @@ int bt_socket_send_data(int socket_fd, const char *data, int length); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Registers a callback function that will be invoked when you receive data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2232,7 +2232,7 @@ int bt_socket_set_data_received_cb(bt_socket_data_received_cb callback, void *us /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2248,7 +2248,7 @@ int bt_socket_unset_data_received_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Registers a callback function that will be invoked when a RFCOMM connection is requested. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2267,7 +2267,7 @@ int bt_socket_set_connection_requested_cb(bt_socket_connection_requested_cb call /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2283,7 +2283,7 @@ int bt_socket_unset_connection_requested_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Registers a callback function that will be invoked when the connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2303,7 +2303,7 @@ int bt_socket_set_connection_state_changed_cb(bt_socket_connection_state_changed /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2322,7 +2322,7 @@ int bt_socket_unset_connection_state_changed_cb(void); * @details No popup appears when an OPP connection is requested from a remote device. \n * Instead, @a connection_requested_cb() will be called. \n * At that time, you can call either bt_opp_server_accept() or bt_opp_server_reject(). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks This function must be called to start Bluetooth OPP server. \n * You must free all resources of the Bluetooth service by calling bt_opp_server_deinitialize() if Bluetooth OPP service is no longer needed. * @param[in] destination The destination path @@ -2347,7 +2347,7 @@ int bt_opp_server_initialize_by_connection_request(const char *destination, bt_o /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Deinitializes the Bluetooth OPP server. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2362,7 +2362,7 @@ int bt_opp_server_deinitialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Accepts the push request from the remote device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks If you initialize OPP server by bt_opp_server_initialize_by_connection_request(), then name is ignored. @@ -2391,7 +2391,7 @@ int bt_opp_server_accept(bt_opp_server_transfer_progress_cb progress_cb, /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Rejects the push request from the remote device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @return 0 on success, otherwise a negative error value. @@ -2409,7 +2409,7 @@ int bt_opp_server_reject(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Cancels the transfer. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] transfer_id The ID of transfer @@ -2429,7 +2429,7 @@ int bt_opp_server_cancel_transfer(int transfer_id); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Sets the destination path of file to be pushed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] destination The destination path of file to be pushed @@ -2447,7 +2447,7 @@ int bt_opp_server_set_destination(const char *destination); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Initializes the Bluetooth OPP client. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks This function must be called before Bluetooth OPP client starts. \n * You must free all resources of the Bluetooth service by calling bt_opp_client_deinitialize() \n * if Bluetooth OPP service is no longer needed. @@ -2465,7 +2465,7 @@ int bt_opp_client_initialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Deinitializes the Bluetooth OPP client. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2479,7 +2479,7 @@ int bt_opp_client_deinitialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Adds file to be pushed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] file The path of file to be pushed * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2497,7 +2497,7 @@ int bt_opp_client_add_file(const char *file); /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Adds file to be pushed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2519,7 +2519,7 @@ int bt_opp_client_clear_files(void); * If you send several files, then bt_opp_client_push_progress_cb() with another file will be called repeatedly until the file is transferred completely. \n * bt_opp_client_push_finished_cb() will be called when the push request is finished. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2549,7 +2549,7 @@ int bt_opp_client_push_files(const char *remote_address, /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Cancels the push request in progress, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @return 0 on success, otherwise a negative error value. @@ -2569,17 +2569,9 @@ int bt_opp_client_push_files(const char *remote_address, int bt_opp_client_cancel_push(void); /** - * @if WEARABLE - * @addtogroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE - * @else - * @addtogroup CAPI_NETWORK_BLUETOOTH_HID_MODULE - * @endif - * @{ - */ - -/** + * @ingroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE * @brief Initializes the Bluetooth HID (Human Interface Device) Host. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks This function must be called before Bluetooth HID Host starts. \n * You must free all resources of the Bluetooth service by calling bt_hid_host_deinitialize() \n * if Bluetooth HID Host service is no longer needed. @@ -2599,8 +2591,9 @@ 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 CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE * @brief Deinitializes the Bluetooth HID (Human Interface Device) Host. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2613,8 +2606,9 @@ int bt_hid_host_initialize(bt_hid_host_connection_state_changed_cb connection_cb int bt_hid_host_deinitialize(void); /** + * @ingroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE * @brief Connects the remote device with the HID (Human Interface Device) service, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2636,8 +2630,9 @@ int bt_hid_host_deinitialize(void); int bt_hid_host_connect(const char *remote_address); /** + * @ingroup CAPI_NETWORK_BLUETOOTH_HID_HOST_MODULE * @brief Disconnects the remote device with the HID (Human Interface Device) service, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2663,10 +2658,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2692,10 +2686,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2717,10 +2710,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2747,10 +2739,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2772,10 +2763,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2798,10 +2788,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2824,10 +2813,9 @@ 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 + * @since_tizen 3.0 * * @param[in] callback The callback function to be set when data is received. * @param[in] user_data The user data to be passed to the callback. @@ -2842,10 +2830,9 @@ 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 + * @since_tizen 3.0 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2857,10 +2844,9 @@ 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 + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -2890,7 +2876,7 @@ int bt_hid_device_reply_to_report(const char *remote_address, /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Initializes the Bluetooth profiles related with audio. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks This function must be called before Bluetooth profiles related with audio starts. \n * You must free all resources of the this service by calling bt_audio_deinitialize() \n * if Bluetooth profiles related with audio service is no longer needed. @@ -2909,7 +2895,7 @@ int bt_audio_initialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Deinitializes the Bluetooth profiles related with audio. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -2927,7 +2913,7 @@ int bt_audio_deinitialize(void); * @details If you input type as #BT_AUDIO_PROFILE_TYPE_ALL and connection request succeeds, then bt_audio_connection_state_changed_cb() will be called twice \n * when #BT_AUDIO_PROFILE_TYPE_HSP_HFP is connected and #BT_AUDIO_PROFILE_TYPE_A2DP is connected. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2954,7 +2940,7 @@ int bt_audio_connect(const char *remote_address, bt_audio_profile_type_e type); * @brief Disconnects the remote device with the given audio profile, asynchronously. * @details If you input type as #BT_AUDIO_PROFILE_TYPE_ALL and disconnection request succeeds, then bt_audio_connection_state_changed_cb() will be called twice \n * when #BT_AUDIO_PROFILE_TYPE_HSP_HFP is disconnected and #BT_AUDIO_PROFILE_TYPE_A2DP is disconnected. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2978,7 +2964,7 @@ int bt_audio_disconnect(const char *remote_address, bt_audio_profile_type_e type /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Registers a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2996,7 +2982,7 @@ int bt_audio_set_connection_state_changed_cb(bt_audio_connection_state_changed_c /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Unregisters a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3012,7 +2998,7 @@ int bt_audio_unset_connection_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Initializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) target service. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @remarks This function must be called before any other AVRCP target functions are called. \n * You must free all resources of the this service by calling bt_avrcp_target_deinitialize() \n * if Bluetooth AVRCP service is no longer needed. @@ -3034,7 +3020,7 @@ int bt_avrcp_target_initialize(bt_avrcp_target_connection_state_changed_cb callb /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Deinitializes the Bluetooth AVRCP (Audio/Video Remote Control Profile) target service. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3048,7 +3034,7 @@ int bt_avrcp_target_deinitialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the equalizer state to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] state The state of equalizer @@ -3071,7 +3057,7 @@ int bt_avrcp_target_notify_equalizer_state(bt_avrcp_equalizer_state_e state); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the repeat mode to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] mode The repeat mode @@ -3094,7 +3080,7 @@ int bt_avrcp_target_notify_repeat_mode(bt_avrcp_repeat_mode_e mode); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the shuffle mode to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] mode The repeat mode @@ -3117,7 +3103,7 @@ int bt_avrcp_target_notify_shuffle_mode(bt_avrcp_shuffle_mode_e mode); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the scan mode to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] mode The scan mode @@ -3140,7 +3126,7 @@ int bt_avrcp_target_notify_scan_mode(bt_avrcp_scan_mode_e mode); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the player state to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] state The player state @@ -3163,7 +3149,7 @@ int bt_avrcp_target_notify_player_state(bt_avrcp_player_state_e state); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the current position of song to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] position The current position in milliseconds @@ -3186,7 +3172,7 @@ int bt_avrcp_target_notify_position(unsigned int position); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_TARGET_MODULE * @brief Notifies the track to the remote device. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] title The title of track @@ -3215,7 +3201,7 @@ int bt_avrcp_target_notify_track(const char *title, const char *artist, const ch /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Registers a callback function that will be invoked when the equalizer state is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -3234,7 +3220,7 @@ int bt_avrcp_set_equalizer_state_changed_cb(bt_avrcp_equalizer_state_changed_cb /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Unregisters a callback function that will be invoked when the equalizer state is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3250,7 +3236,7 @@ int bt_avrcp_unset_equalizer_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Registers a callback function that will be invoked when the repeat mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -3269,7 +3255,7 @@ int bt_avrcp_set_repeat_mode_changed_cb(bt_avrcp_repeat_mode_changed_cb callback /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Unregisters a callback function that will be invoked when the repeat mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3285,7 +3271,7 @@ int bt_avrcp_unset_repeat_mode_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Registers a callback function that will be invoked when the shuffle mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -3304,7 +3290,7 @@ int bt_avrcp_set_shuffle_mode_changed_cb(bt_avrcp_shuffle_mode_changed_cb callba /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Unregisters a callback function that will be invoked when the shuffle mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3320,7 +3306,7 @@ int bt_avrcp_unset_shuffle_mode_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Registers a callback function that will be invoked when the scan mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -3339,7 +3325,7 @@ int bt_avrcp_set_scan_mode_changed_cb(bt_avrcp_scan_mode_changed_cb callback, vo /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Unregisters a callback function that will be invoked when the scan mode is changed. (e.g., by a TV remote control or other input devices). - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_SUPPORTED Not supported @@ -3803,7 +3789,7 @@ int bt_avrcp_control_free_track_info(bt_avrcp_metadata_attributes_info_s *track) * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Registers an application that acts as the Sink role of HDP (Health Device Profile). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks The @a app_id must be released with free() by you. \n @@ -3829,7 +3815,7 @@ int bt_hdp_register_sink_app(unsigned short data_type, char **app_id) TIZEN_DEPR * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Unregisters the given application that acts as the Sink role of HDP (Health Device Profile). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks Deprecated, because of no usecase and supported devices. @@ -3851,7 +3837,7 @@ int bt_hdp_unregister_sink_app(const char *app_id) TIZEN_DEPRECATED_API; * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Connects the remote device which acts as Source role, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks Deprecated, because of no usecase and supported devices. @@ -3880,7 +3866,7 @@ int bt_hdp_connect_to_source(const char *remote_address, const char *app_id) TIZ * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Disconnects the remote device, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks Deprecated, because of no usecase and supported devices. @@ -3908,7 +3894,7 @@ int bt_hdp_disconnect(const char *remote_address, unsigned int channel) TIZEN_DE * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Sends the data to the remote device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @remarks Deprecated, because of no usecase and supported devices. @@ -3935,7 +3921,7 @@ int bt_hdp_send_data(unsigned int channel, const char *data, unsigned int size) * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Registers a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * @param[in] connected_cb The callback function called when a connection is established * @param[in] disconnected_cb The callback function called when a connection is disconnected @@ -3955,7 +3941,7 @@ int bt_hdp_set_connection_state_changed_cb(bt_hdp_connected_cb connected_cb, bt_ * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Unregisters a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -3971,7 +3957,7 @@ int bt_hdp_unset_connection_state_changed_cb(void) TIZEN_DEPRECATED_API; * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Registers a callback function that will be invoked when you receive the data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -3990,7 +3976,7 @@ int bt_hdp_set_data_received_cb(bt_hdp_data_received_cb callback, void *user_dat * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Unregisters a callback function that will be invoked when you receive the data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -4683,7 +4669,7 @@ int bt_gatt_client_unset_service_changed_cb(bt_gatt_client_h client); /** * @ingroup CAPI_NETWORK_BLUETOOTH_GATT_CLIENT_MODULE * @brief Connects to a specific LE based service on a remote bluetooth device address, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -4716,7 +4702,7 @@ int bt_gatt_connect(const char *address, bool auto_connect); /** * @ingroup CAPI_NETWORK_BLUETOOTH_GATT_CLIENT_MODULE * @brief Disconnects to LE connection with the given remote Bluetooth device address, asynchronously or cancels a LE connection attempt currently in progress. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @@ -4744,7 +4730,7 @@ int bt_gatt_disconnect(const char *address); /** * @ingroup CAPI_NETWORK_BLUETOOTH_GATT_MODULE * @brief Registers a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to register. * @param[in] user_data The user data to be passed to the callback function. @@ -4764,7 +4750,7 @@ int bt_gatt_set_connection_state_changed_cb(bt_gatt_connection_state_changed_cb /** * @ingroup CAPI_NETWORK_BLUETOOTH_GATT_MODULE * @brief Unregisters a callback function that will be invoked when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -5319,7 +5305,6 @@ int bt_gatt_server_foreach_services(bt_gatt_server_h server, int bt_gatt_server_get_device_mtu(const char *remote_address, unsigned int *mtu); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Initializes the Bluetooth PBAP Client. * @details This initialization is necessary to call other PBAP client APIs. @@ -5348,7 +5333,6 @@ int bt_gatt_server_get_device_mtu(const char *remote_address, unsigned int *mtu) int bt_pbap_client_initialize(void); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Deinitializes the Bluetooth PBAP Client. * @details This deinitialization must be done to free resources when the PBAP client is not longer needed. @@ -5375,7 +5359,6 @@ int bt_pbap_client_initialize(void); int bt_pbap_client_deinitialize(void); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Registers a callback function that will be invoked when the connection state is changed. * @since_tizen 3.0 @@ -5393,7 +5376,6 @@ int bt_pbap_client_deinitialize(void); int bt_pbap_client_set_connection_state_changed_cb(bt_pbap_connection_state_changed_cb callback, void *user_data); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Unregisters a callback function that will be invoked when the connection state is changed. * @since_tizen 3.0 @@ -5408,7 +5390,6 @@ int bt_pbap_client_set_connection_state_changed_cb(bt_pbap_connection_state_chan int bt_pbap_client_unset_connection_state_changed_cb(void); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Connects to PBAP server, asynchronously. * @since_tizen 3.0 @@ -5437,7 +5418,6 @@ int bt_pbap_client_unset_connection_state_changed_cb(void); int bt_pbap_client_connect(const char *address); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Disconnects from PBAP server, asynchronously. * @since_tizen 3.0 @@ -5466,7 +5446,6 @@ int bt_pbap_client_connect(const char *address); int bt_pbap_client_disconnect(const char *address); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Gets size of phone book from PBAP server, asynchronously. * @since_tizen 3.0 @@ -5501,7 +5480,6 @@ int bt_pbap_client_get_phone_book_size(const char *address, void *user_data); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Gets all contacts and call logs as vCard from PBAP server, asynchronously. * @details The received phone book file will be saved in the platform downloads folder. @@ -5548,7 +5526,6 @@ int bt_pbap_client_get_phone_book(const char *address, void *user_data); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Gets contact and call log information from the PBAP server, asynchronously. * @since_tizen 3.0 @@ -5589,7 +5566,6 @@ int bt_pbap_client_get_list(const char *address, void *user_data); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Gets the selected contact using the index parameter as vCard from PBAP server, asynchronously. * @details The received phone book file will be saved in the platform downloads folder. @@ -5636,7 +5612,6 @@ int bt_pbap_client_pull_vcard(const char *address, void *user_data); /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Finds and fetches the contact and call log information from the PBAP server, asynchronously. * @since_tizen 3.0 diff --git a/include/bluetooth_extension.h b/include/bluetooth_extension.h index 319ff40..b7dfc5f 100644 --- a/include/bluetooth_extension.h +++ b/include/bluetooth_extension.h @@ -282,7 +282,7 @@ int bt_ag_unset_microphone_gain_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Registers a callback function that will be invoked when the SCO(Synchronous Connection Oriented link) state is changed. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -300,7 +300,7 @@ int bt_hf_set_sco_state_changed_cb(bt_hf_sco_state_changed_cb callback, void *us /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Unregisters a callback function that will be invoked when the SCO(Synchronous Connection Oriented link) state is changed. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -315,7 +315,7 @@ int bt_hf_unset_sco_state_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Registers a callback function that will be invoked when a call handling event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -333,7 +333,7 @@ int bt_hf_set_call_handling_event_cb(bt_hf_call_handling_event_cb callback, void /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Unregisters a callback function that will be invoked when a call handling event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -381,7 +381,7 @@ int bt_hf_unset_remote_call_event_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Registers a callback function that will be invoked when a multi call handling event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -399,7 +399,7 @@ int bt_hf_set_multi_call_handling_event_cb(bt_hf_multi_call_handling_event_cb ca /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Unregisters a callback function that will be invoked when a multi call handling event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -414,7 +414,7 @@ int bt_hf_unset_multi_call_handling_event_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Initializes the Bluetooth HF profile related with audio. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function must be called before Bluetooth profiles related with audio starts. * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -429,7 +429,7 @@ int bt_hf_initialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Deinitializes the Bluetooth HF profile related with audio. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -443,7 +443,7 @@ int bt_hf_deinitialize(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Notifies the call event to the remote bluetooth device. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege http://tizen.org/privilege/bluetooth.admin * @remarks Before notifying #BT_HF_CALL_EVENT_ANSWERED or #BT_HF_CALL_EVENT_DIALING, you should open SCO(Synchronous Connection Oriented link) @@ -468,7 +468,7 @@ int bt_hf_notify_call_event(bt_hf_call_event_e event, char *phone_number); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Notifies the speaker gain to the remote device. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege http://tizen.org/privilege/bluetooth.admin * @details This function sends a signal to the remote device. This signal has the gain value. @@ -494,7 +494,7 @@ int bt_hf_notify_speaker_gain(int gain); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Registers a callback function that will be invoked when the speaker gain of the remote device is changed. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @details This function let you know the change of the speaker gain of the remote device. * @a gain is represented on a scale from 0 to 15. This value is absolute value relating to a particular volume level. * @param[in] callback The callback function to register @@ -513,7 +513,7 @@ int bt_hf_set_speaker_gain_changed_cb(bt_hf_speaker_gain_changed_cb callback, vo /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Unregisters a callback function that will be invoked when the speaker gain of the remote device is changed. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -528,7 +528,7 @@ int bt_hf_unset_speaker_gain_changed_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Notifies the state of voice recognition. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege http://tizen.org/privilege/bluetooth.admin * @param[in] state The state of voice recognition: (@c true = enabled, @c false = disabled) @@ -549,7 +549,7 @@ int bt_hf_notify_voice_recognition_state(bool state); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Registers a callback function that will be invoked when a call status event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -566,7 +566,7 @@ int bt_hf_set_call_status_updated_event_cb(bt_hf_call_status_updated_event_cb ca /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Unregisters a callback function that will be invoked when a call status event happened from Hands-Free. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -580,7 +580,7 @@ int bt_hf_unset_call_status_updated_event_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Closes an opened SCO(Synchronous Connection Oriented link), synchronously. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege http://tizen.org/privilege/bluetooth.admin * @return 0 on success, otherwise a negative error value. @@ -595,7 +595,7 @@ int bt_hf_close_sco(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Sends the DTMF(Dual Tone Multi Frequency). - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege http://tizen.org/privilege/bluetooth.admin * @param[in] dtmf The DTMF to send @@ -613,7 +613,7 @@ int bt_hf_send_dtmf(char *dtmf); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Gets the HF(Hands-Free) profile connected status for HF role. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[out] connected the connected status: (@c true = connected , @c false = not connected ) * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -629,7 +629,7 @@ int bt_hf_is_connected(bool *connected); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Checks whether an opened SCO(Synchronous Connection Oriented link) exists or not. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[out] opened The SCO status: (@c true = opened, @c false = not opened) * @return 0 on success, otherwise a negative error value. @@ -648,7 +648,7 @@ int bt_hf_is_sco_opened(bool *opened); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Gets the codec ID. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a codec_id must be released with free() by you. * * @param[out] codec_id The codec ID @@ -668,7 +668,7 @@ int bt_hf_get_codec_id(unsigned int *codec_id); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Gets the call status information list. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a call_list must be released with bt_hf_free_call_status_info_list() by you. * @remarks call_info_list has elements which consist of bt_hf_call_status_info_s * @@ -690,7 +690,7 @@ int bt_hf_get_call_status_info_list(GSList **call_list); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Frees the call status information list. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] call_list The call status information list * @return 0 on success, otherwise a negative error value. @@ -731,7 +731,7 @@ int bt_hf_request_call_status_info_list(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE * @brief Checks whether the remote AG device supports inband ringtone or not. - * @since_tizen @if MOBILE @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[out] supported Inband support: (@c true = supported, @c false = not supported) * @return 0 on success, otherwise a negative error value. diff --git a/include/bluetooth_internal.h b/include/bluetooth_internal.h index fe15bf0..42c720a 100644 --- a/include/bluetooth_internal.h +++ b/include/bluetooth_internal.h @@ -39,7 +39,7 @@ extern "C" * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Enables the local Bluetooth adapter, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -96,7 +96,7 @@ int bt_adapter_read_battery_info(bt_battery_info_s *data); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Disables the local Bluetooth adapter, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -157,7 +157,7 @@ int bt_adapter_deinit_battery_monitor(); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Recover the local Bluetooth adapter, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -328,7 +328,7 @@ int bt_audio_unset_avc_status_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Reset the local Bluetooth adapter, synchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -357,7 +357,7 @@ int bt_adapter_reset(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the version of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks The @a local_version must be released with free() by you. * * @param[out] local_version The version of local Bluetooth adapter @@ -379,7 +379,7 @@ int bt_adapter_get_version(char **local_version); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the information regarding local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks The @a all parameters must be released with free() by you. * * @param[out] chipset Chipset name of local Bluetooth adapter @@ -404,7 +404,7 @@ int bt_adapter_get_local_info(char **chipset, char **firmware, char **stack_vers * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Sets the visibility mode. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -530,7 +530,7 @@ int bt_adapter_passkey_confirmation_reply(bool confirmation_reply); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Registers a callback function to be invoked when the connectable state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -554,7 +554,7 @@ int bt_adapter_set_connectable_changed_cb(bt_adapter_connectable_changed_cb call * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -572,7 +572,7 @@ int bt_adapter_unset_connectable_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Gets the connectable state of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks When connectable state is false, no device can connect to this device and visibility mode cannot be changed. * @@ -596,7 +596,7 @@ int bt_adapter_get_connectable(bool *connectable); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Sets the connectable state of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -759,7 +759,7 @@ int bt_adapter_unset_manufacturer_data_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Enables the local Bluetooth le adapter, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -789,7 +789,7 @@ int bt_adapter_le_enable(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Disables the local Bluetooth le adapter, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -820,7 +820,7 @@ int bt_adapter_le_disable(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Gets the current state of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[out] adapter_le_state The current adapter le state * @@ -840,7 +840,7 @@ int bt_adapter_le_get_state(bt_adapter_le_state_e *adapter_le_state); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Registers a callback function to be invoked when the Bluetooth adapter le state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] callback The callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -864,7 +864,7 @@ int bt_adapter_le_set_state_changed_cb(bt_adapter_le_state_changed_cb callback, * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Unregisters the callback function. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -943,7 +943,7 @@ int bt_adapter_le_scan_filter_set_rssi_high_threshold(bt_scan_filter_h scan_filt * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief add address to whitelist for accepting scanning request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -975,7 +975,7 @@ int bt_adapter_le_add_white_list(const char *address, bt_device_address_type_e a * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief remove address from the whitelist for not accepting scanning request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -1007,7 +1007,7 @@ int bt_adapter_le_remove_white_list(const char *address, bt_device_address_type_ * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Sets the Privacy feature state of local Bluetooth adapter. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -1253,7 +1253,7 @@ int bt_device_disconnect(const char *remote_address); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Gets a connection state - * @since_tizen @if WEARABLE @else 2.4 @endif + * @since_tizen 2.4 * * @param[in] remote_address The address of the remote Bluetooth device * @param[in] link_type The link type to get a connection state @@ -1272,7 +1272,7 @@ int bt_device_get_connection_state(const char *remote_address, bt_device_connect * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Creates a bond with a remote Bluetooth device, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -1311,7 +1311,7 @@ int bt_device_create_bond_by_type(const char *remote_address, * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Cancels service search process. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -1338,7 +1338,7 @@ int bt_device_cancel_service_search(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Gets a connection state - * @since_tizen @if WEARABLE 2.4 @endif + * @since_tizen 2.4 * * @param[in] remote_address The address of the remote Bluetooth device * @param[in] link_type The link type to get a connection state @@ -1664,7 +1664,7 @@ int bt_socket_listen_and_accept_rfcomm_ex(const char *uuid, int max_pending_conn * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Starts listening on passed rfcomm socket. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @details bt_socket_connection_requested_cb() will be called when a RFCOMM connection is requested. @@ -1695,7 +1695,7 @@ int bt_socket_listen(int socket_fd, int max_pending_connections); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Accepts a connection request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @param[in] requested_socket_fd The file descriptor of socket on which a connection is requested @@ -1720,7 +1720,7 @@ int bt_socket_accept(int requested_socket_fd); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Rejects a connection request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @param[in] socket_fd The file descriptor of socket on which a connection is requested @@ -1745,7 +1745,7 @@ int bt_socket_reject(int socket_fd); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Initializes the Bluetooth OPP server requested by bt_opp_server_push_requested_cb(). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @details The popup appears when an OPP connection is requested from a remote device. * If you accept the request, then connection will be established and bt_opp_server_push_requested_cb() will be called. * At that time, you can call either bt_opp_server_accept() or bt_opp_server_reject(). @@ -1790,7 +1790,7 @@ int bt_opp_get_transfer_progress(bt_opp_transfer_type_t transfer_type, * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Notifies the call event to the remote bluetooth device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @remarks Before notifying #BT_AG_CALL_EVENT_ANSWERED or #BT_AG_CALL_EVENT_DIALING, you should open SCO(Synchronous Connection Oriented link) @@ -1817,7 +1817,7 @@ int bt_ag_notify_call_event(bt_ag_call_event_e event, unsigned int call_id, cons * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Notifies the call list to the remote bluetooth device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @param[in] list The call list @@ -1840,7 +1840,7 @@ int bt_ag_notify_call_list(bt_call_list_h list); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Notifies the state of voice recognition. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @param[in] state The state of voice recognition: (@c true = enabled, @c false = disabled) @@ -1863,7 +1863,7 @@ int bt_ag_notify_voice_recognition_state(bool state); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Registers a callback function that will be invoked when a call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1883,7 +1883,7 @@ int bt_ag_set_call_handling_event_cb(bt_ag_call_handling_event_cb callback, void * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Unregisters a callback function that will be invoked when a call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -1900,7 +1900,7 @@ int bt_ag_unset_call_handling_event_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Registers a callback function that will be invoked when a multi call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1920,7 +1920,7 @@ int bt_ag_set_multi_call_handling_event_cb(bt_ag_multi_call_handling_event_cb ca * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Unregisters a callback function that will be invoked when a multi call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -1937,7 +1937,7 @@ int bt_ag_unset_multi_call_handling_event_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Registers a callback function that will be invoked when a DTMF(Dual Tone Multi Frequency) is transmitted from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -1957,7 +1957,7 @@ int bt_ag_set_dtmf_transmitted_cb(bt_ag_dtmf_transmitted_cb callback, void *user * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Unregisters a callback function that will be invoked when a DTMF(Dual Tone Multi Frequency) is transmitted from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -1974,7 +1974,7 @@ int bt_ag_unset_dtmf_transmitted_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Checks whether the remoted device enables NREC(Noise Reduction and Echo Canceling) or not. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[out] enabled The NREC status: (@c true = enabled, @c false = not enabled) * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -1993,7 +1993,7 @@ int bt_ag_is_nrec_enabled(bool *enabled); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_CALL_MODULE * @brief Creates a handle of call list. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[out] list The handle of call list * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2009,7 +2009,7 @@ int bt_call_list_create(bt_call_list_h *list); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_CALL_MODULE * @brief Destroys the handle of call list. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] list The handle of call list * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2024,7 +2024,7 @@ int bt_call_list_destroy(bt_call_list_h list); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_CALL_MODULE * @brief Resets the handle of call list. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] list The handle of call list * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2039,7 +2039,7 @@ int bt_call_list_reset(bt_call_list_h list); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_CALL_MODULE * @brief Adds a call to the handle of call list. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] list The handle of call list * @param[in] call_id The call ID * @param[in] state The state of audio gate call @@ -2057,7 +2057,7 @@ int bt_call_list_add(bt_call_list_h list, unsigned int call_id, bt_ag_call_state /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Registers a callback function that will be invoked when a XSATvendor AT command is transmitted from Hands-Free. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2075,7 +2075,7 @@ int bt_ag_set_vendor_cmd_cb(bt_ag_vendor_cmd_cb callback, void *user_data); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Unregisters a callback function that will be invoked when a XSATvendor AT command is transmitted from Hands-Free - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -2090,7 +2090,7 @@ int bt_ag_unset_vendor_cmd_cb(void); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Checks whether the remoted device is wbs (Wide Band Speech) mode or not. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[out] wbs_mode The wbs status: (@c true = wide band speech, @c false = narrow band speech) * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful @@ -2140,7 +2140,7 @@ int bt_ag_switch_headset(const char *remote_addr); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_A2DP_MODULE * @brief Sets copy protection. streaming application that needs to have the copy protection for the streaming data, shall invoke this API. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @param[in] status - TRUE/FALSE @@ -2578,7 +2578,7 @@ int bt_gatt_server_unset_connection_state_changed_cb(bt_gatt_server_h server); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Registers a callback function that will be invoked when the A2DP Source connection state is changed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2596,7 +2596,7 @@ int bt_a2dp_source_audio_set_connection_state_changed_cb(bt_audio_connection_sta /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Unregisters a callback function that will be invoked when the A2DP Source connection state is changed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -2613,7 +2613,7 @@ int bt_a2dp_source_audio_unset_connection_state_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Activates the NAP(Network Access Point). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @return 0 on success, otherwise a negative error value. @@ -2634,7 +2634,7 @@ int bt_nap_activate(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Deactivates the NAP(Network Access Point). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @return 0 on success, otherwise a negative error value. @@ -2655,7 +2655,7 @@ int bt_nap_deactivate(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Disconnects the all PANUs(Personal Area Networking User) which are connected to you. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @return 0 on success, otherwise a negative error value. @@ -2675,7 +2675,7 @@ int bt_nap_disconnect_all(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Disconnects the specified PANU(Personal Area Networking User) which is connected to you. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2696,7 +2696,7 @@ int bt_nap_disconnect(const char *remote_address); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Registers a callback function that will be invoked when the connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2717,7 +2717,7 @@ int bt_nap_set_connection_state_changed_cb(bt_nap_connection_state_changed_cb ca * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Unregisters a callback function that will be invoked when the connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -2735,7 +2735,7 @@ int bt_nap_unset_connection_state_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE * @brief Registers a callback function that will be invoked when the connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function * @return 0 on success, otherwise a negative error value. @@ -2756,7 +2756,7 @@ int bt_panu_set_connection_state_changed_cb(bt_panu_connection_state_changed_cb * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE * @brief Unregisters a callback function that will be invoked when the connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @return 0 on success, otherwise a negative error value. * @retval #BT_ERROR_NONE Successful * @retval #BT_ERROR_NOT_INITIALIZED Not initialized @@ -2774,7 +2774,7 @@ int bt_panu_unset_connection_state_changed_cb(void); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE * @brief Connects the remote device with the PAN(Personal Area Networking) service, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2800,7 +2800,7 @@ int bt_panu_connect(const char *remote_address, bt_panu_service_type_e type); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE * @brief Disconnects the remote device with the PAN(Personal Area Networking) service, asynchronously. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth * @param[in] remote_address The remote address @@ -2826,7 +2826,7 @@ int bt_panu_disconnect(const char *remote_address); * @internal * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief update LE connection. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @return 0 on success, otherwise a negative error value. @@ -3635,7 +3635,7 @@ int bt_pbap_client_is_connected(const char *address, bool *connected_status); /** * @ingroup CAPI_NETWORK_BLUETOOTH_HID_MODULE * @brief Sends the custom event data. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4080,7 +4080,7 @@ int bt_adapter_le_scan_filter_unset_proximity_uuid(bt_scan_filter_h scan_filter) /** * @internal * @brief API to register TDS provider. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4102,7 +4102,7 @@ int bt_tds_provider_register(void); /** * @internal * @brief API to unregister TDS provider. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4125,7 +4125,7 @@ int bt_tds_provider_unregister(void); /** * @internal * @brief API to create TDS provider. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4151,7 +4151,7 @@ int bt_tds_provider_create(bt_tds_provider_h *provider, bt_tds_transport_e trans /** * @internal * @brief API to destroy TDS provider. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4176,7 +4176,7 @@ int bt_tds_provider_destroy(bt_tds_provider_h provider); /** * @internal * @brief API to set transport block data for transport provider. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4205,7 +4205,7 @@ int bt_tds_provider_set_transport_data(bt_tds_provider_h provider, /** * @internal * @brief API to set TDS provider manufacturer specific data. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4230,7 +4230,7 @@ int bt_tds_provider_set_manufacturer_data(unsigned char *buf, int length); /** * @internal * @brief API to send activation response to TDS seeker. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel platform * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4261,7 +4261,7 @@ int bt_tds_provider_send_activation_resp(char *address, int result, bt_tds_provi /** * @internal * @brief API to set activation requeste callback. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth.admin * @@ -4287,7 +4287,7 @@ int bt_tds_set_transport_activation_requested_cb( /** * @internal * @brief API to unset activation requeste callback. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 * @privlevel public * @privilege %http://tizen.org/privilege/bluetooth.admin * diff --git a/include/bluetooth_private.h b/include/bluetooth_private.h index 9613104..ff57a1a 100644 --- a/include/bluetooth_private.h +++ b/include/bluetooth_private.h @@ -227,7 +227,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Enumerations of the Bluetooth advertising type. - * @since_tizen @if WEARABLE @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_LE_ADVERTISING_CONNECTABLE = 0x00, /**< Connectable undirected advertising (ADV_IND) */ diff --git a/include/bluetooth_type.h b/include/bluetooth_type.h index 2616477..aa1f430 100644 --- a/include/bluetooth_type.h +++ b/include/bluetooth_type.h @@ -36,7 +36,6 @@ extern "C" /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of PBAP fields. * @since_tizen 3.0 @@ -77,7 +76,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_MODULE * @brief Enumerations of Bluetooth error codes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful*/ @@ -112,7 +111,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Enumerations of the Bluetooth adapter state. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_DISABLED = 0x00, /**< Bluetooth adapter is disabled */ @@ -122,7 +121,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Enumerations of the Bluetooth visibility mode. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE = 0x00, /**< Other devices cannot find your device via discovery */ @@ -134,7 +133,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Enumerations of the discovery state of Bluetooth device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_DEVICE_DISCOVERY_STARTED, /**< Device discovery is started */ @@ -145,7 +144,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Enumerations of the Bluetooth advertising state. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_LE_ADVERTISING_STOPPED = 0x00, /**< Bluetooth advertising is stopped */ @@ -167,7 +166,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Enumerations of the Bluetooth advertising filter policy. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_LE_ADVERTISING_FILTER_DEFAULT = 0x00, /**< White list is not in use */ @@ -195,7 +194,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Enumerations of the Bluetooth LE packet type. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_ADAPTER_LE_PACKET_ADVERTISING, /**< Advertising packet */ @@ -216,7 +215,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of device disconnect reason. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_DEVICE_DISCONNECT_REASON_UNKNOWN, /**< Disconnected by unknown reason */ @@ -228,7 +227,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of connection link type. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_DEVICE_CONNECTION_LINK_BREDR, /**< BR/EDR link */ @@ -239,7 +238,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of device authorization state. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_DEVICE_AUTHORIZED, /**< The remote Bluetooth device is authorized */ @@ -249,7 +248,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of Bluetooth profile. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_PROFILE_RFCOMM = 0x01, /**< RFCOMM Profile */ @@ -266,7 +265,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of device address type. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_DEVICE_PUBLIC_ADDRESS = 0x00, /**< Public address */ @@ -276,7 +275,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of service class. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_SC_NONE = 0, /**< No service class */ @@ -310,7 +309,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of major service class. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_MAJOR_SERVICE_CLASS_LIMITED_DISCOVERABLE_MODE = 0x002000, /**< Limited discoverable mode */ @@ -327,7 +326,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of major device class. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_MAJOR_DEVICE_CLASS_MISC = 0x00, /**< Miscellaneous major device class*/ @@ -346,7 +345,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of minor device class. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_MINOR_DEVICE_CLASS_COMPUTER_UNCATEGORIZED = 0x00, /**< Uncategorized minor device class of computer */ @@ -441,7 +440,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Enumerations of gap appearance type. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_APPEARANCE_TYPE_UNKNOWN = 0x00, /**< Unknown appearance type */ @@ -464,7 +463,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Enumerations of connected Bluetooth device event role. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_SOCKET_UNKNOWN = 0x00, /**< Unknown role*/ @@ -475,7 +474,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Enumerations of Bluetooth socket connection state. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_SOCKET_CONNECTED, /**< RFCOMM is connected */ @@ -485,7 +484,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_MODULE * @brief Enumerations for the types of profiles related with audio. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_AUDIO_PROFILE_TYPE_ALL = 0, /**< All supported profiles related with audio (Both Host and Device role) */ @@ -498,7 +497,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Enumerations for the call handling event. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_AG_CALL_HANDLING_EVENT_ANSWER = 0x00, /**< Request to answer an incoming call */ @@ -509,7 +508,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Enumerations for the multi call handling event. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_AG_MULTI_CALL_HANDLING_EVENT_RELEASE_HELD_CALLS = 0x00, /**< Request to release held calls */ @@ -522,7 +521,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Enumerations for the equalizer state. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 */ typedef enum { BT_AVRCP_EQUALIZER_STATE_OFF = 0x01, /**< Equalizer Off */ @@ -532,7 +531,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Enumerations for the repeat mode. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 */ typedef enum { BT_AVRCP_REPEAT_MODE_OFF = 0x01, /**< Repeat Off */ @@ -544,7 +543,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Enumerations for the shuffle mode. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 */ typedef enum { BT_AVRCP_SHUFFLE_MODE_OFF = 0x01, /**< Shuffle Off */ @@ -555,7 +554,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Enumerations for the scan mode. - * @since_tizen @if WEARABLE 3.0 @else 2.4 @endif + * @since_tizen 2.4 */ typedef enum { BT_AVRCP_SCAN_MODE_OFF = 0x01, /**< Scan Off */ @@ -657,7 +656,7 @@ typedef void (*bt_avrcp_play_status_changed_cb) (bt_avrcp_player_state_e play_st * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Enumerations for the data channel type. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. */ typedef enum { @@ -774,7 +773,7 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE * @brief Enumerations for the types of PAN (Personal Area Networking) service. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef enum { BT_PANU_SERVICE_TYPE_NAP = 0, /**< Network Access Point */ @@ -783,12 +782,11 @@ typedef enum { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief The handle to control Bluetooth LE advertising. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef void *bt_advertiser_h; /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of address book location for PBAP. * @since_tizen 3.0 @@ -799,7 +797,6 @@ typedef enum { } bt_pbap_address_book_source_e; /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of folder type. * @since_tizen 3.0 @@ -813,7 +810,6 @@ typedef enum { } bt_pbap_folder_type_e; /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of phone book search fields. * @since_tizen 3.0 @@ -825,7 +821,6 @@ typedef enum { } bt_pbap_search_field_e; /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of vCard Formats. * @since_tizen 3.0 @@ -836,7 +831,6 @@ typedef enum { } bt_pbap_vcard_format_e; /** - * @WEARABLE_ONLY * @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE * @brief Enumeration of sorting orders. * @since_tizen 3.0 @@ -871,14 +865,14 @@ typedef void *bt_gatt_server_h; /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief The handle of calls state. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 */ typedef void *bt_call_list_h; /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Class structure of device and service. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @see #bt_device_info_s * @see #bt_adapter_device_discovery_info_s @@ -895,7 +889,7 @@ typedef struct { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Structure of device discovery information. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @see #bt_class_s * @see bt_adapter_device_discovery_state_changed_cb() @@ -990,7 +984,7 @@ typedef void (*bt_ipsp_connection_state_changed_cb) /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Device information structure used for identifying pear device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @see #bt_class_s * @see bt_device_bond_created_cb() @@ -1015,7 +1009,7 @@ typedef struct { * @details This protocol is used for discovering available services or pear device, * and finding one to connect with. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @see bt_device_service_searched_cb() */ typedef struct { @@ -1027,7 +1021,7 @@ typedef struct { /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Device connection information structure. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @see bt_device_connection_state_changed_cb() */ @@ -1040,7 +1034,7 @@ typedef struct { /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Rfcomm connection data used for exchanging data between Bluetooth devices. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @see bt_socket_connection_state_changed_cb() */ @@ -1055,7 +1049,7 @@ typedef struct { /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Structure of RFCOMM received data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks User can use standard linux functions for reading/writing \n * data from/to sockets. @@ -1071,7 +1065,7 @@ typedef struct { /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called when the Bluetooth adapter state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of the adapter state changing * @param[in] adapter_state The adapter state to be changed @@ -1084,7 +1078,7 @@ typedef void (*bt_adapter_state_changed_cb)(int result, bt_adapter_state_e adapt /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called when adapter name changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] device_name The name of the Bluetooth device to be changed * @param[in] user_data The user data passed from the callback registration function @@ -1099,7 +1093,7 @@ typedef void (*bt_adapter_name_changed_cb)(char *device_name, void *user_data); /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called when the visibility mode changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of the visibility mode changing * @param[in] visibility_mode The visibility mode to be changed @@ -1117,7 +1111,7 @@ typedef void (*bt_adapter_visibility_mode_changed_cb) /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called every second until the visibility mode is changed to #BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks This callback function is called only if visibility mode is #BT_ADAPTER_VISIBILITY_MODE_LIMITED_DISCOVERABLE. * @param[in] duration The duration until the visibility mode is changed to #BT_ADAPTER_VISIBILITY_MODE_NON_DISCOVERABLE (in seconds) @@ -1131,7 +1125,7 @@ typedef void (*bt_adapter_visibility_duration_changed_cb)(int duration, void *us /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called when the state of device discovery changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks If \a discovery_state is #BT_ADAPTER_DEVICE_DISCOVERY_FOUND, \n * then you can get some information, such as remote device address, remote device name, rssi, and bonding state. @@ -1158,7 +1152,7 @@ typedef void (*bt_adapter_device_discovery_state_changed_cb) /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE * @brief Called when you get bonded devices repeatedly. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] device_info The bonded device information * @param[in] user_data The user data passed from the foreach function @@ -1189,7 +1183,7 @@ typedef void (*bt_adapter_le_scan_result_cb)(int result, /** * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE * @brief Called when the state of advertiser changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[out] result The result of the requested state change of advertiser * @param[out] advertiser The handle of the state changed advertiser @@ -1205,7 +1199,7 @@ typedef void (*bt_adapter_le_advertising_state_changed_cb)(int result, /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when the process of creating bond finishes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @remarks If the remote user does not respond within 60 seconds, a time out will happen with #BT_ERROR_TIMED_OUT result code. \n * If bt_device_cancel_bonding() is called and it returns #BT_ERROR_NONE, then this callback function will be called \n @@ -1230,7 +1224,7 @@ typedef void (*bt_device_bond_created_cb)(int result, bt_device_info_s *device_i /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when you get connected profiles repeatedly. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] profile The connected Bluetooth profile * @param[in] user_data The user data passed from the foreach function @@ -1244,7 +1238,7 @@ typedef bool (*bt_device_connected_profile)(bt_profile_e profile, void *user_dat /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when the bond destroys. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result that a bond is destroyed * @param[in] remote_address The address of the remote Bluetooth device to destroy bond with @@ -1261,7 +1255,7 @@ typedef void (*bt_device_bond_destroyed_cb)(int result, char *remote_address, vo /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when the authorization of device changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] authorization The authorization of device * @param[in] remote_address The address of the remote Bluetooth device which is (un)authorized @@ -1278,7 +1272,7 @@ typedef void (*bt_device_authorization_changed_cb) /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when the process of service search finishes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of the service searching * @param[in] sdp_info The structure of service lists found on a device @@ -1296,7 +1290,7 @@ typedef void (*bt_device_service_searched_cb)(int result, bt_device_sdp_info_s * /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] connected The connection status: (@c true = connected, @c false = disconnected) * @param[in] conn_info The connection information @@ -1309,7 +1303,7 @@ typedef void (*bt_device_connection_state_changed_cb)(bool connected, bt_device_ /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Called when you receive data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] data The received data from the remote device * @param[in] user_data The user data passed from the callback registration function @@ -1326,7 +1320,7 @@ typedef void (*bt_socket_data_received_cb)(bt_socket_received_data_s *data, void /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Called when the socket connection state changes. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of connection state changing * @param[in] connection_state The connection state @@ -1345,7 +1339,7 @@ typedef void (*bt_socket_connection_state_changed_cb) /** * @ingroup CAPI_NETWORK_BLUETOOTH_SOCKET_MODULE * @brief Called when a RFCOMM connection is requested. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] socket_fd The file descriptor of socket on which a connection is requested * @param[in] remote_address The address of remote device @@ -1361,7 +1355,7 @@ typedef void (*bt_socket_connection_requested_cb) (int socket_fd, const char *re * * @details You must call bt_opp_server_accept() if you want to accept. * Otherwise, you must call bt_opp_server_reject(). - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] remote_address The address of remote device * @param[in] user_data The user data passed from the callback registration function * @see bt_opp_server_accept() @@ -1372,7 +1366,7 @@ typedef void (*bt_opp_server_connection_requested_cb)(const char *remote_address /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Called when a file is being transferred. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] file The path of file to be pushed * @param[in] size The file size (bytes) @@ -1385,7 +1379,7 @@ typedef void (*bt_opp_server_transfer_progress_cb) (const char *file, long long /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE * @brief Called when a transfer is finished. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of push * @param[in] file The path of file to be pushed @@ -1398,7 +1392,7 @@ typedef void (*bt_opp_server_transfer_finished_cb) (int result, const char *file /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Called when OPP server responds to the push request. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of OPP server response * @param[in] remote_address The remote address @@ -1411,7 +1405,7 @@ typedef void (*bt_opp_client_push_responded_cb)(int result, const char *remote_a /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Called when each file is being transferred. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] file The path of file to be pushed * @param[in] size The file size (bytes) @@ -1425,7 +1419,7 @@ typedef void (*bt_opp_client_push_progress_cb)(const char *file, long long size, /** * @ingroup CAPI_NETWORK_BLUETOOTH_OPP_CLIENT_MODULE * @brief Called when the push request is finished. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] result The result of the push request * @param[in] remote_address The remote address @@ -1439,7 +1433,7 @@ typedef void (*bt_opp_client_push_finished_cb)(int result, const char *remote_ad * @brief Called when the connection state is changed. * * @details This callback is called when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * When you call bt_audio_connect() or bt_audio_disconnect(), this callback is also called with error result even though these functions fail. * @param[in] result The result of changing the connection state * @param[in] connected The state to be changed. true means connected state, Otherwise, false. @@ -1454,7 +1448,7 @@ typedef void (*bt_audio_connection_state_changed_cb) (int result, bool connected /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when a call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] event The call handling event happened from Hands-Free * @param[in] call_id The call ID @@ -1467,7 +1461,7 @@ typedef void (*bt_ag_call_handling_event_cb) (bt_ag_call_handling_event_e event, /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when a multi call handling event happened from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] event The call handling event happened from Hands-Free * @param[in] user_data The user data passed from the callback registration function @@ -1479,7 +1473,7 @@ typedef void (*bt_ag_multi_call_handling_event_cb) (bt_ag_multi_call_handling_ev /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when a DTMF (Dual Tone Multi Frequency) is transmitted from Hands-Free. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] dtmf The DTMF transmitted from Hands-Free * @param[in] user_data The user data passed from the callback registration function @@ -1491,7 +1485,7 @@ typedef void (*bt_ag_dtmf_transmitted_cb) (const char *dtmf, void *user_data); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when the speaker gain of the remote device is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] gain The gain of speaker (0 ~ 15) * @param[in] user_data The user data passed from the callback registration function @@ -1503,7 +1497,7 @@ typedef void (*bt_ag_speaker_gain_changed_cb) (int gain, void *user_data); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE * @brief Called when the microphone gain of the remote device is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] gain The gain of microphone (0 ~ 15) * @param[in] user_data The user data passed from the callback registration function @@ -1515,7 +1509,7 @@ typedef void (*bt_ag_microphone_gain_changed_cb) (int gain, void *user_data); /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Called when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] connected The state to be changed. true means connected state, Otherwise, false. * @param[in] remote_address The remote address @@ -1528,7 +1522,7 @@ typedef void (*bt_avrcp_target_connection_state_changed_cb) (bool connected, con /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Called when the equalizer state is changed by the remote control device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] equalizer The equalizer state * @param[in] user_data The user data passed from the callback registration function @@ -1540,7 +1534,7 @@ typedef void (*bt_avrcp_equalizer_state_changed_cb) (bt_avrcp_equalizer_state_e /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Called when the repeat mode is changed by the remote control device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] repeat The repeat mode * @param[in] user_data The user data passed from the callback registration function @@ -1552,7 +1546,7 @@ typedef void (*bt_avrcp_repeat_mode_changed_cb) (bt_avrcp_repeat_mode_e repeat, /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Called when the shuffle mode is changed by the remote control device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] shuffle The shuffle mode * @param[in] user_data The user data passed from the callback registration function @@ -1564,7 +1558,7 @@ typedef void (*bt_avrcp_shuffle_mode_changed_cb) (bt_avrcp_shuffle_mode_e shuffl /** * @ingroup CAPI_NETWORK_BLUETOOTH_AVRCP_MODULE * @brief Called when the scan mode is changed by the remote control device. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] scan The scan mode * @param[in] user_data The user data passed from the callback registration function @@ -1579,7 +1573,7 @@ typedef void (*bt_avrcp_scan_mode_changed_cb) (bt_avrcp_scan_mode_e scan, void * * * @details This callback is called when the connection state is changed. * When you call bt_hid_host_connect() or bt_hid_host_disconnect(), this callback is also called with error result even though these functions fail. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] result The result of changing the connection state * @param[in] connected The state to be changed. true means connected state, Otherwise, false. * @param[in] remote_address The remote address @@ -1593,7 +1587,7 @@ typedef void (*bt_hid_host_connection_state_changed_cb) (int result, bool connec * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Called when the connection is established. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * * @param[in] result The result of connecting to the remote device @@ -1612,7 +1606,7 @@ typedef void (*bt_hdp_connected_cb) (int result, const char *remote_address, con * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Called when the connection is disconnected. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * * @param[in] result The result of disconnecting from the remote device @@ -1628,7 +1622,7 @@ typedef void (*bt_hdp_disconnected_cb) (int result, const char *remote_address, * @deprecated Deprecated since 5.0. * @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE * @brief Called when the you receive the data. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @remarks Deprecated, because of no usecase and supported devices. * * @param[in] channel The connected data channel @@ -1760,7 +1754,7 @@ typedef void (*bt_gatt_client_service_changed_cb) (bt_gatt_client_h client, * @details This callback is called when the connection state is changed. * When you called bt_gatt_connect() or bt_gatt_disconnect(), this callback is also called with error result even though these functions fail. * - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] result The result of changing the connection state. * @param[in] connected The state to be changed, true means connected state, Otherwise, false. * @param[in] remote_address The remote_address @@ -1899,7 +1893,7 @@ typedef void (*bt_gatt_server_notification_sent_cb) (int result, /** * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_NAP_MODULE * @brief Called when the connection state is changed. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * * @param[in] connected Indicates whether a client is connected or disconnected * @param[in] remote_address The remote address @@ -1916,7 +1910,7 @@ typedef void (*bt_nap_connection_state_changed_cb) (bool connected, const char * * * @details This callback is called when the connection state is changed. * When you call bt_panu_connect() or bt_panu_disconnect(), this callback is also called with error result even though these functions fail. - * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @since_tizen 2.3 * @param[in] result The result of changing the connection state * @param[in] connected The state to be changed. true means connected state, Otherwise, false. * @param[in] remote_address The remote address @@ -1930,7 +1924,7 @@ typedef void (*bt_panu_connection_state_changed_cb) (int result, bool connected, /** * @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE * @brief Enumerations of the Bluetooth HID mouse's button. - * @since_tizen @if WEARABLE 3.0 @endif + * @since_tizen 3.0 */ typedef enum { BT_HID_MOUSE_BUTTON_NONE = 0x00, /**