Hello Wenlong,
If this is just a little experiment, then yes, go-ahead and put the
gateway on the same machine as the MQTT server.
There is a long-term goal to add MQTT-SN protocol support to Mosquitto
but in the meantime a gateway is required to translate the protocols.
nick.
> --
> To learn more about MQTT please visit
http://mqtt.org
> ---
> You received this message because you are subscribed to the Google
> Groups "MQTT" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
mqtt+uns...@googlegroups.com.
> To post to this group, send email to
mq...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/mqtt.
> For more options, visit
https://groups.google.com/d/optout.