From: DoHyun Pyun Date: Mon, 12 Sep 2016 04:29:56 +0000 (+0900) Subject: Add bt_restricted_profile_t for wearable and tv X-Git-Tag: submit/tizen/20160912.033649^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7067fa6a52a1854c298d9d1d5f6892f5916946c;p=platform%2Fcore%2Fapi%2Fbluetooth.git Add bt_restricted_profile_t for wearable and tv Change-Id: I51089259ce1bc09ecf26c34957c14f799c2379e5 Signed-off-by: DoHyun Pyun --- diff --git a/include/tv/bluetooth_type_internal.h b/include/tv/bluetooth_type_internal.h index 55b7555..8158640 100644 --- a/include/tv/bluetooth_type_internal.h +++ b/include/tv/bluetooth_type_internal.h @@ -392,6 +392,19 @@ typedef enum { BT_TRUSTED_PROFILE_ALL = 0xFFFFFFFF, } bt_trusted_profile_t; +/** + * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE + * @brief Restricted Profile enumeration. + * @since_tizen 3.0 + * + * @see bt_device_set_profile_restricted() + * @see bt_device_get_profile_restricted() + */ +typedef enum { + BT_RESTRICTED_PROFILE_HFP_HS = 1, + BT_RESTRICTED_PROFILE_A2DP, +} bt_restricted_profile_t; + /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when Trusted Profiles is changed. diff --git a/include/wearable/bluetooth_type_internal.h b/include/wearable/bluetooth_type_internal.h index a8a68f6..428395b 100644 --- a/include/wearable/bluetooth_type_internal.h +++ b/include/wearable/bluetooth_type_internal.h @@ -409,6 +409,19 @@ typedef enum { BT_TRUSTED_PROFILE_ALL = 0xFFFFFFFF, } bt_trusted_profile_t; +/** + * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE + * @brief Restricted Profile enumeration. + * @since_tizen 3.0 + * + * @see bt_device_set_profile_restricted() + * @see bt_device_get_profile_restricted() + */ +typedef enum { + BT_RESTRICTED_PROFILE_HFP_HS = 1, + BT_RESTRICTED_PROFILE_A2DP, +} bt_restricted_profile_t; + /** * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE * @brief Called when Trusted Profiles is changed.