emqx/apps/emqx_gateway_mqttsn
Andrew Mayorov 57ae5b14f1
refactor(mqttsn): make timer names equal to messages they send
Because keeping timer names different from the messages they send
complicates understanding of the control flow, and spends few
reductions per timer operation unnecessarily.
2023-09-20 22:52:13 +04:00
..
include feat: reserved 1-1024 topic id for predefined topics 2023-06-11 18:12:34 +08:00
src refactor(mqttsn): make timer names equal to messages they send 2023-09-20 22:52:13 +04:00
test refactor(calendar): refactor datetime-related code and remove redundant 2023-08-16 10:55:46 +08: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 refactor(gw): rename all gateway application name 2023-04-13 14:53:47 +08:00

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