MakoIoT.Device.Services.Mqtt 1.0.102.36420

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Services.Mqtt --version 1.0.102.36420
                    
NuGet\Install-Package MakoIoT.Device.Services.Mqtt -Version 1.0.102.36420
                    
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.102.36420" />
                    
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.102.36420" />
                    
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.102.36420
                    
#r "nuget: MakoIoT.Device.Services.Mqtt, 1.0.102.36420"
                    
#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.102.36420
                    
#: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.102.36420
                    
Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.102.36420
                    
Install as a Cake Tool

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.104.13410 32 9/28/2025
1.0.103.50757 33 9/27/2025
1.0.102.36420 157 7/16/2025
1.0.101.51455 164 4/25/2025
1.0.100.50675 204 4/24/2025
1.0.99.20914 189 4/23/2025
1.0.98.18629 201 4/3/2025
1.0.97.14621 183 4/2/2025
1.0.96.35527 204 3/11/2025
1.0.95.881 199 3/10/2025
1.0.94.44847 241 3/3/2025
1.0.93.5981 146 2/27/2025
1.0.92.15519 138 2/26/2025
1.0.91.48089 141 2/25/2025
1.0.90.17501 148 2/20/2025
1.0.89.19191 161 2/20/2025
1.0.88.1330 155 2/18/2025
1.0.87.45231 150 11/28/2024
1.0.86.15438 152 11/25/2024
1.0.85.31353 175 10/19/2024
1.0.84.27258 187 10/18/2024
1.0.83.27245 146 10/11/2024
1.0.82.16599 135 10/10/2024
1.0.81.25762 149 9/26/2024
1.0.80.11411 146 8/28/2024
1.0.79.8560 147 8/27/2024
1.0.78.52799 183 8/11/2024
1.0.77.62872 160 8/10/2024
1.0.76.5164 117 8/5/2024
1.0.75.35989 123 7/30/2024
1.0.74.32753 121 7/29/2024
1.0.72.37305 168 6/6/2024
1.0.71.13304 161 6/4/2024
1.0.70.44575 165 5/13/2024
1.0.69.31668 169 5/10/2024
1.0.68.22875 177 4/30/2024
1.0.67.33515 173 4/9/2024
1.0.66.2883 180 4/3/2024
1.0.65.24391 169 3/22/2024
1.0.64.42300 190 1/29/2024
1.0.63.14028 164 1/26/2024
1.0.62.55610 154 1/24/2024
1.0.61.2487 151 1/21/2024
1.0.60.51359 157 1/18/2024
1.0.59.53296 211 1/6/2024
1.0.58.28276 183 12/30/2023
1.0.57.65275 176 12/19/2023
1.0.56.1879 196 12/7/2023
1.0.55.57189 201 12/1/2023
1.0.54.53240 173 11/17/2023
1.0.53.13079 192 11/16/2023
1.0.52.5276 192 11/11/2023
1.0.51.16140 144 11/11/2023
1.0.50.10084 199 11/10/2023
1.0.49.24300 157 11/9/2023
1.0.48.7262 165 11/8/2023
1.0.47.3629 198 10/10/2023
1.0.46.48767 213 10/6/2023
1.0.45.28635 195 10/4/2023
1.0.44.4324 246 8/28/2023
1.0.43.28154 254 7/5/2023
1.0.41.213 280 5/24/2023
1.0.40.43790 289 5/24/2023
1.0.39.18424 269 5/24/2023
1.0.38.21648 262 5/24/2023
1.0.37.32290 247 5/24/2023
1.0.36.3601 290 5/24/2023
1.0.35.59768 278 5/24/2023
1.0.34.15907 245 5/24/2023
1.0.33.39266 296 5/24/2023
1.0.32.44233 283 5/24/2023
1.0.31.29392 289 5/24/2023
1.0.30.64024 280 5/23/2023
1.0.29.57486 284 5/23/2023
1.0.28.39140 281 5/23/2023
1.0.27.63214 266 5/23/2023
1.0.25.12525 266 5/23/2023
1.0.23.10489 280 5/22/2023
1.0.22.27134 254 5/22/2023