Crates.io | mcutie |
lib.rs | mcutie |
version | 0.1.0 |
source | src |
created_at | 2024-12-03 13:22:40.472386 |
updated_at | 2024-12-03 13:22:40.472386 |
description | A no-std, no-alloc, opinionated MQTT client for IoT devices |
homepage | |
repository | https://github.com/Mossop/mcutie |
max_upload_size | |
id | 1469981 |
size | 66,050 |
A simple MQTT client designed for use in embedded devices using the embassy-net
networking stack.
Requires an async executor. Runs in no-std
contexts and includes specific support for Home
Assistant's device auto-discovery.
The stack is designed to be a singleton for the lifetime of the application. Once initialised it runs forever attempting to maintain a connection to the MQTT broker. It includes support for automatically subscribing to some topics when connected to the broker and registering a last will message to be published if the connection to the broker it lost.
Has some basic support for the different MQTT QoS levels.