emqx/apps/emqx_mqttsn
JianBo He 702ecbcb6e Merge remote-tracking branch 'upstream/master' into refactor-gw-dir 2023-04-06 10:44:59 +08:00
..
include refactor: make Stomp and MQTT-SN gateway as an independent apps 2023-04-01 12:24:09 +08:00
src chore: update gateways deps 2023-04-01 12:59:43 +08:00
test test: move tests into splited gateway dirs 2023-04-01 12:24:09 +08:00
.gitignore refactor: make Stomp and MQTT-SN gateway as an independent apps 2023-04-01 12:24:09 +08:00
README.md chore(gw): update README files 2023-04-03 14:30:41 +08:00
rebar.config chore: update gateways deps 2023-04-01 12:59:43 +08:00

README.md

emqx_mqttsn

The MQTT-SN gateway is based on the MQTT-SN v1.2.

Quick Start

In EMQX 5.0, MQTT-SN gateway can be configured and enabled through the Dashboard.

It can also be enabled via the HTTP API or emqx.conf, e.g. In emqx.conf:

gateway.mqttsn {

  mountpoint = "mqtt/sn"

  gateway_id = 1

  broadcast = true

  enable_qos3 = true

  listeners.udp.default {
    bind = 1884
    max_connections = 10240000 max_conn_rate = 1000
  }
}

Note: Configuring the gateway via emqx.conf requires changes on a per-node basis, but configuring it via Dashboard or the HTTP API will take effect across the cluster.

More documentations: MQTT-SN Gateway