MakoIoT.Device.Services.Interface
1.0.36.21434
See the version list below for details.
dotnet add package MakoIoT.Device.Services.Interface --version 1.0.36.21434
NuGet\Install-Package MakoIoT.Device.Services.Interface -Version 1.0.36.21434
<PackageReference Include="MakoIoT.Device.Services.Interface" Version="1.0.36.21434" />
paket add MakoIoT.Device.Services.Interface --version 1.0.36.21434
#r "nuget: MakoIoT.Device.Services.Interface, 1.0.36.21434"
// Install MakoIoT.Device.Services.Interface as a Cake Addin #addin nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.36.21434 // Install MakoIoT.Device.Services.Interface as a Cake Tool #tool nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.36.21434
Mako-IoT.Device.Services.Interface
Interfaces for most of MAKO IoT components. Start building your app here 😃
Device
See Mako-IoT.Device
IDevice, IDeviceBuilder, IDeviceStartBehavior
Configuration
See Mako-IoT.Device.Services.Configuration
IConfigurationService
Communication
ICommunicationService abstracts data transport logic. Currently MAKO-IoT provides MQTT implementation.
Example
//attach message received handler
_communicationService.MessageReceived += OnMessageReceived;
_communicationService.Connect(topicsToSubscribe);
//publish message
_communicationService.Publish(message, topic);
//send message to recipient
_communicationService.Send(message, recipient);
_communicationService.Disconnect();
internal void OnMessageReceived(object sender, EventArgs e)
{
var message = (string)((ObjectEventArgs)e).Data;
//[...]
}
Data Providers
See Mako-IoT.Device.Services.DataProviders
IDataProvider
Message Bus
See Mako-IoT.Device.Services.Messaging
IMessageBus, IConsumer, ConsumeContext, ConsumeStrategy
Networking
INetworkProvider provides basic network connectivity functions. Currently MAKO-IoT provides WiFi implementation.
Example
if (!_networkProvider.IsConnected)
{
_networkProvider.Connect();
if (!_networkProvider.IsConnected)
throw new NotConnectedException("Could not connect to network");
}
Scheduler
See Mako-IoT.Device.Services.Scheduler
IScheduler, ITask
Storage
IStorageService provides persistent storage functions. Currently MAKO-IoT provides NVS Flash storage implementation.
Example
bool fileExists = _storage.FileExists(fileName);
//read file
contents = _storage.ReadFile(fileName);
//write to file
_storage.WriteToFile(fileName, contents);
//delete file
_storage.DeleteFile(file);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- nanoFramework.CoreLibrary (>= 1.14.2)
- nanoFramework.DependencyInjection (>= 1.0.35)
NuGet packages (24)
Showing the top 5 NuGet packages that depend on MakoIoT.Device.Services.Interface:
Package | Downloads |
---|---|
MakoIoT.Device.Services.ConfigurationManager
Configuration mode manager for MAKO-IoT |
|
MakoIoT.Device.Services.Server
Simple WebServer for .NET nanoFramework C# projects. Based on nanoFramework.WebServer by Laurent Ellerbach and contributors |
|
MakoIoT.Device.Services.WiFi.AP
WiFi Access Point library for MAKO-IoT |
|
MakoIoT.Device.Services.ConfigurationApi
REST API for configuration with MAKO-IoT |
|
MakoIoT.Device.Services.Mediator
MAKO-IoT simple mediator library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.48.22567 | 0 | 11/28/2024 |
1.0.47.44904 | 8,245 | 8/5/2024 |
1.0.46.2905 | 7,752 | 3/22/2024 |
1.0.45.4694 | 4,921 | 1/5/2024 |
1.0.44.15980 | 998 | 12/30/2023 |
1.0.43.29288 | 4,978 | 12/1/2023 |
1.0.42.48151 | 1,567 | 11/17/2023 |
1.0.41.25178 | 794 | 11/15/2023 |
1.0.40.57355 | 1,314 | 11/10/2023 |
1.0.39.3768 | 506 | 11/9/2023 |
1.0.38.18612 | 627 | 11/7/2023 |
1.0.37.9044 | 154 | 11/7/2023 |
1.0.36.21434 | 3,135 | 10/6/2023 |
1.0.34.44535 | 3,732 | 5/24/2023 |
1.0.32.41550 | 2,438 | 5/22/2023 |
1.0.31.43304 | 342 | 5/22/2023 |
1.0.30.59281 | 1,665 | 5/22/2023 |