diff --git a/apps/emqx_gateway_coap/README.md b/apps/emqx_gateway_coap/README.md index 405366e89..653fd7433 100644 --- a/apps/emqx_gateway_coap/README.md +++ b/apps/emqx_gateway_coap/README.md @@ -5,7 +5,7 @@ with [Publish-Subscribe Broker for the CoAP](https://datatracker.ietf.org/doc/ht ## Quick Start -In EMQX 5.0, CoAP gateways can be configured and enabled through the Dashboard. +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: diff --git a/apps/emqx_gateway_lwm2m/README.md b/apps/emqx_gateway_lwm2m/README.md index 678d74dcf..b69ae44db 100644 --- a/apps/emqx_gateway_lwm2m/README.md +++ b/apps/emqx_gateway_lwm2m/README.md @@ -5,7 +5,7 @@ is a protocol designed for IoT devices and machine-to-machine communication. It is a lightweight protocol that supports devices with limited processing power and memory. -The **LwM2M Gateway** in EMQX can accept LwM2M clients and translate theirevents +The **LwM2M Gateway** in EMQX can accept LwM2M clients and translate their events and messages into MQTT Publish messages. In the current implementation, it has the following limitations: @@ -15,7 +15,7 @@ In the current implementation, it has the following limitations: ## Quick Start -In EMQX 5.0, LwM2M gateways can be configured and enabled through the Dashboard. +In EMQX 5.0, LwM2M gateway can be configured and enabled through the Dashboard. It can also be enabled via the HTTP API, and emqx.conf e.g, In emqx.conf: @@ -52,7 +52,6 @@ gateway.lwm2m { > 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. -::: ## Object definations diff --git a/apps/emqx_gateway_stomp/src/emqx_stomp_schema.erl b/apps/emqx_gateway_stomp/src/emqx_stomp_schema.erl index b1c6a92e2..4941634b7 100644 --- a/apps/emqx_gateway_stomp/src/emqx_stomp_schema.erl +++ b/apps/emqx_gateway_stomp/src/emqx_stomp_schema.erl @@ -35,7 +35,7 @@ fields(stomp_frame) -> non_neg_integer(), #{ default => 10, - desc => ?DESC(stom_frame_max_headers) + desc => ?DESC(stomp_frame_max_headers) } )}, {max_headers_length, @@ -51,7 +51,7 @@ fields(stomp_frame) -> integer(), #{ default => 65536, - desc => ?DESC(stom_frame_max_body_length) + desc => ?DESC(stomp_frame_max_body_length) } )} ]. diff --git a/rel/i18n/emqx_stomp_schema.hocon b/rel/i18n/emqx_stomp_schema.hocon index 05d5b9d18..36220d158 100644 --- a/rel/i18n/emqx_stomp_schema.hocon +++ b/rel/i18n/emqx_stomp_schema.hocon @@ -1,16 +1,16 @@ emqx_stomp_schema { -stom_frame_max_body_length.desc: -"""Maximum number of bytes of Body allowed per Stomp packet""" - -stom_frame_max_headers.desc: -"""The maximum number of Header""" - stomp.desc: """The Stomp Gateway configuration. This gateway supports v1.2/1.1/1.0""" +stomp_frame_max_headers.desc: +"""The maximum number of Header""" + stomp_frame_max_headers_length.desc: """The maximum string length of the Header Value""" +stomp_frame_max_body_length.desc: +"""Maximum number of bytes of Body allowed per Stomp packet""" + }