Descriptors

Descriptors

Descriptors have minimal functionality. You can read & write their values.

It is important (like services and characteristics) that you do not maintain an instance to descriptors across connections

Read/Write to a Descriptor

// once you have your characteristic instance from the characteristic
await descriptor.Write(bytes);

await descriptor.Read();

Monitor Descriptor Read/Writes


descriptor.WhenRead().Subscribe(x => {});


descriptor.WhenWritten().Subscribe(x => {});

GitHub