0

有人移植了一些mqtt-client用于长期运行BeagleBone black吗?我正处于开始阶段,我正在寻找正确的(最简单的)方法来mqtt client在这个设备上安装一些。

我正在寻找3种方式:

  1. 从 Beaglebone 上的 Debian 开始并std pkg在此发行版上使用
  2. 移植一个酷而稳定的库,如eclipse-pahoonangstrom distro
  3. node.js mqtt client在默认环境中使用

一些建议?

谢谢!

4

2 回答 2

1

它不仅仅是一个 MQTT 客户端,但你见过nodeRed吗?Node.js 的可视化编程环境,专为“连接物联网”而设计。它在我的 BBB 上运行良好,并且与运行在同一平台上的 mosquitto 愉快地交谈。

于 2014-01-21T14:24:29.333 回答
1

Eclipse Paho、mosquitto、HiveMQ 都是在 beaglebone 上运行 MQTT 的好方法。您需要占用空间最小的东西,因为它是一款具有良好 RAM/处理能力的小型设备。

如果您在 Debian 上运行 Beaglebone,我真的建议您使用 mosquitto - 他们有自己的 Debian 存储库,而 mosquitto 是一种非常棒的开源、简单的实现 MQTT 的方法。您可以在这里找到链接,也可以通过简单的谷歌搜索找到链接。

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-debian-8

https://mosquitto.org/download/
https://mosquitto.org/2013/01/mosquitto-debian-repository/

示例: http ://docs.gadgetkeeper.com/display/docs/Realtime+temperature+monitoring+with+BeagleBone+Black+and+MQTT+protocol

http://www.microdev.it/wp/en/2017/03/12/mqtt-with-beaglebone-and-esp8266-mosquitto-installation-on-beaglebone/

于 2017-05-26T15:23:58.987 回答