MakoIoT.Device.Services.Mqtt 1.0.67.33515

dotnet add package MakoIoT.Device.Services.Mqtt --version 1.0.67.33515
NuGet\Install-Package MakoIoT.Device.Services.Mqtt -Version 1.0.67.33515
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.67.33515" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Services.Mqtt --version 1.0.67.33515
#r "nuget: MakoIoT.Device.Services.Mqtt, 1.0.67.33515"
#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.Mqtt as a Cake Addin
#addin nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.67.33515

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

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 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

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.67.33515 84 4/9/2024
1.0.66.2883 84 4/3/2024
1.0.65.24391 86 3/22/2024
1.0.64.42300 99 1/29/2024
1.0.63.14028 81 1/26/2024
1.0.62.55610 80 1/24/2024
1.0.61.2487 81 1/21/2024
1.0.60.51359 79 1/18/2024
1.0.59.53296 123 1/6/2024
1.0.58.28276 99 12/30/2023
1.0.57.65275 96 12/19/2023
1.0.56.1879 137 12/7/2023
1.0.55.57189 108 12/1/2023
1.0.54.53240 117 11/17/2023
1.0.53.13079 104 11/16/2023
1.0.52.5276 116 11/11/2023
1.0.51.16140 87 11/11/2023
1.0.50.10084 122 11/10/2023
1.0.49.24300 89 11/9/2023
1.0.48.7262 94 11/8/2023
1.0.47.3629 125 10/10/2023
1.0.46.48767 140 10/6/2023
1.0.45.28635 119 10/4/2023
1.0.44.4324 157 8/28/2023
1.0.43.28154 159 7/5/2023
1.0.41.213 174 5/24/2023
1.0.40.43790 180 5/24/2023
1.0.39.18424 161 5/24/2023
1.0.38.21648 149 5/24/2023
1.0.37.32290 148 5/24/2023
1.0.36.3601 181 5/24/2023
1.0.35.59768 155 5/24/2023
1.0.34.15907 143 5/24/2023
1.0.33.39266 182 5/24/2023
1.0.32.44233 180 5/24/2023
1.0.31.29392 176 5/24/2023
1.0.30.64024 168 5/23/2023
1.0.29.57486 180 5/23/2023
1.0.28.39140 174 5/23/2023
1.0.27.63214 172 5/23/2023
1.0.25.12525 162 5/23/2023
1.0.23.10489 179 5/22/2023
1.0.22.27134 155 5/22/2023