RSMB MQTT-SN&蓝牙 [英] RSMB MQTT-SN & Bluetooth

查看:147
本文介绍了RSMB MQTT-SN&蓝牙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我MQTT-SN可以使用蓝牙而不是TCP/IP.

I've been told that MQTT-SN could work with bluetooth instead of TCP/IP.

我从 http://git.eclipse下载了RSMB. org/c/mosquitto/org.eclipse.mosquitto.rsmb.git

然后我尝试将其配置为可以使用TCP/IP以外的任何方式工作,但没有任何运气.实际上,我只能使用配置文件进行配置的唯一原因是端口号,因为我无法在任何地方找到可能的配置列表.

I tried then to configure it to work using anything other than TCP/IP without any luck. In fact the only thing I was able to configure using a configuration file was the port number because I could not find a list of possible configurations anywhere.

有人知道是否可以在RSMB或任何其他MQTT代理中进行这种配置(用蓝牙代替TCP)吗??

Does anybody know if it is possible to make such configuration (Bluetooth instead of TCP) in RSMB or any other MQTT broker????

谢谢!

推荐答案

RSMB中的MQTT-SN支持是基于UDP的MQTT-SN.

The MQTT-SN support in RSMB is for MQTT-SN over UDP.

要通过蓝牙使用MQTT-SN,您将需要实施

To use MQTT-SN over Bluetooth you will need to implement a Forwarder as described in section 5.5 of the spec to bridge between a MQTT-SN gateway and a client on the Bluetooth device.

这篇关于RSMB MQTT-SN&蓝牙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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