Skip to content

mosquitto: add libmosquitto MQTT client module - #409

Open
januszdziedzic wants to merge 1 commit into
jow-:masterfrom
januszdziedzic:master
Open

mosquitto: add libmosquitto MQTT client module#409
januszdziedzic wants to merge 1 commit into
jow-:masterfrom
januszdziedzic:master

Conversation

@januszdziedzic

Copy link
Copy Markdown

Add a native ucode C module wrapping libmosquitto with uloop integration. Provides an MQTT v3.1.1 client API for ucode scripts including QoS 0/1/2, will messages, username/password authentication and TLS support. The libmosquitto socket is registered with uloop so MQTT I/O runs in the same event loop as the rest of the application.

moved here from openwrt/packages#29295

Add a native ucode C module wrapping libmosquitto with uloop integration.
Provides an MQTT v3.1.1 client API for ucode scripts including QoS 0/1/2,
will messages, username/password authentication and TLS support. The
libmosquitto socket is registered with uloop so MQTT I/O runs in the same
event loop as the rest of the application.

Assisted-by: Claude:Opus 4.7
Signed-off-by: Janusz Dziedzic <[email protected]>
@blogic

blogic commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

I think this should not be a ucode internal component
--> https://github.com/blogic/ucode-mod-mqtt
--> https://github.com/blogic/feed-blogic/tree/main/ucode-mod-mqtt
I have a ucode-mod-* external package here that I plan to upstream

@januszdziedzic kindly send a PR against my code base if any features are missing.

I do prefer my user facing API

@jow- we should consider creating a feeds/ucode-mod repo referenced within feeds.conf.defaults where these modules land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants