Libemqtt

This program is a fork of liblwmqtt developed by Filipe Varela. You can find the original project on http://code.google.com/p/liblwmqtt/.

libemqtt aims to be an embedded C client library for the MQTT protocol. It also provides a binding for Python.

Status

Under development. DO NOT USE in a serious development. API is not closed, so it could be changed.

I hope to release the first version in April.

Compile

C Library

$ make

Python binding

$ make python

Install

C Library

Python binding

$ sudo ln -fs /home/user/libemqtt/client/libemqtt.so /usr/lib/python2.7/emqtt/libemqtt.so

Limitations

  • Can not subscribe to multiple topics in the same MQTT message.

Additional

For debugging MQTT development it's possible to use Wireshark-MQTT (https://github.com/menudoproblema/Wireshark-MQTT)



Libemqtt

这个程序是由Filipe Varela开发的liblwmqtt的fork。 您可以在 http://code.google.com/p/liblwmqtt/ 上找到原始项目。

libemqtt旨在成为MQTT协议的嵌入式C客户端库。它也是 提供了一个绑定Python。

状态

正在开发中。不要在严重的发展中使用。 API没有关闭,所以它 可以更改。

我希望在四月份发布第一个版本。

编译

C库

$ make

Python绑定

$ make python

安装

C库< / h3>

Python绑定< / h3>

$ sudo ln -fs /home/user/libemqtt/client/libemqtt.so /usr/lib/python2.7/emqtt/libemqtt.so

Limitations

  • 无法在同一个MQTT邮件中订阅多个主题。

Additional

调试MQTT开发可以使用 Wireshark-MQTT( https://github.com/menudoproblema/Wireshark-MQTT




相关问题推荐