<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 560" role="img" aria-labelledby="title desc">
  <title id="title">GD6 直接连接 The Things Stack LNS</title>
  <desc id="desc">LoRaWAN 终端通过 GD6 的 Basic Station 驱动连接 The Things Stack Gateway Server 的 LNS 端点。</desc>
  <defs>
    <marker id="arrow" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth">
      <path d="M0,0 L0,6 L9,3 z" fill="#2563eb"/>
    </marker>
    <style>
      .title{font:700 34px system-ui,-apple-system,"PingFang SC",sans-serif;fill:#172033}
      .box-title{font:700 24px system-ui,-apple-system,"PingFang SC",sans-serif;fill:#172033}
      .body{font:18px system-ui,-apple-system,"PingFang SC",sans-serif;fill:#475569}
      .label{font:700 18px ui-monospace,SFMono-Regular,Menlo,monospace;fill:#1d4ed8}
      .box{fill:#fff;stroke:#cbd5e1;stroke-width:2}
      .accent{fill:#eff6ff;stroke:#60a5fa;stroke-width:2}
      .arrow{stroke:#2563eb;stroke-width:4;fill:none;marker-end:url(#arrow)}
    </style>
  </defs>
  <rect width="1280" height="560" rx="28" fill="#f8fafc"/>
  <text class="title" x="64" y="72">The Things Stack · 直接 LNS 数据路径</text>

  <rect class="box" x="76" y="164" width="230" height="150" rx="18"/>
  <text class="box-title" x="191" y="220" text-anchor="middle">LoRaWAN 终端</text>
  <text class="body" x="191" y="262" text-anchor="middle">上行 / 下行射频</text>

  <rect class="accent" x="440" y="164" width="230" height="150" rx="18"/>
  <text class="box-title" x="555" y="220" text-anchor="middle">GD6 网关</text>
  <text class="body" x="555" y="262" text-anchor="middle">Basic Station 驱动</text>

  <rect class="box" x="824" y="144" width="380" height="190" rx="18"/>
  <text class="box-title" x="1014" y="205" text-anchor="middle">The Things Stack</text>
  <text class="body" x="1014" y="247" text-anchor="middle">Gateway Server · LNS</text>
  <text class="label" x="1014" y="288" text-anchor="middle">wss://&lt;server-address&gt;:8887</text>

  <path class="arrow" d="M306 239 H422"/>
  <path class="arrow" d="M670 239 H806"/>

  <rect x="440" y="390" width="764" height="108" rx="16" fill="#fff7ed" stroke="#fdba74" stroke-width="2"/>
  <text class="box-title" x="472" y="432">直接 LNS 凭据</text>
  <text class="body" x="472" y="471">LNS 信任证书（trust）＋具有 Gateway Link 权限的 LNS API Key</text>
</svg>
