Skip to content

update(JT/T 808): Add config "ignore_unsupported_frames" #2863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified en_US/gateway/assets/jt808-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions en_US/gateway/jt808.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ On the Gateways page, locate **JT/T 808**. Click **Settings** in the **Actions**
- **Authentication URL**: Specify the URL of an external service to authenticate clients.
- **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`.
- **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`.
- **Ignore Unsupported Frames**: Determines how the gateway handles JT/T 808 frames that do not conform to the standard protocol.
- 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`.
- When set to `false`, the gateway disconnects the client when receiving unsupported frames.

- **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.


Expand Down
Binary file modified zh_CN/gateway/assets/jt808-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions zh_CN/gateway/jt808.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ JT/T 808 网关仅支持 TCP 类型的监听器,其完整可配置的参数列
- **鉴权 URL**:指定用于客户端认证的外部服务的 URL。
- **上行主题**:用于发布消息从网关到 EMQX 的 MQTT 主题模式。定义了 JT/T 808 客户端消息如何映射到 MQTT 主题进行上行通信。默认主题为:`jt808/${clientid}/${phone}/up`。
- **下行主题**:用于从代理到网关再到 JT/T 808 客户端发送消息的 MQTT 主题模式。定义了 MQTT 代理的消息如何路由到 JT/T 808 客户端进行下行通信。默认主题为:`jt808/${clientid}/${phone}/dn`。
- **忽略不支持的帧**:用于控制网关如何处理不符合标准协议的 JT/T 808 数据帧。
- 设置为 `true` 时,网关会记录不支持的帧,但仍然继续处理其他有效消息,从而避免因自定义或非标准消息导致设备断开连接。默认值为 `true`。
- 设置为 `false` 时,网关在收到不支持的帧时将断开客户端连接。

- **允许匿名**:此设置决定网关是否允许客户端无需认证即可连接。如果设置为 `true`,客户端可以在不提供认证凭证的情况下连接。

### 添加监听器
Expand Down