VOOZH about

URL: https://www.nuget.org/packages/MakoIoT.Device.Services.Mqtt/

⇱ NuGet Gallery | MakoIoT.Device.Services.Mqtt 1.0.104.13410




MakoIoT.Device.Services.Mqtt 1.0.104.13410

dotnet add package MakoIoT.Device.Services.Mqtt --version 1.0.104.13410
 
 
NuGet\Install-Package MakoIoT.Device.Services.Mqtt -Version 1.0.104.13410
 
 
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.Mqtt" Version="1.0.104.13410" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MakoIoT.Device.Services.Mqtt" Version="1.0.104.13410" />
 
Directory.Packages.props
<PackageReference Include="MakoIoT.Device.Services.Mqtt" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MakoIoT.Device.Services.Mqtt --version 1.0.104.13410
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MakoIoT.Device.Services.Mqtt, 1.0.104.13410"
 
 
#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.
#:package MakoIoT.Device.Services.Mqtt@1.0.104.13410
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.104.13410
 
Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.104.13410
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Mako-IoT.Device.Services.Mqtt

ICommunicationService implementation with MQTT as transport layer. Uses M2MQTT library.

Usage

Add MQTT and configuration in DeviceBuilder

DeviceBuilder.Create()
 .AddWiFi()
 .AddMqtt()
 .AddConfiguration(cfg =>
 {
 cfg.WriteDefault(WiFiConfig.SectionName, new WiFiConfig
 {
 Ssid = "",
 Password = ""
 });
 cfg.WriteDefault(MqttConfig.SectionName, new MqttConfig
 {
 BrokerAddress = "test.mosquitto.org",
 Port = 8883,
 UseTLS = true,
 CACert = "...", //broker's TLS certificate
 ClientId = "device1",
 TopicPrefix = "mako-iot-test", //prefix for pub-sub topics
 PublishQoS = 1, //QoS for published messages (0-2)
 PublishRetain = false //retain flag for published messages
 });
 })
 .Build()
 .Start();

ICommunicationService

See example in MessageBus class.

Product Versions Compatible and additional computed target framework versions.
.NET Framework net net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.104.13410 270 9/28/2025
1.0.103.50757 163 9/27/2025
1.0.102.36420 236 7/16/2025
1.0.101.51455 269 4/25/2025
1.0.100.50675 272 4/24/2025
1.0.99.20914 258 4/23/2025
1.0.98.18629 269 4/3/2025
1.0.97.14621 262 4/2/2025
1.0.96.35527 283 3/11/2025
1.0.95.881 271 3/10/2025
1.0.94.44847 313 3/3/2025
1.0.93.5981 215 2/27/2025
1.0.92.15519 219 2/26/2025
1.0.91.48089 210 2/25/2025
1.0.90.17501 218 2/20/2025
1.0.89.19191 260 2/20/2025
1.0.88.1330 218 2/18/2025
1.0.87.45231 221 11/28/2024
1.0.86.15438 226 11/25/2024
1.0.85.31353 243 10/19/2024
Loading failed