From abd1c7c6d6026195d573d3390e6866aaab8f22c9 Mon Sep 17 00:00:00 2001 From: lingniu-dev Date: Wed, 15 Apr 2026 17:00:56 +0800 Subject: [PATCH] config(gb32960): enable guangdong-fc vendor extension for lingniu account Adds a vendor-extensions entry under lingniu.ingest.gb32960 mapping the existing lingniu platform account (already present in auth.platforms) to the guangdong-fc parser bundle, so that incoming 0x02 realtime frames from this peer get routed to the GuangdongFc.* parsers instead of falling through to the default profile and producing the "unknown info block typeCode=0x30" WARN. vin-prefixes / vins are left empty pending real values from the peer. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/main/resources/application.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/bootstrap-all/src/main/resources/application.yml b/bootstrap-all/src/main/resources/application.yml index 467e9711..b6641e34 100644 --- a/bootstrap-all/src/main/resources/application.yml +++ b/bootstrap-all/src/main/resources/application.yml @@ -37,6 +37,24 @@ lingniu: key-path: ${GB32960_TLS_KEY:} # 服务端私钥 PEM 路径(PKCS#8 未加密) trust-cert-path: ${GB32960_TLS_CA:} # 受信 CA 证书 PEM,用于校验客户端证书 require-client-auth: true # 强制双向;false=单向 TLS + # ==================================================================== + # 厂商扩展协议路由(vendor extensions) + # 命中规则按 list 顺序首匹(first-match-wins),命中后用对应套件的 parser 集合 + # 在标准 0x01..0x09 之上叠加。已支持的套件: + # - guangdong-fc:广东燃料电池汽车示范规范 0x30~0x34、0x80 + # 来源:reference/广东燃料电池汽车示范应用城市群综合监管平台-...pdf + # ==================================================================== + vendor-extensions: + - name: guangdong-fc + match: + # 平台账号匹配(精确匹配,case-insensitive)。这里和上面 auth.platforms + # 中的 username 保持一致,确保 lingniu 账号登入后所有 0x02 帧都走广东 profile。 + platform-accounts: + - lingniu + # VIN 前缀匹配(startsWith);空 list = 不参与匹配 + vin-prefixes: [] + # VIN 精确匹配 + vins: [] jt808: enabled: false port: 10808