Initial commit: RGB LED Strip Controller v0.3.0
- WPF + WinRT BLE controller for ELK-BLEDOM compatible LED strips - Multi-device control, effects, grayscale and temperature modes - Velopack updates via Gitea Releases, Gitea Actions CI
This commit is contained in:
40 files changed
+5411
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using RgbLedStripController.Core;
|
||||
|
||||
namespace RgbLedStripController.Services;
|
||||
|
||||
public interface IBleTransport : IAsyncDisposable
|
||||
{
|
||||
event EventHandler<DeviceConnectionStatus>? ConnectionStatusChanged;
|
||||
|
||||
Task<IReadOnlyList<BleScanResult>> ScanAsync(TimeSpan duration, CancellationToken cancellationToken = default);
|
||||
|
||||
Task ConnectAsync(BleScanResult device, CancellationToken cancellationToken = default);
|
||||
|
||||
Task<bool> DiscoverAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
Task WriteAsync(ReadOnlyMemory<byte> payload, CancellationToken cancellationToken = default);
|
||||
|
||||
Task DisconnectAsync();
|
||||
}
|
||||
Reference in new issue
Block a user