MakoIoT.Device.Services.Interface
1.0.48.22567
dotnet add package MakoIoT.Device.Services.Interface --version 1.0.48.22567
NuGet\Install-Package MakoIoT.Device.Services.Interface -Version 1.0.48.22567
<PackageReference Include="MakoIoT.Device.Services.Interface" Version="1.0.48.22567" />
paket add MakoIoT.Device.Services.Interface --version 1.0.48.22567
#r "nuget: MakoIoT.Device.Services.Interface, 1.0.48.22567"
// Install MakoIoT.Device.Services.Interface as a Cake Addin #addin nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.48.22567 // Install MakoIoT.Device.Services.Interface as a Cake Tool #tool nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.48.22567
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.15.5)
- nanoFramework.DependencyInjection (>= 1.1.11)
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 | 966 | 11/28/2024 |
1.0.47.44904 | 8,808 | 8/5/2024 |
1.0.46.2905 | 7,827 | 3/22/2024 |
1.0.45.4694 | 4,928 | 1/5/2024 |
1.0.44.15980 | 1,003 | 12/30/2023 |
1.0.43.29288 | 5,177 | 12/1/2023 |
1.0.42.48151 | 1,572 | 11/17/2023 |
1.0.41.25178 | 799 | 11/15/2023 |
1.0.40.57355 | 1,319 | 11/10/2023 |
1.0.39.3768 | 511 | 11/9/2023 |
1.0.38.18612 | 632 | 11/7/2023 |
1.0.37.9044 | 161 | 11/7/2023 |
1.0.36.21434 | 3,140 | 10/6/2023 |
1.0.34.44535 | 3,737 | 5/24/2023 |
1.0.32.41550 | 2,443 | 5/22/2023 |
1.0.31.43304 | 347 | 5/22/2023 |
1.0.30.59281 | 1,670 | 5/22/2023 |