MQTTnet.Rx.SerialPort
3.1.0
dotnet add package MQTTnet.Rx.SerialPort --version 3.1.0
NuGet\Install-Package MQTTnet.Rx.SerialPort -Version 3.1.0
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="MQTTnet.Rx.SerialPort" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet.Rx.SerialPort --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MQTTnet.Rx.SerialPort, 3.1.0"
#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 MQTTnet.Rx.SerialPort as a Cake Addin #addin nuget:?package=MQTTnet.Rx.SerialPort&version=3.1.0 // Install MQTTnet.Rx.SerialPort as a Cake Tool #tool nuget:?package=MQTTnet.Rx.SerialPort&version=3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MQTTnet.Rx.Client
MQTTnet.Rx.ABPlc
MQTTnet.Rx.Modbus
MQTTnet.Rx.S7Plc
MQTTnet.Rx.SerialPort
MQTTnet.Rx.TwinCAT
<p align="left"> <a href="https://github.com/ChrisPulman/MQTTnet.Rx"> <img alt="MQTTnet.Rx" src="https://github.com/ChrisPulman/MQTTnet.Rx/blob/main/Images/logo.png" width="200"/> </a> </p>
MQTTnet.Rx.Client
A Reactive Client for MQTTnet Broker
NOTE: ManagedClient support has been removed from the MQTTnet.Rx.Client library. This is due to the fact that the ManagedClient is no longer included in the MQTTnet V5 library.
We now have a Reactive implimentaion through IResilientClient that we aim to have feature parity with the ManagedClient.
The ResilientClient is a wrapper around the MqttClient that will automatically reconnect to the broker if the connection is lost.
Create a Resilient Mqtt Client to Publish an Observable stream
Create.ResilientMqttClient()
.WithResilientClientOptions(a =>
a.WithAutoReconnectDelay(TimeSpan.FromSeconds(5))
.WithClientOptions(c =>
c.WithTcpServer("localhost", 9000)))
.PublishMessage(_message)
.Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.PacketIdentifier}]"));
Create a Resilient Mqtt Client to Subscribe to a Topic
Create.ResilientMqttClient()
.WithResilientClientOptions(a =>
a.WithAutoReconnectDelay(TimeSpan.FromSeconds(5))
.WithClientOptions(c =>
c.WithTcpServer("localhost", 9000)))
.SubscribeToTopic("FromMilliseconds")
.Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.ApplicationMessage.Topic}] value : {r.ApplicationMessage.ConvertPayloadToString()}"));
Create a Mqtt Client to Publish an Observable stream
Create.MqttClient()
.WithClientOptions(a => a.WithTcpServer("localhost", 9000))
.PublishMessage(_message)
.Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.PacketIdentifier}]"));
Create a Mqtt Client to Subscribe to a Topic
Create.MqttClient()
.WithClientOptions(a => a.WithTcpServer("localhost", 9000))
.SubscribeToTopic("FromMilliseconds")
.Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.ApplicationMessage.Topic}] value : {r.ApplicationMessage.ConvertPayloadToString()}"));
MQTTnet.Rx.Server
A Reactive Server for MQTTnet Broker
Create a Mqtt Server
Create.MqttServer(builder =>
builder
.WithDefaultEndpointPort(2883)
.WithDefaultEndpoint()
.Build())
.Subscribe();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- MQTTnet.Rx.Client (>= 3.1.0)
- SerialPortRx (>= 3.0.3)
-
net9.0
- MQTTnet.Rx.Client (>= 3.1.0)
- SerialPortRx (>= 3.0.3)
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 |
---|---|---|
3.1.0 | 58 | 1/22/2025 |
3.0.0 | 67 | 1/17/2025 |
2.3.0 | 130 | 10/20/2024 |
2.2.3 | 116 | 9/12/2024 |
2.2.2 | 129 | 9/9/2024 |
2.2.1 | 125 | 9/7/2024 |
2.2.0 | 130 | 9/6/2024 |
2.1.1 | 139 | 8/16/2024 |
2.0.1 | 152 | 3/19/2024 |
1.3.1 | 203 | 12/26/2023 |
1.2.2 | 212 | 10/16/2023 |
1.2.1 | 149 | 10/15/2023 |
1.1.1 | 142 | 9/7/2023 |
1.1.0 | 166 | 8/19/2023 |
0.9.0 | 182 | 4/30/2023 |
0.8.0 | 229 | 3/18/2023 |
0.7.0 | 325 | 1/1/2023 |
0.2.0 | 392 | 10/29/2022 |
0.1.0 | 376 | 8/5/2022 |
Compatability with Net 8 / 9