Skip to content

Commit 8f31d4b

Browse files
committed
update(JT/T 808): Add config "ignore_unsupported_frames"
1 parent 51c5a0c commit 8f31d4b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

en_US/gateway/jt808.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ On the Gateways page, locate **JT/T 808**. Click **Settings** in the **Actions**
151151
- **Authentication URL**: Specify the URL of an external service to authenticate clients.
152152
- **Up Topic**: The MQTT topic pattern used for publishing messages from the gateway to EMQX. It defines how messages from JT/T 808 clients are mapped to MQTT topics for upstream communication. The default topic is: `jt808/${clientid}/${phone}/up`.
153153
- **Down Topic**: the MQTT topic pattern for messages that are sent from the broker to the gateway and then to JT/T 808 clients. It defines how messages from the MQTT broker are routed to the JT/T 808 clients for downstream communication. The default topic is: `jt808/${clientid}/${phone}/dn`.
154+
- **Ignore Unsupported Frames**: Determines how the gateway handles JT/T 808 frames that do not conform to the standard protocol.
155+
- When set to `true`, the gateway logs unsupported frames but continues processing other valid messages, preventing disconnection due to custom or non-standard messages. The default value is `true`.
156+
- When set to `false`, the gateway disconnects the client when receiving unsupported frames.
157+
154158
- **Allow Anonymous**: This setting determines whether or not the gateway allows clients to connect without authentication. If set to `true`, clients can connect without providing authentication credentials.
155159

156160

zh_CN/gateway/jt808.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ JT/T 808 网关仅支持 TCP 类型的监听器,其完整可配置的参数列
149149
- **鉴权 URL**:指定用于客户端认证的外部服务的 URL。
150150
- **上行主题**:用于发布消息从网关到 EMQX 的 MQTT 主题模式。定义了 JT/T 808 客户端消息如何映射到 MQTT 主题进行上行通信。默认主题为:`jt808/${clientid}/${phone}/up`
151151
- **下行主题**:用于从代理到网关再到 JT/T 808 客户端发送消息的 MQTT 主题模式。定义了 MQTT 代理的消息如何路由到 JT/T 808 客户端进行下行通信。默认主题为:`jt808/${clientid}/${phone}/dn`
152+
- **忽略不支持的帧**:用于控制网关如何处理不符合标准协议的 JT/T 808 数据帧。
153+
- 设置为 `true` 时,网关会记录不支持的帧,但仍然继续处理其他有效消息,从而避免因自定义或非标准消息导致设备断开连接。默认值为 `true`
154+
- 设置为 `false` 时,网关在收到不支持的帧时将断开客户端连接。
155+
152156
- **允许匿名**:此设置决定网关是否允许客户端无需认证即可连接。如果设置为 `true`,客户端可以在不提供认证凭证的情况下连接。
153157

154158
### 添加监听器

0 commit comments

Comments
 (0)