emqx-sn icon indicating copy to clipboard operation
emqx-sn copied to clipboard

Forward to mqtt server

Open noctivityinc opened this issue 6 years ago • 1 comments

Hi -

MQTT Newbie here. I have a rails server setup that I want to subscribe to my emq MQTT server to listen for certain topics. Unfortunately I cant seem to connect to UDP to listen to the MQTT-SN server. Im wondering if it's possible to forward any incoming messages that the MQTT-SN server receives to the EMQ MQTT server so that it can then publish them for my rails app to subscribe to?

We have an IoT device that is publishing to the MQTT-SN server via UDP, which is why we are using MQTT-SN, but need the server to be able to subscribe to the messages.

Thanks,

Josh

noctivityinc avatar Aug 20 '18 02:08 noctivityinc

Your rails server could subscribe to the MQTT topic (the TCP port 1883). Then all messages received from MQTT-SN can will be forwarded to your rails server via MQTT.

terry-xiaoyu avatar Sep 17 '18 08:09 terry-xiaoyu