Giter Site home page Giter Site logo

minimq's Introduction

QUARTIQ Matrix Chat Continuous Integration

Minimq

Minimq provides a minimal MQTTv5 client and message parsing for the MQTT version 5 protocol. It leverages the embedded-nal to operate on top of any TCP stack implementation and is actively used with both smoltcp and and the W5500 hardware network stack.

Minimq provides a simple, no_std interface to connect to an MQTT broker to publish messages and subscribe to topics.

Features

Minimq supports all of the fundamental operations of MQTT, such as message subscription and publication. Below is a detailed list of features, indicating what aspects are supported:

  • Publication at all quality-of-service levels (at-most-once, at-least-once, and exactly-once)
  • Retained messages
  • Connection will messages
  • Session state reconnection and republication
  • Topic subscriptions at quality-of-service at-most-once and at-least-once
    • exactly-once subscription support is not yet implemented
  • Subscription option flags
  • Zero-copy message deserialization
  • Serde-compatible MQTT message serialization and deserialization

If there are features that you would like to have that are not yet supported, we are always accepting pull requests to extend Minimq's capabilities.

Minimq also provides convenient APIs to implement request-response interfaces over MQTT leveraging the ResponseTopic and CorrelationData properties for in-bound and out-bound messages.

Smoltcp Support

If using smoltcp, check out the smoltcp-nal to quickly create an interface that can be used by Minimq.

Examples

An example usage of Minimq that can be run on a desktop PC can be found in tests/integration_test.rs

minimq's People

Contributors

brummer-simon avatar chrysn avatar dnadlinger avatar eugeneia avatar irwineffect avatar jordens avatar mladedav avatar ryan-summers avatar systec-ms avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.