MakoIoT.Device.Services.Interface 1.0.46.2905

dotnet add package MakoIoT.Device.Services.Interface --version 1.0.46.2905
NuGet\Install-Package MakoIoT.Device.Services.Interface -Version 1.0.46.2905
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MakoIoT.Device.Services.Interface" Version="1.0.46.2905" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Services.Interface --version 1.0.46.2905
#r "nuget: MakoIoT.Device.Services.Interface, 1.0.46.2905"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MakoIoT.Device.Services.Interface as a Cake Addin
#addin nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.46.2905

// Install MakoIoT.Device.Services.Interface as a Cake Tool
#tool nuget:?package=MakoIoT.Device.Services.Interface&version=1.0.46.2905

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 Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.Configuration.Metadata

Configuration metadata tools for MAKO-IoT device config API and app.

MakoIoT.Device.Services.ConfigurationApi

REST API for configuration with MAKO-IoT

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.46.2905 2,478 3/22/2024
1.0.45.4694 3,576 1/5/2024
1.0.44.15980 734 12/30/2023
1.0.43.29288 3,212 12/1/2023
1.0.42.48151 1,185 11/17/2023
1.0.41.25178 567 11/15/2023
1.0.40.57355 940 11/10/2023
1.0.39.3768 360 11/9/2023
1.0.38.18612 453 11/7/2023
1.0.37.9044 119 11/7/2023
1.0.36.21434 2,378 10/6/2023
1.0.34.44535 3,027 5/24/2023
1.0.32.41550 1,994 5/22/2023
1.0.31.43304 277 5/22/2023
1.0.30.59281 1,308 5/22/2023