Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 531 Bytes

descriptors.md

File metadata and controls

23 lines (14 loc) · 531 Bytes

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 => {});