GattProtectionLevel GattProtectionLevel GattProtectionLevel GattProtectionLevel GattProtectionLevel Enum

Definition

Represents the desired security level.

Allows the desired Security option to be requested.

public : enum class GattProtectionLevel
enum class winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel : int32_t
public enum GattProtectionLevel
Public Enum GattProtectionLevel
var value = Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel.authenticationRequired;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Fields

AuthenticationRequired AuthenticationRequired AuthenticationRequired AuthenticationRequired AuthenticationRequired 1

Require the link to be authenticated.

EncryptionAndAuthenticationRequired EncryptionAndAuthenticationRequired EncryptionAndAuthenticationRequired EncryptionAndAuthenticationRequired EncryptionAndAuthenticationRequired 3

Require the link to be encrypted and authenticated.

EncryptionRequired EncryptionRequired EncryptionRequired EncryptionRequired EncryptionRequired 2

Require the link to be encrypted.

Plain Plain Plain Plain Plain 0

Uses the default protection level.