Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

libumqtt

> 开发工具
Open source

A Lightweight and fully asynchronous MQTT client C library based on libev

196 stars0 likes0 views
WebsiteGitHub

About

A Lightweight and fully asynchronous MQTT client C library based on libev

libumqtt

license PRs Welcome Issue Welcome Release Version Build Status

A Lightweight and fully asynchronous MQTT 3.1.1 client C library based on libev. And provide Lua-binding.

Features

  • Lightweight - 27KB(Using glibc,stripped)
  • Fully asynchronous - Use libev as its event backend
  • Support QoS 0, 1 and 2
  • Support ssl - OpenSSL, mbedtls and CyaSSl(wolfssl)
  • Code structure is concise and understandable, also suitable for learning
  • Lua-binding

Dependencies

  • libev
  • mbedtls - If you choose mbedtls as your SSL backend
  • CyaSSl(wolfssl) - If you choose wolfssl as your SSL backend
  • openssl - If you choose openssl as your SSL backend

Install dependent packages

bash
sudo apt install libev-dev libssl-dev liblua5.2-dev

Build and install

bash
git clone --recursive https://github.com/zhaojh329/libumqtt.git
cd libumqtt
mkdir build && cd build
cmake .. && sudo make install && ldconfig

Contributing

If you would like to help making libumqtt better, see the CONTRIBUTING.md file.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cembeddedlibuboxluamqtt-client

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具