eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
315 stars 178 forks source link

How to config to use gateway without broker #159

Closed jhx2002 closed 5 years ago

jhx2002 commented 5 years ago

How to config to use gateway without broker

mahsan321 commented 5 years ago

Gateway is not designed to act standalone. It can only be configured as a gateway to convert UDP traffic to TCP and route it to MQTT Broker.

jhx2002 commented 5 years ago

can not gateway act as a simple broker ?

mahsan321 commented 5 years ago

No. It can not. Refer to the Protocol Specifications for more details.

jhx2002 commented 5 years ago

So how difficult if may be if I modify the gateway to meet my need ?

mahsan321 commented 5 years ago

What is you trying to do here. I am not following you. Because for that you have a broker than why change the gateway to act as a broker.

ty4tw commented 5 years ago

Close this issue because it has not been discussed for a long time.