在mosquitto代理中添加对mqtt协议的支持(Adding support to mqtt protocol in mosquitto broker)

编程入门 行业动态 更新时间:2024-10-11 03:24:45
在mosquitto代理中添加对mqtt协议的支持(Adding support to mqtt protocol in mosquitto broker)

我正在为其中一个应用程序设计推送技术,因为MQTT是轻量级的,并且需要比其他技术更少的电池电量。 我选择它,它适用于Android设备。

但是,我还有一个要求,即应用程序还包含Web门户,并且服务器还需要向浏览器发送MQTT消息。 为了做到这一点,有必要配置Mosquitto for websocket。

提前致谢。

I am figuring push technology for one of the application, as MQTT is lighweight and required less battery power than the other technology. I choose it and it works well with Android Device.

But, i also have one requirement that application also contains Web portal, and server also needs to send MQTT message to browser. In order to do that, it is necessary to configure Mosquitto for websocket.

Thanks in Advance.

最满意答案

猜猜你在这里问的是什么......

Mosqutto将在1.4版本中添加websocket支持。 此时(04/01/2015)1.4尚未发布,但您可以从源代码构建它。

您可以在此处找到有助于构建正确级别的说明。

https://goochgooch.wordpress.com/2014/08/01/building-mosquitto-1-4/

Making a guess at what your actually asking here...

Mosqutto will add websocket support in release 1.4. At this time (04/01/2015) 1.4 has not been released, but you can build it from source.

You can find instructions to help build the correct level here.

https://goochgooch.wordpress.com/2014/08/01/building-mosquitto-1-4/

更多推荐

本文发布于:2023-08-05 19:01:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1437186.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:协议   mqtt   mosquitto   Adding   broker

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!