emqx/apps/emqx_gateway_mqttsn
JimMoen 5e100f52b8
style: erlfmt all `rebar.config` files and `bin/nodetool`
2023-12-29 09:08:03 +08:00
..
include feat: reserved 1-1024 topic id for predefined topics 2023-06-11 18:12:34 +08:00
src fix(mqttsn): ack the DISCONNECT packet even if it is not connected 2023-12-15 11:35:46 +08:00
test test(gw-authz): switch to `emqx_cth_suite` + simplify testsuite 2023-12-20 14:37:49 +01:00
.gitignore refactor(gw): rename all gateway application name 2023-04-13 14:53:47 +08:00
README.md refactor(gw): rename all gateway application name 2023-04-13 14:53:47 +08:00
rebar.config style: erlfmt all `rebar.config` files and `bin/nodetool` 2023-12-29 09:08:03 +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