Project Description

M2Mqtt is a MQTT client available for all .Net platforms (.Net Framework, .Net Compact Framework and .Net Micro Framework) and WinRT platforms (Windows 8.1 and Windows Phone 8.1) for Internet of Things and M2M communication.

MQTT, short for Message Queue Telemetry Transport, is a light weight messaging protocol that enables embedded devices with limited resources to perform asynchronous communication on a constrained network.

MQTT protocol is based on publish/subscribe pattern so that a client can subscribe to one or more topics and receive messages that other clients publish on these topics.

This sample is a library contains an MQTT client that you can use to connect to any MQTT broker. It is developed in C# language and works on all the following .Net platforms :

  • .Net Framework (up to 4.5)
  • .Net Compact Framework 3.5 & 3.9 (for Windows Embedded Compact 7 / 2013)
  • .Net Micro Framework 4.2 & 4.3
  • Mono (for Linux O.S.)

There is also the support for WinRT platforms :

  • Windows 8.1
  • Windows Phone 8.1

It can be used on Windows O.S, Windows Embedded Compact 7 / 2013 and Linux O.S. (thanks to Mono Project).

The project has an official website here : http://www.m2mqtt.net

The binaries for all platforms are also available as package from Nuget web site https://www.nuget.org/packages/M2Mqtt/

For all information about MQTT protocol, please visit official web site http://mqtt.org/.

Follow the project on Twitter and Facebook

M2Mqtt is an open source project that is developed and mantained in my own time. If you want to support it, please make a donation. 

Donate Button with Credit Cards

Last edited Sep 3 at 1:29 PM by ppatierno, version 23