MakoIoT.Device.Services.Interface 1.0.36.21434

There is a newer version of this package available.
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                
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.36.21434" />                
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.36.21434                
#r "nuget: MakoIoT.Device.Services.Interface, 1.0.36.21434"                
#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.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 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.Mediator

MAKO-IoT simple mediator library

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.47.44904 6,545 8/5/2024
1.0.46.2905 7,699 3/22/2024
1.0.45.4694 4,919 1/5/2024
1.0.44.15980 996 12/30/2023
1.0.43.29288 4,906 12/1/2023
1.0.42.48151 1,563 11/17/2023
1.0.41.25178 790 11/15/2023
1.0.40.57355 1,312 11/10/2023
1.0.39.3768 503 11/9/2023
1.0.38.18612 625 11/7/2023
1.0.37.9044 150 11/7/2023
1.0.36.21434 3,133 10/6/2023
1.0.34.44535 3,730 5/24/2023
1.0.32.41550 2,433 5/22/2023
1.0.31.43304 338 5/22/2023
1.0.30.59281 1,662 5/22/2023