Class LinuxBleBackend.LinuxBleCharacteristic
Inheritance
LinuxBleBackend.LinuxBleCharacteristic
Assembly: MOSAIC.dll
Syntax
private sealed class LinuxBleBackend.LinuxBleCharacteristic : IBleCharacteristic
Constructors
LinuxBleCharacteristic(Connection, ObjectPath, Guid)
Declaration
public LinuxBleCharacteristic(Connection bus, ObjectPath charPath, Guid uuid)
Parameters
| Type |
Name |
Description |
| Connection |
bus |
|
| ObjectPath |
charPath |
|
| Guid |
uuid |
|
Fields
_bus
Declaration
private readonly Connection _bus
Field Value
| Type |
Description |
| Connection |
|
_charPath
Declaration
private readonly ObjectPath _charPath
Field Value
| Type |
Description |
| ObjectPath |
|
_notifyWatcher
Declaration
private IDisposable? _notifyWatcher
Field Value
Properties
Uuid
Declaration
public Guid Uuid { get; }
Property Value
Methods
StartNotificationsAsync(CancellationToken)
Declaration
public Task StartNotificationsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
WriteValueWithoutResponseAsync(byte[], CancellationToken)
Declaration
public Task WriteValueWithoutResponseAsync(byte[] value, CancellationToken cancellationToken = default)
Parameters
Returns
Events
ValueChanged
Declaration
public event EventHandler<byte[]>? ValueChanged
Event Type
Implements