* @see bt_hdp_set_connection_state_changed_cb()
* @see bt_hdp_unset_connection_state_changed_cb()
*/
-typedef void (*bt_hdp_connected_cb) (int result,
- const char *remote_address, const char *app_id,
- bt_hdp_channel_type_e type, unsigned int channel,
- void *user_data);
+typedef void (*bt_hdp_connected_cb) (int result, const char *remote_address, const char *app_id,
+ bt_hdp_channel_type_e type, unsigned int channel, void *user_data);
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HDP_MODULE
* @param[in] len The length of @a value
* @param[in] user_data The user data passed from the registration function
*
- * @see bt_gatt_server_set_write_value_requested_cb()a
+ * @see bt_gatt_server_set_write_value_requested_cb()
* @see bt_gatt_server_send_response()
*/
typedef void (*bt_gatt_server_write_value_requested_cb) (const char *remote_address,
typedef void (*bt_adapter_manufacturer_data_changed_cb) (char *data,
int len, void *user_data);
+/**
+ * @internal
+ * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_MODULE
+ * @brief Called repeatedly when you get the devices connected with specific profile.
+ * @since_tizen 3.0
+ *
+ * @param[in] remote_address The address of remote device
+ * @param[in] user_data The user data passed from the callback registration function
+ * @return @c true to continue with the next iteration of the loop,
+ * \n @c false to break out of the loop.
+ * @pre bt_adapter_foreach_profile_connected_devices() will invoke this function.
+ * @see bt_adapter_foreach_profile_connected_devices()
+ */
+typedef bool (*bt_adapter_profile_connected_devices_cb)(const char *remote_address, void *user_data);
+
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_DPM_MODULE
* @brief DPM BT allowance state
BT_DPM_ENABLE = 1, /**< DPM Policy status enabled. */
BT_DPM_DISABLE = 0, /**< DPM Policy status disabled. */
- BT_DPM_FALSE = 0, /**< DPM Policy status false. */
+ BT_DPM_FALSE = 0, /**< DPM Policy status false. */
BT_DPM_TRUE = 1, /**< DPM Policy status true. */
} bt_dpm_status_e;
*/
typedef void (*bt_hid_device_data_received_cb)(const bt_hid_device_received_data_s *data, void *user_data);
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief Trusted Profile enumeration.
+ * @since_tizen 3.0
+ *
+ * @see bt_device_set_profile_trusted()
+ * @see bt_device_get_profile_trusted()
+ */
+typedef enum {
+ BT_TRUSTED_PROFILE_PBAP = 1,
+ BT_TRUSTED_PROFILE_MAP,
+ BT_TRUSTED_PROFILE_SAP,
+ BT_TRUSTED_PROFILE_ALL = 0xFFFFFFFF,
+} bt_trusted_profile_t;
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief Called when Trusted Profiles is changed.
+ * @since_tizen 3.0
+ *
+ * @param[in] result The result of supported profile callback
+ * @param[in] remote_address Address of remote device
+ * @param[in] trusted_profiles Trusted profile FLAG
+ * @param[in] user_data The user data passed from the callback registration function
+ * @see bt_device_set_trusted_profile_cb()
+ * @see bt_device_unset_trusted_profile_cb()
+ */
+typedef void (*bt_device_trusted_profiles_cb)
+ (int result, char *remote_address, int trusted_profile, bool supported, bool trusted,void *user_data);
+
+
/**
* @internal
+ * @ingroup
* @brief IPSP Init state changed callback
+ * @since_tizen 3.0
*/
typedef void (*bt_ipsp_init_state_changed_cb)
(int result, bool ipsp_initialized, void *user_data);
/**
* @internal
+ * @ingroup
+ * @since_tizen 3.0
+
* @brief IPSP Connection state changed callback
*/
typedef void (*bt_ipsp_connection_state_changed_cb)
(int result, bool connected, const char *remote_address, const char *iface_name, void *user_data);
+
/**
* @}
*/