|
|
2 лет назад | |
|---|---|---|
| .. | ||
| include | 9c4a576fb3 feat: reserved 1-1024 topic id for predefined topics | 2 лет назад |
| src | 7de26a1776 feat(authz): use extensible map format for actions in authz rules | 2 лет назад |
| test | 9c4a576fb3 feat: reserved 1-1024 topic id for predefined topics | 2 лет назад |
| .gitignore | 0a62d6c556 refactor(gw): rename all gateway application name | 2 лет назад |
| README.md | 0a62d6c556 refactor(gw): rename all gateway application name | 2 лет назад |
| rebar.config | 0a62d6c556 refactor(gw): rename all gateway application name | 2 лет назад |
The MQTT-SN gateway is based on the MQTT-SN v1.2.
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