是否有可能在一个Arduino运行ZeroMQ [英] Is it possible to run ZeroMQ on an Arduino

查看:125
本文介绍了是否有可能在一个Arduino运行ZeroMQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,是否有可能通过ZeroMQ一个Arduino进行通信。我想使用的Arduino控制一些设备,并希望有大部分的应用程序坐在一台计算机上。对于这将是很好,如果Arduino的和控制器可通过zeromq沟通,并说了WiFi或以太网盾。这可能吗?

I'm wondering, whether it is possible to communicate with an Arduino via ZeroMQ. I want to use the Arduino to control some equipment and want to have most of the application sit on a computer. For that it would be nice if the Arduino and the controller could communicate via zeromq and say a WiFi or Ethernet shield. Is that possible?

在特别的是它在原则上可能的,因为在Arduino的板上的目前的芯片,并具有任何人都有成功的在这个方向?

In particular, is it in principle possible, given the current chips on the Arduino boards, and has anybody had success in that direction?

推荐答案

我不认为它会很容易,实际运行上一个Arduino的ZeroMQ库。其原因在于ZeroMQ是建立在POSIX或Windows网络API,它不提供一个Arduino的顶部

I don't think it will be easy to actually run the ZeroMQ library on an Arduino. The reason is that ZeroMQ is built on top of the POSIX or Windows networking APIs, which are not available on an Arduino.

有什么能一个选项允许你使用ZeroMQ在主机端,是贯彻落实(相当琐碎的) ZeroMQ邮件传输协议的Arduino上和交谈ZeroMQ主机上的这种方式。

What could be an option allowing you to use ZeroMQ on the host side, is to implement the (fairly trivial) ZeroMQ Message Transport Protocol on the Arduino and talk to ZeroMQ on the host this way.

这篇关于是否有可能在一个Arduino运行ZeroMQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