MQTTnet 3.0.14

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker) and supports v3.1.0, v3.1.1 and v5.0.0 of the MQTT protocol.

There is a newer version of this package available.
See the version list below for details.
Install-Package MQTTnet -Version 3.0.14
dotnet add package MQTTnet --version 3.0.14
<PackageReference Include="MQTTnet" Version="3.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 3.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MQTTnet, 3.0.14"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MQTTnet as a Cake Addin
#addin nuget:?package=MQTTnet&version=3.0.14

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=3.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* [Core] Added .NET 5.0 TFMs (thanks to @StefanOssendorf, @JanEggers).
* [Core] Added support for TLS 1.3 (requires .NET Core 3.1+) (thanks to @Dvergatal).
* [Core] Added support for _MaximumQoS_ transmit when using MQTTv5 (thanks to @nayato).
* [Core] Aligned the format of some log messages.
* [Client] Fixed an issue with connection state detection (thanks to @tobiasfrick).
* [Client] Fixed an issue when receiving partial QoS 2 packets after a reconnect.
* [Client] Added new API for raw packet inspection.
* [ManagedClient] Removed _AutoReconnect_ since this does no longer work (BREAKING CHANGE!).
* [RpcClient] Moved the RPC topic validation to the topic generation strategy.
* [RcpClient] Added interface for _MqttRpcClient_.
* [Server] Reduced async tasks count by moving dedicated keep alive tasks per connection to shared one.
* [Server] Session takeover and keep alive timeout are now properly set in DISCONNECT packet.
* [Server] Fixed bug in PubRel packet generation (MQTTv5 only).
* [Server] Improved message processing performance (+ ~5%).
* [Server] Fix wrong usage of client session items for undelivered messages.
* [Server] Allow to respond with a reason code in PUBACK/PUBREC (thanks to @muneebmajeed).
* [Server] Fixed topic filter comparer on edge cases, e.g. "foo/" matching "foo/#" (thanks to @dagophil).
* [Core] Added code documentation.

Git commit: bb52159e

NuGet packages (93)

Showing the top 5 NuGet packages that depend on MQTTnet:

Package Downloads
MQTTnet.Extensions.ManagedClient
This is an extension library which provides a managed MQTT client with additional features using MQTTnet.
MQTTnet.AspNetCore
This is a support library to integrate MQTTnet into AspNetCore.
Howell.Net.VillageSystem
Package Description
MQTTnet.Extensions.Rpc
This is an extension library which allows executing synchronous device calls including a response using MQTTnet.
TransbankSDK
This is the .Net SDK for Transbank Integration.

GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on MQTTnet:

