Skip to content

Commit d5e4a03

Browse files
Kinplemelonysfscream
authored andcommitted
fix(gateway): default value of ignore_unsupported_frames
1 parent e766129 commit d5e4a03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/i18n/Gateway.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,8 @@ Note: mounting occurs **after authorization/ACL checks**.`,
499499
en: 'Ignore Unsupported Frames',
500500
},
501501
ignoreUnsupportedFramesDesc: {
502-
zh: '是否忽略不支持的帧。设置为 `true` 时,不支持的帧将被记录并忽略;设置为 `false` 时,网关在收到不支持的帧时将断开客户端连接。默认值为 `false。`',
503-
en: 'Whether to ignore unsupported frames. When set to `true`, unsupported frames will be logged and ignored; when set to `false`, the gateway will disconnect the client when receiving an unsupported frame. The default value is `false`.',
502+
zh: '是否忽略不支持的帧。设置为 `true` 时,不支持的帧将被记录并忽略;设置为 `false` 时,网关在收到不支持的帧时将断开客户端连接。默认值为 `true`。',
503+
en: 'Whether to ignore unsupported frames. When set to `true`, unsupported frames will be logged and ignored; when set to `false`, the gateway will disconnect the client when receiving an unsupported frame. The default value is `true`.',
504504
},
505505
defaultHeartbeatInterval: {
506506
zh: '默认心跳间隔',

src/views/Gateway/components/jt808Basic.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const createDefault = () => ({
154154
},
155155
up_topic: 'jt808/${clientid}/${phone}/up',
156156
dn_topic: 'jt808/${clientid}/${phone}/dn',
157-
ignore_unsupported_frames: false,
157+
ignore_unsupported_frames: true,
158158
},
159159
mountpoint: 'jt808/${clientid}/',
160160
retry_interval: '8s',

0 commit comments

Comments
 (0)