All Projects → chkr1011 → Mqttnet

chkr1011 / Mqttnet

Licence: mit
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.

Programming Languages

C#
18002 projects
powershell
5483 projects
HTML
75241 projects
CSS
56736 projects
shell
77523 projects
typescript
32286 projects

Projects that are alternatives of or similar to Mqttnet

MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 3,309 (+33.11%)
Mutual labels:  tls, tcp, communication, nuget, uwp, netcore, iot-platform, mqtt-broker, broker, net, mqtt-client, mqtt-server, iot-framework, netframework, mqtt-protocol, anycpu
Emqx
An Open-Source, Cloud-Native, Distributed MQTT Message Broker for IoT.
Stars: ✭ 8,951 (+260.06%)
Mutual labels:  mqtt, broker, mqtt-broker, iot, mqtt-server
Mqtt
MQTT broker written in D, using vibe.d
Stars: ✭ 59 (-97.63%)
Mutual labels:  mqtt, broker, mqtt-broker, iot
Pjon
PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Stars: ✭ 2,615 (+5.19%)
Mutual labels:  mqtt, communication, iot, tcp
zmosq
MQTT/Mosquitto / ZeroMQ proxy
Stars: ✭ 22 (-99.12%)
Mutual labels:  mqtt, mqtt-broker, mqtt-client, iot-framework
Mqtt Pwn
MQTT-PWN intends to be a one-stop-shop for IoT Broker penetration-testing and security assessment operations.
Stars: ✭ 156 (-93.72%)
Mutual labels:  mqtt, mqtt-client, mqtt-broker, iot
mqtt
Kotlin cross-platform, coroutine based, reflectionless MQTT 3.1.1 & 5.0 client & server
Stars: ✭ 31 (-98.75%)
Mutual labels:  mqtt-broker, mqtt-client, mqtt-server, mqtt-protocol
Sharer
Arduino & .NET serial communication library to read/write variables and remote call functions using the Sharer protocol. Works on Windows, Linux and MacOS.
Stars: ✭ 21 (-99.16%)
Mutual labels:  communication, netcore, net, netframework
Mqtt Panel
A web interface for MQTT
Stars: ✭ 315 (-87.33%)
Mutual labels:  mqtt, mqtt-client, mqtt-broker, iot
Openremote
100% open-source IoT Platform - Integrate your assets, create rules, and visualize your data
Stars: ✭ 254 (-89.78%)
Mutual labels:  iot-platform, mqtt, mqtt-broker, iot
Hivemq Community Edition
HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5. It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform
Stars: ✭ 562 (-77.39%)
Mutual labels:  mqtt, broker, mqtt-broker, iot
Wolfmqtt
wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
Stars: ✭ 316 (-87.29%)
Mutual labels:  mqtt, mqtt-client, iot, tls
Jetlinks Community
JetLinks 基于Java8,Spring Boot 2.x ,WebFlux,Netty,Vert.x,Reactor等开发, 是一个全响应式的企业级物联网平台。支持统一物模型管理,多种设备,多种厂家,统一管理。统一设备连接管理,多协议适配(TCP,MQTT,UDP,CoAP,HTTP等),屏蔽网络编程复杂性,灵活接入不同厂家不同协议等设备。实时数据处理,设备告警,消息通知,数据转发。地理位置,数据可视化等。能帮助你快速建立物联网相关业务系统。
Stars: ✭ 2,405 (-3.26%)
Mutual labels:  iot-platform, mqtt, iot, tcp
Aedes
Barebone MQTT broker that can run on any stream server, the node way
Stars: ✭ 1,007 (-59.49%)
Mutual labels:  mqtt, mqtt-broker, iot
Esp8266workshop
IoT workshop based on ESP8266, a DHT11/22 and neopixel RGB LED
Stars: ✭ 71 (-97.14%)
Mutual labels:  mqtt, iot, tls
Mqttx
MQTT X - Elegant MQTT 5.0 Client Tool of Cross-platform
Stars: ✭ 892 (-64.12%)
Mutual labels:  mqtt, mqtt-client, iot
Thingsboard
Open-source IoT Platform - Device management, data collection, processing and visualization.
Stars: ✭ 10,526 (+323.41%)
Mutual labels:  iot-platform, mqtt, iot
Psmqtt
Utility reporting system health and status via MQTT
Stars: ✭ 95 (-96.18%)
Mutual labels:  mqtt, mqtt-client, iot
Gcp Iot Core Examples
Google Cloud Platform IOT Core Examples
Stars: ✭ 103 (-95.86%)
Mutual labels:  mqtt, iot, tls
Megaapiclient
MegaApiClient is a C# .Net library to access http://mega.co.nz / http://mega.nz cloud storage and file hosting service.
Stars: ✭ 151 (-93.93%)
Mutual labels:  nuget, uwp, netcore



