MQTT过的WebSocket Android和iOS [英] MQTT over websocket for Android and iOS

查看:1258
本文介绍了MQTT过的WebSocket Android和iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在很多研究,我对MQTT协议设备之间的通信解决。要采取这一步我认为这将是伟大的使用MQTT过的WebSockets。在我将使用Mosquitto服务器端支持WebSockets的。但对于客户端,我不知道是否有可用于Android和iOS的库。

After a lot of research I settled on MQTT protocol for communication between devices. To take it a step further I thought it would be great to use MQTT over WebSockets. On the server side I'll be using Mosquitto which supports WebSockets. But for the client side, I'm not sure if there are any libraries available for Android and iOS.

这是如何实现它的任何想法?或者可以是任何解决方法吗?

Any idea on how to implement it ? or may be any workaround ?

推荐答案

如果你使用的是iOS,我建议看看优秀的MQTT-客户端的框架库。你可以阅读有关的所有功能,以及如何在这里使用它: HTTP ://www.hivemq.com/mqtt-client-library-encyclopedia-mqtt-client-framework/

If you're using iOS, I would recommend to look at the excellent MQTT-Client-Framework library. You can read about all features and how to use it here: http://www.hivemq.com/mqtt-client-library-encyclopedia-mqtt-client-framework/

这篇关于MQTT过的WebSocket Android和iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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