Repository Stars
ArduPilot/MissionPlanner
Mission Planner Ground Control Station (c# .net)
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
zhaopeiym/quartzui
基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置
yllibed/Zigbee2MqttAssistant
GUI for Zigbee2Mqtt running in docker and HASS.IO
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.

Version History

Version Downloads Last updated
3.0.15 43,026 2/26/2021
3.0.15-rc2 191 2/19/2021
3.0.15-rc1 679 2/12/2021
3.0.14 27,008 2/2/2021
3.0.14-rc8 264 1/30/2021
3.0.14-rc7 1,141 1/25/2021
3.0.14-rc6 152 1/23/2021
3.0.14-rc5 1,374 1/2/2021
3.0.14-rc4 468 12/27/2020
3.0.14-rc3 1,174 12/8/2020
3.0.14-rc2 788 11/29/2020
3.0.14-rc1 849 11/17/2020
3.0.13 145,113 10/24/2020
3.0.13-rc2 323 10/15/2020
3.0.13-rc1 7,888 9/19/2020
3.0.12 123,399 8/5/2020
3.0.12-rc2 739 7/26/2020
3.0.12-rc1 4,608 5/31/2020
3.0.11 123,532 5/16/2020
3.0.10 3,373 5/14/2020
3.0.10-rc2 281 5/13/2020
3.0.10-rc1 1,699 5/2/2020
3.0.9 44,828 4/10/2020
3.0.9-rc2 1,148 4/5/2020
3.0.9-rc1 4,052 12/8/2019
3.0.8 344,725 8/19/2019
3.0.7 2,397 8/18/2019
3.0.7-rc2 1,503 8/14/2019
3.0.7-rc1 1,495 8/13/2019
3.0.6 19,850 8/11/2019
3.0.6-beta1 2,159 7/11/2019
3.0.6-alpha1 1,521 7/9/2019
3.0.5 37,237 6/28/2019
3.0.4 2,515 6/27/2019
3.0.3 3,405 6/23/2019
3.0.3-rc3 1,621 6/14/2019
3.0.3-rc2 1,825 6/6/2019
3.0.3-rc1 2,705 5/17/2019
3.0.2 28,759 5/12/2019
3.0.2-rc1 1,456 5/11/2019
3.0.1 2,075 5/11/2019
3.0.0 21,156 5/5/2019
3.0.0-rc3 1,541 5/1/2019
3.0.0-rc2 1,643 4/26/2019
3.0.0-rc1 1,546 4/22/2019
3.0.0-beta1 2,540 4/7/2019
3.0.0-alpha3 1,626 3/24/2019
3.0.0-alpha2 5,565 1/27/2019
3.0.0-alpha1 2,023 12/22/2018
2.8.5 189,508 12/9/2018
2.8.5-rc5 1,714 11/28/2018
2.8.5-rc4 1,641 11/24/2018
2.8.5-rc3 1,757 11/5/2018
2.8.5-rc2 1,523 11/4/2018
2.8.5-rc1 2,019 10/29/2018
2.8.4 46,678 10/6/2018
2.8.4-rc2 1,536 10/4/2018
2.8.4-rc1 1,509 10/4/2018
2.8.3 14,106 10/1/2018
2.8.2 41,869 8/4/2018
2.8.2-rc1 1,684 7/27/2018
2.8.1 9,617 7/8/2018
2.8.1-rc1 1,665 7/7/2018
2.8.0 5,166 7/1/2018
2.8.0-rc6 1,710 6/29/2018
2.8.0-rc5 1,680 6/28/2018
2.8.0-rc4 1,872 6/24/2018
2.8.0-rc3 1,720 6/22/2018
2.8.0-rc2 1,769 6/21/2018
2.8.0-rc1 1,621 6/21/2018
2.8.0-beta1 1,717 6/19/2018
2.8.0-alpha5 2,286 6/6/2018
2.8.0-alpha4 2,114 6/5/2018
2.8.0-alpha3 1,616 6/5/2018
2.8.0-alpha2 1,806 6/4/2018
2.8.0-alpha1 2,577 5/10/2018
2.7.5 46,345 4/28/2018
2.7.5-rc2 1,708 4/25/2018
2.7.5-rc1 1,729 4/24/2018
2.7.4 20,012 4/11/2018
2.7.3 2,853 4/4/2018
2.7.3-rc3 2,746 4/1/2018
2.7.3-rc2 1,721 3/29/2018
2.7.3-rc1 1,668 3/27/2018
2.7.2 3,042 3/26/2018
2.7.1 7,911 3/13/2018
2.7.1-rc1 1,722 2/28/2018
2.7.0 11,866 2/4/2018
2.7.0-rc1 1,909 1/27/2018
2.6.0 4,604 12/18/2017
2.6.0-rc2 1,795 12/7/2017
2.6.0-rc1 1,668 12/4/2017
2.5.3 3,126 11/25/2017
2.5.3-rc1 1,698 11/22/2017
2.5.2 2,424 11/21/2017
2.5.2-rc1 1,622 11/17/2017
2.5.1 2,249 11/11/2017
2.5.0 2,421 11/8/2017
2.4.0 9,269 10/9/2017
2.3.1 2,219 9/28/2017
2.3.0 1,960 9/20/2017
2.2.1 2,102 8/21/2017
2.2.0 2,056 8/17/2017
2.1.5.1 1,832 8/7/2017
2.1.5 1,820 8/5/2017
2.1.4 2,127 7/15/2017
2.1.3 4,642 6/8/2017
2.1.2 2,026 5/5/2017
2.1.1 2,652 4/8/2017