|
|
2 tahun lalu | |
|---|---|---|
| .. | ||
| doc | 0a62d6c556 refactor(gw): rename all gateway application name | 2 tahun lalu |
| include | 46877e979b chore: update copyright-year | 2 tahun lalu |
| src | 46877e979b chore: update copyright-year | 2 tahun lalu |
| test | 46877e979b chore: update copyright-year | 2 tahun lalu |
| .gitignore | 0a62d6c556 refactor(gw): rename all gateway application name | 2 tahun lalu |
| README.md | 25e277bdc6 chore: fix schema desc and README.md typo | 2 tahun lalu |
| rebar.config | 5e100f52b8 style: erlfmt all `rebar.config` files and `bin/nodetool` | 2 tahun lalu |
The CoAP gateway implements publish, subscribe, and receive messages as standard with Publish-Subscribe Broker for the CoAP.
In EMQX 5.0, CoAP 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.coap {
mountpoint = "coap/"
connection_required = false
listeners.udp.default {
bind = "5683"
max_connections = 1024000
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: CoAP Gateway