Score
0
Watch 7 Star 18 Fork 2

赵建辉 / libumqttCMIT

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
A Lightweight and fully asynchronous MQTT 3.1.1 client C library based on libev spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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

sudo apt int libev-dev libssl-dev liblua5.2-dev

Build and install

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

Contributing

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

Comments ( 0 )

Sign in for post a comment

C
1
https://gitee.com/zhaojh329/libumqtt.git
git@gitee.com:zhaojh329/libumqtt.git
zhaojh329
libumqtt
libumqtt
master

Help Search