MakoIoT.Device.Services.Mqtt
1.0.47.3629
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MakoIoT.Device.Services.Mqtt --version 1.0.47.3629
NuGet\Install-Package MakoIoT.Device.Services.Mqtt -Version 1.0.47.3629
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.47.3629" />
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.47.3629
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MakoIoT.Device.Services.Mqtt, 1.0.47.3629"
#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.47.3629 // Install MakoIoT.Device.Services.Mqtt as a Cake Tool #tool nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.47.3629
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 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- MakoIoT.Device.Services.Interface (>= 1.0.36.21434)
- MakoIoT.Device.Utilities.String (>= 1.0.31.17475)
- nanoFramework.CoreLibrary (>= 1.14.2)
- nanoFramework.DependencyInjection (>= 1.0.35)
- nanoFramework.Logging (>= 1.1.63)
- nanoFramework.M2Mqtt (>= 5.1.96)
- nanoFramework.Runtime.Events (>= 1.11.6)
- nanoFramework.Runtime.Native (>= 1.6.6)
- nanoFramework.System.Collections (>= 1.5.18)
- nanoFramework.System.IO.Streams (>= 1.1.38)
- nanoFramework.System.Net (>= 1.10.62)
- nanoFramework.System.Text (>= 1.2.37)
- nanoFramework.System.Threading (>= 1.1.19)
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.85.31353 | 107 | 10/19/2024 |
1.0.84.27258 | 111 | 10/18/2024 |
1.0.83.27245 | 78 | 10/11/2024 |
1.0.82.16599 | 77 | 10/10/2024 |
1.0.81.25762 | 79 | 9/26/2024 |
1.0.80.11411 | 91 | 8/28/2024 |
1.0.79.8560 | 84 | 8/27/2024 |
1.0.78.52799 | 122 | 8/11/2024 |
1.0.77.62872 | 100 | 8/10/2024 |
1.0.76.5164 | 55 | 8/5/2024 |
1.0.75.35989 | 59 | 7/30/2024 |
1.0.74.32753 | 60 | 7/29/2024 |
1.0.72.37305 | 108 | 6/6/2024 |
1.0.71.13304 | 102 | 6/4/2024 |
1.0.70.44575 | 104 | 5/13/2024 |
1.0.69.31668 | 109 | 5/10/2024 |
1.0.68.22875 | 114 | 4/30/2024 |
1.0.67.33515 | 116 | 4/9/2024 |
1.0.66.2883 | 110 | 4/3/2024 |
1.0.65.24391 | 113 | 3/22/2024 |
1.0.64.42300 | 131 | 1/29/2024 |
1.0.63.14028 | 106 | 1/26/2024 |
1.0.62.55610 | 109 | 1/24/2024 |
1.0.61.2487 | 106 | 1/21/2024 |
1.0.60.51359 | 108 | 1/18/2024 |
1.0.59.53296 | 152 | 1/6/2024 |
1.0.58.28276 | 128 | 12/30/2023 |
1.0.57.65275 | 127 | 12/19/2023 |
1.0.56.1879 | 159 | 12/7/2023 |
1.0.55.57189 | 143 | 12/1/2023 |
1.0.54.53240 | 143 | 11/17/2023 |
1.0.53.13079 | 132 | 11/16/2023 |
1.0.52.5276 | 152 | 11/11/2023 |
1.0.51.16140 | 112 | 11/11/2023 |
1.0.50.10084 | 150 | 11/10/2023 |
1.0.49.24300 | 113 | 11/9/2023 |
1.0.48.7262 | 119 | 11/8/2023 |
1.0.47.3629 | 150 | 10/10/2023 |
1.0.46.48767 | 166 | 10/6/2023 |
1.0.45.28635 | 149 | 10/4/2023 |
1.0.44.4324 | 186 | 8/28/2023 |
1.0.43.28154 | 183 | 7/5/2023 |
1.0.41.213 | 200 | 5/24/2023 |
1.0.40.43790 | 204 | 5/24/2023 |
1.0.39.18424 | 185 | 5/24/2023 |
1.0.38.21648 | 180 | 5/24/2023 |
1.0.37.32290 | 169 | 5/24/2023 |
1.0.36.3601 | 208 | 5/24/2023 |
1.0.35.59768 | 190 | 5/24/2023 |
1.0.34.15907 | 163 | 5/24/2023 |
1.0.33.39266 | 212 | 5/24/2023 |
1.0.32.44233 | 203 | 5/24/2023 |
1.0.31.29392 | 202 | 5/24/2023 |
1.0.30.64024 | 198 | 5/23/2023 |
1.0.29.57486 | 201 | 5/23/2023 |
1.0.28.39140 | 203 | 5/23/2023 |
1.0.27.63214 | 194 | 5/23/2023 |
1.0.25.12525 | 188 | 5/23/2023 |
1.0.23.10489 | 205 | 5/22/2023 |
1.0.22.27134 | 176 | 5/22/2023 |