Crates.io | minimq |
lib.rs | minimq |
version | 0.9.0 |
source | src |
created_at | 2020-08-27 07:57:25.452181 |
updated_at | 2024-04-29 14:30:57.042848 |
description | A minimal MQTT5 client designed for no_std platforms |
homepage | https://github.com/quartiq/minimq |
repository | https://github.com/quartiq/minimq |
max_upload_size | |
id | 281318 |
size | 223,052 |
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.
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:
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.
If using smoltcp
, check out the smoltcp-nal
to quickly
create an interface that can be used by Minimq.
An example usage of Minimq that can be run on a desktop PC can be found in
tests/integration_test.rs