![]() |
VOOZH | about |
dotnet add package MakoIoT.Device.Services.Mqtt --version 1.0.104.13410
NuGet\Install-Package MakoIoT.Device.Services.Mqtt -Version 1.0.104.13410
<PackageReference Include="MakoIoT.Device.Services.Mqtt" Version="1.0.104.13410" />
<PackageVersion Include="MakoIoT.Device.Services.Mqtt" Version="1.0.104.13410" />Directory.Packages.props
<PackageReference Include="MakoIoT.Device.Services.Mqtt" />Project file
paket add MakoIoT.Device.Services.Mqtt --version 1.0.104.13410
#r "nuget: MakoIoT.Device.Services.Mqtt, 1.0.104.13410"
#:package MakoIoT.Device.Services.Mqtt@1.0.104.13410
#addin nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.104.13410Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Services.Mqtt&version=1.0.104.13410Install as a Cake Tool
ICommunicationService implementation with MQTT as transport layer. Uses M2MQTT library.
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();
See example in MessageBus class.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net net is compatible. |
This package is not used by any NuGet packages.
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 |