Enum CharacteristicPermissions
- Namespace
- Bluetooth.Abstractions.Enums
- Assembly
- Bluetooth.Abstractions.dll
Defines the permissions required to access a GATT characteristic.
[Flags]
public enum CharacteristicPermissions
Fields
None = 0No permissions are required.
Read = 1Reading the characteristic is allowed.
ReadEncrypted = 2Reading the characteristic requires an encrypted connection.
ReadEncryptedMitm = 4Reading the characteristic requires an encrypted connection with MITM protection.
Write = 8Writing to the characteristic is allowed.
WriteEncrypted = 16Writing to the characteristic requires an encrypted connection.
WriteEncryptedMitm = 32Writing to the characteristic requires an encrypted connection with MITM protection.
WriteSigned = 64Writing to the characteristic requires a signed write.
WriteSignedMitm = 128Writing to the characteristic requires a signed write with MITM protection.