Skip to main content

Enum CharacteristicPermission

Specifies the permissions for accessing a Bluetooth characteristic.

Assembly: Meadow.Contracts.dll
View Source
Declaration
[Flags]
public enum CharacteristicPermission : short

Fields

Read

Read permission.

View Source
Declaration
Read = 1

ReadEncrypted

Read permission with encryption.

View Source
Declaration
ReadEncrypted = 2

ReadEncMITM

Read permission with encryption and Man-in-the-Middle (MITM) protection.

View Source
Declaration
ReadEncMITM = 4

Write

Write permission.

View Source
Declaration
Write = 16

WriteEncrypted

Write permission with encryption.

View Source
Declaration
WriteEncrypted = 32

WriteEncMITM

Write permission with encryption and Man-in-the-Middle (MITM) protection.

View Source
Declaration
WriteEncMITM = 64

WriteSigned

Write permission with signature.

View Source
Declaration
WriteSigned = 128

WriteSignedMITM

Write permission with signature and Man-in-the-Middle (MITM) protection.

View Source
Declaration
WriteSignedMITM = 256