【问题标题】:mqtt client on beaglebonebeaglebone 上的 mqtt 客户端
【发布时间】:2013-09-13 17:48:42
【问题描述】:

有人移植了一些mqtt-client 以便在BeagleBone black 上长期运行? 我正处于起步阶段,我正在寻找正确的(最简单的)方法,以便在此设备上拥有一些 mqtt client

我正在寻找三种方式:

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

有什么建议吗?

谢谢!

【问题讨论】:

  • 我已经制作了蚊子,它的工具是 beaglebone black,它们都可以正常工作
  • 今天我从源码构建了mosquitto客户端
  • 本博客讨论在 beaglebone 上使用 Paho 和其他客户端:floriansblog.wordpress.com

标签: debian mqtt angstrom-linux beagleboneblack


【解决方案1】:

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

【讨论】:

    【解决方案2】:

    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/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-06-29
      • 2018-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多