*/
/**
- * @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
* 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 <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- * @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
* 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 <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- * @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
* 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 <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- * @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
* 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 <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- * @endif
- *
*/
/**
*/
/**
- * @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
* 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 <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- *
- *
*/
/**
/**
* @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.
/**
* @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.
*
/**
* @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
*
/**
* @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.
*
* @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.
*
/**
* @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
*
/**
* @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.
* 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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
*
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
*
/**
* @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
* @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
/**
* @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
*
/**
* @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().
/**
* @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.
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
* @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
/**
* @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
/**
* @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.
/**
* @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.
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
* 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
/**
* @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.
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.
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
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
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
*/
/**
- * @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
*
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
*
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
*
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
*
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
*
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
*
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.
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
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
*
/**
* @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.
/**
* @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
* @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
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
* @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
* @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.
* @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.
* @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.
* @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.
* @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
* @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
* @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
* @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
/**
* @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
*
/**
* @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
*
/**
* @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.
/**
* @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
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.
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.
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
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
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
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
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
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.
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
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.
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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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)
/**
* @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.
/**
* @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
/**
* @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
/**
* @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)
/**
* @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.
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
/**
* @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
*
/**
* @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.
/**
* @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.
* @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
*
* @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
*
* @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
*
* @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
*
* @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
* @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
* @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
*
* @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
* @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
* @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.
*
* @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
*
* @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
*
* @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
*
* @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
*
* @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
* @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
* @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
*
* @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
*
* @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
*
* @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
* @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
*
* @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
*
* @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
* @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.
* @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
* @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
* @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().
* @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)
* @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
* @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)
* @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.
* @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
* @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.
* @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
* @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.
* @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
* @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
* @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
* @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
* @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
* @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
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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.
/**
* @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
* @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.
* @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.
* @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.
* @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
* @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.
* @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
* @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.
* @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
* @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
* @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
* @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.
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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
*
/**
* @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) */
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Enumeration of PBAP fields.
* @since_tizen 3.0
/**
* @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*/
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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*/
/**
* @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 */
/**
* @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 */
/**
* @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*/
/**
* @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 */
/**
* @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) */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
/**
* @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 */
* @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 {
/**
* @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 */
/**
* @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
} bt_pbap_address_book_source_e;
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Enumeration of folder type.
* @since_tizen 3.0
} bt_pbap_folder_type_e;
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Enumeration of phone book search fields.
* @since_tizen 3.0
} bt_pbap_search_field_e;
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Enumeration of vCard Formats.
* @since_tizen 3.0
} bt_pbap_vcard_format_e;
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Enumeration of sorting orders.
* @since_tizen 3.0
/**
* @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
/**
* @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()
/**
* @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()
* @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 {
/**
* @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()
*/
/**
* @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()
*/
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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)
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
*
* @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()
/**
* @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)
/**
* @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
/**
* @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
/**
* @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)
/**
* @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
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
*
* @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
* @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
* @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
* @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
* @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
/**
* @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
*
* @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
/**
* @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, /**<The mouse's none value*/
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief The structure type containing the HID mouse event information.
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @see bt_hid_device_send_mouse_event()
*/
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief The structure type containing the HID keyboard event information.
* @details If you want to know more detail values, refer to http://www.usb.org/developers/hidpage/ and see "HID Usage Tables"
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @see bt_hid_device_send_key_event()
*/
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief Enumerations of the Bluetooth HID header type.
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*/
typedef enum {
BT_HID_HEADER_HANDSHAKE, /**< The Bluetooth HID header type: Handshake */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief Enumerations of the Bluetooth HID parameter type.
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*/
typedef enum {
BT_HID_PARAM_DATA_RTYPE_INPUT, /**< Parameter type: Input */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief Enumerations of the Bluetooth HID handshake type.
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*/
typedef enum {
BT_HID_HANDSHAKE_SUCCESSFUL = 0x00, /**< Handshake error code none */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_DEVICE_MODULE
* @brief The structure type containing data received from the HID Host.
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*/
typedef struct {
const char *address; /**< The remote device's address */
* @details The following error codes can be delivered: \n
* #BT_ERROR_NONE \n
* #BT_ERROR_OPERATION_FAILED \n
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @param[in] result The result of changing the connection state.
* @param[in] connected The requested state. true means the connection is enabled, false means the connection is disabled.
* @details The following error codes can be delivered: \n
* #BT_ERROR_NONE \n
* #BT_ERROR_OPERATION_FAILED \n
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @param[in] data The data received from the HID Host.
* @param[in] user_data The user data passed from the callback registration function
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief The structure type containing vCard information.
* @since_tizen 3.0
} bt_pbap_vcard_info_s;
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Called when PBAP is Connected or Disconnected.
* @details The following error codes can be delivered: \n
const char *remote_address, void *user_data);
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Called when PBAP Phonebook size calculation completes.
* @details The following error codes can be delivered: \n
int size, void *user_data);
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Called when PBAP Phonebook Pull completes.
* @details The received phone book file will be saved in the platform downloads folder. \n
const char *vcf_file, void *user_data);
/**
- * @WEARABLE_ONLY
* @ingroup CAPI_NETWORK_BLUETOOTH_PBAP_MODULE
* @brief Called when PBAP List vCards completes.
* @details The following error codes can be delivered: \n
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Enumerations for the call handling event
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_HF_CALL_HANDLING_EVENT_ANSWER = 0x00, /**< Request to answer an incoming call */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Enumerations for the call state
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_HF_CALL_EVENT_IDLE = 0x00, /**< Idle */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Enumerations for the call event from Audio-Gateway device
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*/
typedef enum {
BT_HF_REMOTE_CALL_EVENT_IDLE = 0x00, /**< Idle. Neither setup call nor active call exist */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Enumerations for the multi call handling event
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_HF_MULTI_CALL_HANDLING_EVENT_RELEASE_HELD_CALLS = 0x00, /**< Request to release held calls */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief HF Call status information.
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
*/
typedef struct {
char *number; /**< Phone Number */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
* @brief Called when the SCO(Synchronous Connection Oriented link) state is changed.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*
* @details This callback is called when the SCO state is changed.
* When you call bt_ag_open_sco() or bt_ag_close_sco(), this callback is also called with error result even though these functions failed.
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when the SCO(Synchronous Connection Oriented link) state is changed.
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
*
* @details This callback is called when the SCO state is changed.
* When you call bt_ag_open_sco() or bt_ag_close_sco(), this callback is also called with error result even though these functions failed.
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when a call handling event happened from Hands-Free.
- * @since_tizen @if WEARABLE 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
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when a call event happend from Audio-Gateway device
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @param[in] event The call state chagned event from remote Audio-Gateway device
* @param[in] user_data The user data passed from the callback registration function
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when a multi call handling event happened from Hands-Free.
- * @since_tizen @if WEARABLE 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
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when the speaker gain of the remote device is changed.
- * @since_tizen @if WEARABLE 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
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when a call status updated event happened from Hands-Free.
- * @since_tizen @if WEARABLE 2.3 @endif
+ * @since_tizen 2.3
* @remarks call_info_list has elements which consist of bt_hf_call_status_info_s
* @remarks The @a call_info_list must be released with bt_hf_free_call_status_info_list() by you.
*
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_HF_MODULE
* @brief Called when a call event happend from Audio-Gateway device
- * @since_tizen @if WEARABLE 3.0 @endif
+ * @since_tizen 3.0
*
* @param[in] event The call state chagned event from remote Audio-Gateway device
* @param[in] user_data The user data passed from the callback registration function
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
* @brief Enumerations of the Bluetooth adapter le state.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_ADAPTER_LE_DISABLED = 0x00, /**< Bluetooth le is disabled */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
* @brief Called when the Bluetooth adapter le 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_le_state The adapter le state to be changed
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
* @brief Enumerations for the call state
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_AG_CALL_EVENT_IDLE = 0x00, /**< Idle */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_AUDIO_AG_MODULE
* @brief Enumerations for the call state
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_AG_CALL_STATE_IDLE = 0x00, /**< Idle state */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE
* @brief Called when the connectable state changes.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*
* @param[in] result The result of the connectable state changing
* @param[in] connectable The connectable to be changed
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_OPP_SERVER_MODULE
* @brief Called when the push is requested.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*
* @details You must call bt_opp_server_accept() if you want to accept.
* Otherwise, you must call bt_opp_server_reject().
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
* @brief Device LE connection update structure.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*/
typedef struct {
unsigned int interval_min; /**< Minimum value for the connection event interval (msec) */
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
* @brief Enumerations of the Bluetooth advertising state for HRP.
- * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen 2.3
*/
typedef enum {
BT_HRP_SENSOR_ADVERTISING_STOPPED = 0x00, /**< Bluetooth advertising is stopped */