NuGet Badge Build status BCH compliance Join the chat at https://gitter.im/MQTTnet/community License: MIT

MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.

Features

General

  • Async support
  • TLS support for client and server (but not UWP servers)
  • Extensible communication channels (e.g. In-Memory, TCP, TCP+TLS, WS)
  • Lightweight (only the low level implementation of MQTT, no overhead)
  • Performance optimized (processing ~70.000 messages / second)*
  • Uniform API across all supported versions of the MQTT protocol
  • Interfaces included for mocking and testing
  • Access to internal trace messages
  • Unit tested (~250 tests)
  • No external dependencies

* Tested on local machine (Intel i7 8700K) with MQTTnet client and server running in the same process using the TCP channel. The app for verification is part of this repository and stored in /Tests/MQTTnet.TestApp.NetCore.

Client

  • Communication via TCP (+TLS) or WS (WebSocket) supported
  • Included core LowLevelMqttClient with low level functionality
  • Also included ManagedMqttClient which maintains the connection and subscriptions automatically. Also application messages are queued and re-scheduled for higher QoS levels automatically.
  • Rx support (via another project)
  • Compatible with Microsoft Azure IoT Hub

Server (broker)

  • List of connected clients available
  • Supports connected clients with different protocol versions at the same time
  • Able to publish its own messages (no loopback client required)
  • Able to receive every message (no loopback client required)
  • Extensible client credential validation
  • Retained messages are supported including persisting via interface methods (own implementation required)
  • WebSockets supported (via ASP.NET Core 2.0, separate nuget)
  • A custom message interceptor can be added which allows transforming or extending every received application message
  • Validate subscriptions and deny subscribing of certain topics depending on requesting clients
  • Connect clients with different protocol versions at the same time.

MQTTnet Server

MQTTnet Server is a standalone cross platform MQTT server (like mosquitto) basing on this library. It has the following features.

  • Running portable (no installation required)
  • Runs under Windows, Linux, macOS, Raspberry Pi
  • Python scripting support for manipulating messages, validation of clients, building business logic etc.
  • Supports WebSocket and TCP (with and without TLS) connections
  • Provides a HTTP based API (including Swagger endpoint)
  • Extensive configuration parameters and customization supported

Supported frameworks

  • .NET 5.0+
  • .NET Standard 1.3+
  • .NET Core 1.1+
  • .NET Core App 1.1+
  • .NET Framework 4.5.2+
  • Mono 5.2+
  • Universal Windows Platform (UWP) 10.0.10240+ (Windows 10 IoT Core)
  • Xamarin.Android 7.5+
  • Xamarin.iOS 10.14+
  • Blazor WebAssembly 3.2.0+

Supported platforms

  • x86
  • x64
  • AnyCPU
  • ARM

Supported OS

  • Windows
  • Windows 10 IoT Core
  • Linux (Ubuntu, Raspbian etc.)
  • macOS
  • Android
  • iOS

Supported MQTT versions

  • 5.0.0
  • 3.1.1
  • 3.1.0

Nuget

This library is available as a nuget package: https://www.nuget.org/packages/MQTTnet/

Examples

Please find examples and the documentation at the Wiki of this repository (https://github.com/chkr1011/MQTTnet/wiki).

Contributions

If you want to contribute to this project just create a pull request. But only pull requests which are matching the code style of this library will be accepted. Before creating a pull request please have a look at the library to get an overview of the required style. Also additions and updates in the Wiki are welcome.

References

This library is used in the following projects:

Further projects using this project can be found under https://github.com/chkr1011/MQTTnet/network/dependents.

If you use this library and want to see your project here please create a pull request.

License

MIT License

MQTTnet Copyright (c) 2016-2021 Christian Kratky

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].