Smdn.Net.EchonetLite
2.0.0-preview2
Prefix Reserved
dotnet add package Smdn.Net.EchonetLite --version 2.0.0-preview2
NuGet\Install-Package Smdn.Net.EchonetLite -Version 2.0.0-preview2
<PackageReference Include="Smdn.Net.EchonetLite" Version="2.0.0-preview2" />
paket add Smdn.Net.EchonetLite --version 2.0.0-preview2
#r "nuget: Smdn.Net.EchonetLite, 2.0.0-preview2"
// Install Smdn.Net.EchonetLite as a Cake Addin #addin nuget:?package=Smdn.Net.EchonetLite&version=2.0.0-preview2&prerelease // Install Smdn.Net.EchonetLite as a Cake Tool #tool nuget:?package=Smdn.Net.EchonetLite&version=2.0.0-preview2&prerelease
Smdn.Net.EchonetLite 2.0.0-preview2
Provides the implementation based on the specifications described in the "ECHONET Lite SPECIFICATION II ECHONET Lite Communication Middleware Specifications". Including APIs such as EchonetClient
, which is an implementation corresponding to the "Communication Middleware" in the specification.
「ECHONET Lite SPECIFICATION 第2部 ECHONET Lite 通信ミドルウェア仕様」に記載されている仕様に基づく実装を提供します。 同仕様書における「通信ミドルウェア」に相当するEchonetClient
などのAPIを提供します。
Contributing
This project welcomes contributions, feedbacks and suggestions. You can contribute to this project by submitting Issues or Pull Requests on the GitHub repository.
API List
List of APIs exposed by assembly Smdn.Net.EchonetLite-2.0.0-preview2
(net8.0)
// Smdn.Net.EchonetLite.dll (Smdn.Net.EchonetLite-2.0.0-preview2)
// Name: Smdn.Net.EchonetLite
// AssemblyVersion: 2.0.0.0
// InformationalVersion: 2.0.0-preview2+60a8ce3520b765b1bcab669a662cfb615f41a1f5
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Net.EchonetLite.Primitives, Version=2.0.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Collections.Concurrent, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.ComponentModel.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Net.NetworkInformation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Net.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Threading, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#nullable enable annotations
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Smdn.Net.EchonetLite;
using Smdn.Net.EchonetLite.ComponentModel;
using Smdn.Net.EchonetLite.ObjectModel;
using Smdn.Net.EchonetLite.Protocol;
using Smdn.Net.EchonetLite.Transport;
namespace Smdn.Net.EchonetLite {
public interface IEchonetDeviceFactory {
EchonetDevice? Create(byte classGroupCode, byte classCode, byte instanceCode);
}
public enum EchonetServicePropertyResult : int {
Accepted = 1,
NotAccepted = 2,
Unavailable = 0,
}
public class EchonetClient :
IAsyncDisposable,
IDisposable
{
public event EventHandler<EchonetNode>? InstanceListUpdated;
public event EventHandler<EchonetNode>? InstanceListUpdating;
public event EventHandler<EchonetNode>? NodeJoined;
public event EventHandler<EchonetObject>? PropertyMapAcquired;
public event EventHandler<EchonetObject>? PropertyMapAcquiring;
public EchonetClient(EchonetNode selfNode, IEchonetLiteHandler echonetLiteHandler, bool shouldDisposeEchonetLiteHandler, IEchonetDeviceFactory? deviceFactory, ILogger<EchonetClient>? logger) {}
public EchonetClient(IEchonetLiteHandler echonetLiteHandler, ILogger<EchonetClient>? logger = null) {}
public EchonetClient(IEchonetLiteHandler echonetLiteHandler, bool shouldDisposeEchonetLiteHandler, ILogger<EchonetClient>? logger) {}
public IReadOnlyCollection<EchonetNode> OtherNodes { get; }
public EchonetNode SelfNode { get; }
public TaskFactory? ServiceHandlerTaskFactory { get; set; }
public ISynchronizeInvoke? SynchronizingObject { get; set; }
public async ValueTask<bool> AcquirePropertyMapsAsync(EchonetObject device, IEnumerable<byte>? extraPropertyCodes = null, CancellationToken cancellationToken = default) {}
protected virtual void Dispose(bool disposing) {}
public void Dispose() {}
public async ValueTask DisposeAsync() {}
protected virtual async ValueTask DisposeAsyncCore() {}
internal protected IPAddress? GetSelfNodeAddress() {}
protected void InvokeEvent<TEventArgs>(object? sender, EventHandler<TEventArgs>? eventHandler, TEventArgs e) {}
public async ValueTask<EchonetServiceResponse> NotifyAsync(EOJ sourceObject, IEnumerable<PropertyValue> properties, IPAddress destinationNodeAddress, EOJ destinationObject, CancellationToken cancellationToken = default) {}
public async ValueTask NotifyInstanceListAsync(CancellationToken cancellationToken = default) {}
public ValueTask NotifyOneWayAsync(EOJ sourceObject, IEnumerable<PropertyValue> properties, IPAddress? destinationNodeAddress, EOJ destinationObject, CancellationToken cancellationToken = default) {}
protected virtual void OnInstanceListUpdated(EchonetNode node) {}
protected virtual void OnInstanceListUpdating(EchonetNode node) {}
protected virtual void OnNodeJoined(EchonetNode node) {}
protected virtual void OnPropertyMapAcquired(EchonetObject device) {}
protected virtual void OnPropertyMapAcquiring(EchonetObject device) {}
public ValueTask RequestNotifyInstanceListAsync(IPAddress? destinationNodeAddress = null, CancellationToken cancellationToken = default) {}
public async Task RequestNotifyInstanceListAsync<TState>(IPAddress? destinationNodeAddress, Func<EchonetNode, TState, bool> onInstanceListUpdated, TState state, CancellationToken cancellationToken = default) {}
public ValueTask RequestNotifyOneWayAsync(EOJ sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<byte> propertyCodes, CancellationToken cancellationToken = default) {}
public async ValueTask<EchonetServiceResponse> RequestReadAsync(EOJ sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<byte> propertyCodes, CancellationToken cancellationToken = default) {}
public async ValueTask<EchonetServiceResponse> RequestWriteAsync(EOJ sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<PropertyValue> properties, CancellationToken cancellationToken = default) {}
public async ValueTask RequestWriteOneWayAsync(EOJ sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<PropertyValue> properties, CancellationToken cancellationToken = default) {}
public async ValueTask<(EchonetServiceResponse SetResponse, EchonetServiceResponse GetResponse)> RequestWriteReadAsync(EOJ sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<PropertyValue> propertiesToSet, IEnumerable<byte> propertyCodesToGet, CancellationToken cancellationToken = default) {}
void IEventInvoker.InvokeEvent<TEventArgs>(object? sender, EventHandler<TEventArgs>? eventHandler, TEventArgs e) {}
protected void ThrowIfDisposed() {}
}
public class EchonetDevice : EchonetObject {
public EchonetDevice(byte classGroupCode, byte classCode, byte instanceCode) {}
public override byte ClassCode { get; }
public override byte ClassGroupCode { get; }
public override bool HasPropertyMapAcquired { get; }
public override byte InstanceCode { get; }
public override IReadOnlyDictionary<byte, EchonetProperty> Properties { get; }
protected virtual EchonetProperty CreateProperty(byte propertyCode) {}
protected virtual EchonetProperty CreateProperty(byte propertyCode, bool canSet, bool canGet, bool canAnnounceStatusChange) {}
}
public abstract class EchonetNode {
public static EchonetNode CreateSelfNode(EchonetObject nodeProfile, IEnumerable<EchonetObject> devices) {}
public static EchonetNode CreateSelfNode(IEnumerable<EchonetObject> devices) {}
public event EventHandler<NotifyCollectionChangedEventArgs>? DevicesChanged;
public abstract IPAddress Address { get; }
public abstract IReadOnlyCollection<EchonetObject> Devices { get; }
public EchonetObject NodeProfile { get; }
}
public abstract class EchonetObject {
public static EchonetObject Create(IEchonetObjectSpecification objectDetail, byte instanceCode) {}
public static EchonetObject CreateNodeProfile(bool transmissionOnly = false) {}
public event EventHandler<NotifyCollectionChangedEventArgs>? PropertiesChanged;
public abstract byte ClassCode { get; }
public abstract byte ClassGroupCode { get; }
protected virtual IEventInvoker EventInvoker { get; }
public abstract bool HasPropertyMapAcquired { get; }
public abstract byte InstanceCode { get; }
public EchonetNode Node { get; }
public abstract IReadOnlyDictionary<byte, EchonetProperty> Properties { get; }
public override string ToString() {}
}
public static class EchonetObjectExtensions {
public static ValueTask NotifyPropertiesOneWayMulticastAsync(this EchonetObject sourceObject, IEnumerable<byte> notifyPropertyCodes, EOJ destinationObject, CancellationToken cancellationToken = default) {}
public static async ValueTask<EchonetServiceResponse> ReadPropertiesAsync(this EchonetObject destinationObject, IEnumerable<byte> readPropertyCodes, EchonetObject sourceObject, CancellationToken cancellationToken = default) {}
public static ValueTask RequestNotifyPropertiesOneWayAsync(this EchonetObject sourceObject, IPAddress? destinationNodeAddress, EOJ destinationObject, IEnumerable<byte> requestNotifyPropertyCodes, CancellationToken cancellationToken = default) {}
public static async ValueTask<EchonetServiceResponse> WritePropertiesAsync(this EchonetObject destinationObject, IEnumerable<byte> writePropertyCodes, EchonetObject sourceObject, CancellationToken cancellationToken = default) {}
public static async ValueTask WritePropertiesOneWayAsync(this EchonetObject destinationObject, IEnumerable<byte> writePropertyCodes, EchonetObject sourceObject, CancellationToken cancellationToken = default) {}
public static async ValueTask<(EchonetServiceResponse SetResponse, EchonetServiceResponse GetResponse)> WriteReadPropertiesAsync(this EchonetObject destinationObject, IEnumerable<byte> writePropertyCodes, IEnumerable<byte> readPropertyCodes, EchonetObject sourceObject, CancellationToken cancellationToken = default) {}
}
public abstract class EchonetProperty {
public event EventHandler<(ReadOnlyMemory<byte> OldValue, ReadOnlyMemory<byte> NewValue)>? ValueChanged;
protected EchonetProperty() {}
public abstract bool CanAnnounceStatusChange { get; }
public abstract bool CanGet { get; }
public abstract bool CanSet { get; }
public abstract byte Code { get; }
public abstract EchonetObject Device { get; }
protected virtual IEventInvoker EventInvoker { get; }
public bool HasModified { get; }
public DateTimeOffset LastUpdatedTime { get; }
protected virtual TimeProvider TimeProvider { get; }
public ReadOnlyMemory<byte> ValueMemory { get; }
public ReadOnlySpan<byte> ValueSpan { get; }
internal protected virtual bool IsAcceptableValue(ReadOnlySpan<byte> edt) {}
public void SetValue(ReadOnlyMemory<byte> newValue, bool raiseValueChangedEvent = false, bool setLastUpdatedTime = false) {}
public override string ToString() {}
public void WriteValue(Action<IBufferWriter<byte>> write, bool raiseValueChangedEvent = false, bool setLastUpdatedTime = false) {}
}
public readonly struct EchonetServiceResponse {
public bool IsSuccess { get; init; }
public IReadOnlyDictionary<EchonetProperty, EchonetServicePropertyResult> Properties { get; init; }
}
}
namespace Smdn.Net.EchonetLite.ComponentModel {
public interface IEventInvoker {
ISynchronizeInvoke? SynchronizingObject { get; set; }
void InvokeEvent<TEventArgs>(object? sender, EventHandler<TEventArgs>? eventHandler, TEventArgs e);
}
}
namespace Smdn.Net.EchonetLite.ObjectModel {
public delegate void EchonetPropertyValueFormatter<in TValue>(IBufferWriter<byte> writer, TValue @value) where TValue : notnull;
public delegate bool EchonetPropertyValueParser<TValue>(ReadOnlySpan<byte> data, out TValue @value) where TValue : notnull;
public interface IEchonetPropertyAccessor {
EchonetProperty BaseProperty { get; }
bool IsAvailable { get; }
byte PropertyCode { get; }
}
public interface IEchonetPropertyGetAccessor<TValue> : IEchonetPropertyAccessor {
TValue Value { get; }
bool TryGetValue(out TValue @value);
}
public interface IEchonetPropertySetGetAccessor<TValue> : IEchonetPropertyGetAccessor<TValue> {
new TValue Value { get; set; }
}
public abstract class DeviceSuperClass : EchonetDevice {
protected DeviceSuperClass(byte classGroupCode, byte classCode, byte instanceCode) {}
public IEchonetPropertyGetAccessor<DateTime> CurrentDateAndTime { get; }
public IEchonetPropertyGetAccessor<TimeSpan> CurrentTimeSetting { get; }
public IEchonetPropertyGetAccessor<bool> FaultStatus { get; }
public IEchonetPropertyGetAccessor<byte> InstallationLocation { get; }
public IEchonetPropertyGetAccessor<int> Manufacturer { get; }
public IEchonetPropertyGetAccessor<bool> OperationStatus { get; }
public IEchonetPropertyGetAccessor<(string Release, int Revision)> Protocol { get; }
public IEchonetPropertyGetAccessor<string> SerialNumber { get; }
protected IEchonetPropertyGetAccessor<TValue> CreateAccessor<TValue>(byte propertyCode, EchonetPropertyValueParser<TValue> tryParseValue) where TValue : notnull {}
protected IEchonetPropertySetGetAccessor<TValue> CreateAccessor<TValue>(byte propertyCode, EchonetPropertyValueParser<TValue> tryParseValue, EchonetPropertyValueFormatter<TValue> formatValue) where TValue : notnull {}
}
public class EchonetPropertyInvalidValueException : InvalidOperationException {
public EchonetPropertyInvalidValueException() {}
public EchonetPropertyInvalidValueException(EchonetObject deviceObject, EchonetProperty property) {}
public EchonetPropertyInvalidValueException(string? message) {}
public EchonetPropertyInvalidValueException(string? message, Exception? innerException) {}
public EchonetObject? DeviceObject { get; }
public EchonetProperty? Property { get; }
}
public class EchonetPropertyNotAvailableException : InvalidOperationException {
public EchonetPropertyNotAvailableException() {}
public EchonetPropertyNotAvailableException(EchonetObject deviceObject, byte propertyCode) {}
public EchonetPropertyNotAvailableException(string? message) {}
public EchonetPropertyNotAvailableException(string? message, Exception? innerException) {}
public EchonetObject? DeviceObject { get; }
public byte? PropertyCode { get; }
}
}
namespace Smdn.Net.EchonetLite.Protocol {
public enum EHD1 : byte {
EchonetLite = 16,
MaskEchonet = 128,
None = 0,
}
public enum EHD2 : byte {
Format1 = 129,
Format2 = 130,
}
public enum ESV : byte {
Get = 98,
GetResponse = 114,
GetServiceNotAvailable = 82,
Inf = 115,
InfC = 116,
InfCResponse = 122,
InfRequest = 99,
InfServiceNotAvailable = 83,
Invalid = 0,
SetC = 97,
SetCServiceNotAvailable = 81,
SetGet = 110,
SetGetResponse = 126,
SetGetServiceNotAvailable = 94,
SetI = 96,
SetIServiceNotAvailable = 80,
SetResponse = 113,
}
public static class ESVExtensions {
public static string ToSymbolString(this ESV esv) {}
}
public static class FrameSerializer {
public static void SerializeEchonetLiteFrameFormat1(IBufferWriter<byte> buffer, int tid, EOJ sourceObject, EOJ destinationObject, ESV esv, IEnumerable<PropertyValue> properties) {}
public static void SerializeEchonetLiteFrameFormat1(IBufferWriter<byte> buffer, int tid, EOJ sourceObject, EOJ destinationObject, ESV esv, IEnumerable<PropertyValue> propertiesForSet, IEnumerable<PropertyValue> propertiesForGet) {}
public static void SerializeEchonetLiteFrameFormat2(IBufferWriter<byte> buffer, ushort tid, ReadOnlySpan<byte> edata) {}
public static bool TryDeserialize(ReadOnlyMemory<byte> bytes, out EHD1 ehd1, out EHD2 ehd2, out int tid, out ReadOnlyMemory<byte> edata) {}
public static bool TryDeserialize(ReadOnlySpan<byte> bytes, out EHD1 ehd1, out EHD2 ehd2, out int tid, out ReadOnlySpan<byte> edata) {}
public static bool TryParseEDataAsFormat1Message(ReadOnlySpan<byte> bytes, out Format1Message message) {}
}
public static class PropertyContentSerializer {
public static bool TryDeserializeInstanceListNotification(ReadOnlySpan<byte> content, [NotNullWhen(true)] out IReadOnlyList<EOJ>? instanceList) {}
public static bool TryDeserializePropertyMap(ReadOnlySpan<byte> content, [NotNullWhen(true)] out IReadOnlyList<byte>? propertyMap) {}
public static bool TrySerializeInstanceListNotification(IEnumerable<EOJ> instanceList, Span<byte> destination, out int bytesWritten) {}
}
public readonly struct EOJ : IEquatable<EOJ> {
public static readonly EOJ NodeProfile; // = "0E.F0 00"
public static bool AreSame(EOJ x, EOJ y) {}
public static bool operator == (EOJ c1, EOJ c2) {}
public static bool operator != (EOJ c1, EOJ c2) {}
public EOJ(byte classGroupCode, byte classCode, byte instanceCode) {}
public byte ClassCode { get; }
public byte ClassGroupCode { get; }
public byte InstanceCode { get; }
public bool Equals(EOJ other) {}
public override bool Equals(object? obj) {}
public override int GetHashCode() {}
public override string ToString() {}
}
public readonly struct Format1Message {
public Format1Message(EOJ seoj, EOJ deoj, ESV esv, IReadOnlyList<PropertyValue> properties) {}
public Format1Message(EOJ seoj, EOJ deoj, ESV esv, IReadOnlyList<PropertyValue> propertiesForSet, IReadOnlyList<PropertyValue> propertiesForGet) {}
public EOJ DEOJ { get; }
public ESV ESV { get; }
public EOJ SEOJ { get; }
public IReadOnlyList<PropertyValue> GetProperties() {}
public (IReadOnlyList<PropertyValue> PropertiesForSet, IReadOnlyList<PropertyValue> PropertiesForGet) GetPropertiesForSetAndGet() {}
public override string ToString() {}
}
public readonly struct PropertyValue {
public PropertyValue(byte epc) {}
public PropertyValue(byte epc, ReadOnlyMemory<byte> edt) {}
public ReadOnlyMemory<byte> EDT { get; }
public byte EPC { get; }
public byte PDC { get; }
}
}
namespace Smdn.Net.EchonetLite.Specifications {
public abstract class EchonetDeviceObjectDetail : IEchonetObjectSpecification {
protected static class PropertyDetails {
public static IReadOnlyList<IEchonetPropertySpecification> Properties { get; }
}
public static IEchonetObjectSpecification Controller { get; }
protected EchonetDeviceObjectDetail() {}
public abstract byte ClassCode { get; }
public abstract byte ClassGroupCode { get; }
public abstract IEnumerable<IEchonetPropertySpecification> Properties { get; }
}
public abstract class EchonetProfileObjectDetail : IEchonetObjectSpecification {
protected static class PropertyDetails {
public static IReadOnlyList<IEchonetPropertySpecification> Properties { get; }
}
public static IEchonetObjectSpecification NodeProfile { get; }
protected EchonetProfileObjectDetail() {}
public abstract byte ClassCode { get; }
public byte ClassGroupCode { get; }
public abstract IEnumerable<IEchonetPropertySpecification> Properties { get; }
}
}
namespace Smdn.Net.EchonetLite.Transport {
public class UdpEchonetLiteHandler : EchonetLiteHandler {
public UdpEchonetLiteHandler(ILogger<UdpEchonetLiteHandler> logger) {}
public override IPAddress? LocalAddress { get; }
public override ISynchronizeInvoke? SynchronizingObject { get; set; }
protected override void Dispose(bool disposing) {}
protected override ValueTask DisposeAsyncCore() {}
protected override async ValueTask<IPAddress> ReceiveAsyncCore(IBufferWriter<byte> buffer, CancellationToken cancellationToken) {}
protected override async ValueTask SendAsyncCore(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) {}
protected override async ValueTask SendToAsyncCore(IPAddress remoteAddress, ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken) {}
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- Smdn.Net.EchonetLite.Primitives (>= 2.0.0-preview1)
-
net6.0
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- Smdn.Net.EchonetLite.Primitives (>= 2.0.0-preview1)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- Smdn.Net.EchonetLite.Primitives (>= 2.0.0-preview1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Smdn.Net.EchonetLite:
Package | Downloads |
---|---|
Smdn.Net.EchonetLite.RouteB
Provides an application layer implementation for communication via the **route-B**, based on the specifications described in the "Interface Specifications for Application Layer Communication between Smart Electric Energy Meters and Controllers". Provides APIs such as the `HemsController` class, which implements the "HEMS controller" in the specification, and the `LowVoltageSmartElectricEnergyMeter` class, which implements the "Requirements for low-voltage smart electric energy meter class". 「低圧スマート電力量メータ・HEMS コントローラ間アプリケーション通信インタフェース仕様書」に記載されている仕様に基づく、「Bルート」を介した通信を行うアプリケーション層の実装を提供します。 同仕様書における「HEMS コントローラ」に相当する`HemsController`クラス、「低圧スマート電力量メータクラス規定」を実装する`LowVoltageSmartElectricEnergyMeter`クラスなどのAPIを提供します。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-preview2 | 106 | 10/16/2024 |
2.0.0-preview1 | 137 | 4/4/2024 |
1.0.0 | 152 | 3/30/2024 |