(window.webpackJsonp=window.webpackJsonp||[]).push([[306],{627:function(t,i,n){"use strict";n.r(i);var o=n(10),a=Object(o.a)({},(function(){var t=this,i=t._self._c;return i("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[i("h1",{attrs:{id:"通讯-communication"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#通讯-communication"}},[t._v("#")]),t._v(" 通讯-Communication")]),t._v(" "),i("p",[i("strong",[t._v("Communication")]),t._v(" 菜单用于添加与模组的通信链路。依次点击 "),i("strong",[t._v("Communication → Add Link")]),t._v(",打开链路设置对话框,即可选择连接方式并完成连接。")]),t._v(" "),i("fdi-img",{attrs:{width:"90%",alt:"Communication → Add Link",src:"/fdigroundstation/菜单栏/Communication-01-menu.jpg",caption:"Communication → Add Link"}}),t._v(" "),i("h2",{attrs:{id:"四种连接方式"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#四种连接方式"}},[t._v("#")]),t._v(" 四种连接方式")]),t._v(" "),i("p",[t._v("在对话框的 "),i("strong",[t._v("Link Type")]),t._v(" 中可选四种链路类型:"),i("strong",[t._v("Serial")]),t._v("、"),i("strong",[t._v("UDP")]),t._v("、"),i("strong",[t._v("Simulation")]),t._v("、"),i("strong",[t._v("TCP")]),t._v("。日常 USB / 串口连接模组时使用 "),i("strong",[t._v("Serial")]),t._v(";网络透传或仿真场景再选用其余类型。")]),t._v(" "),i("fdi-img",{attrs:{width:"70%",alt:"Link Type",src:"/fdigroundstation/菜单栏/Communication-02-link-types.jpg",caption:"Link Type:Serial / UDP / Simulation / TCP"}}),t._v(" "),i("p",[t._v("配置完成后点击绿色 "),i("strong",[t._v("Connect")]),t._v(" 连接;"),i("strong",[t._v("Delete")]),t._v(" 删除当前链路,"),i("strong",[t._v("Close")]),t._v(" 关闭对话框。")]),t._v(" "),i("h3",{attrs:{id:"serial-串口"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#serial-串口"}},[t._v("#")]),t._v(" Serial(串口)")]),t._v(" "),i("p",[t._v("最常用方式:模组经 USB 转串口接到电脑后,在 "),i("strong",[t._v("Serial Port")]),t._v(" 中选择对应 COM 口,"),i("strong",[t._v("Baud Rate")]),t._v(" 默认 "),i("strong",[t._v("921600")]),t._v(",其余串口参数一般保持默认,再点击 "),i("strong",[t._v("Connect")]),t._v("。")]),t._v(" "),i("p",[t._v("完整操作步骤亦可参考 "),i("RouterLink",{attrs:{to:"/developers/fdigroundstation/连接上位机.html"}},[t._v("连接上位机")]),t._v("。")],1),t._v(" "),i("fdi-img",{attrs:{width:"70%",alt:"Serial",src:"/fdigroundstation/菜单栏/Communication-03-serial.jpg",caption:"Serial:选择 COM 口与波特率"}}),t._v(" "),i("h3",{attrs:{id:"udp"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#udp"}},[t._v("#")]),t._v(" UDP")]),t._v(" "),i("p",[t._v("适用于经 UDP 转发 FDILink 数据的场景。设置 "),i("strong",[t._v("UDP Port")]),t._v("(示例如 "),i("strong",[t._v("14550")]),t._v(");需要指定远端时点击 "),i("strong",[t._v("Add IP")]),t._v(",在弹窗中填写 "),i("code",[t._v("主机名:端口")]),t._v("(示例如 "),i("code",[t._v("localhost:14555")]),t._v("),确认后再点击 "),i("strong",[t._v("Connect")]),t._v("。")]),t._v(" "),i("fdi-img",{attrs:{width:"70%",alt:"UDP",src:"/fdigroundstation/菜单栏/Communication-04-udp.jpg",caption:"UDP:端口与 Add IP(填写远端主机)"}}),t._v(" "),i("h3",{attrs:{id:"tcp"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#tcp"}},[t._v("#")]),t._v(" TCP")]),t._v(" "),i("p",[t._v("适用于经 TCP 连接设备或网关。填写 "),i("strong",[t._v("TCP IP")]),t._v(" 与 "),i("strong",[t._v("TCP Port")]),t._v("(示例如 "),i("code",[t._v("192.168.1.1")]),t._v("、"),i("code",[t._v("8080")]),t._v("),再点击 "),i("strong",[t._v("Connect")]),t._v("。")]),t._v(" "),i("fdi-img",{attrs:{width:"70%",alt:"TCP",src:"/fdigroundstation/菜单栏/Communication-05-tcp.jpg",caption:"TCP:IP 与端口"}}),t._v(" "),i("h3",{attrs:{id:"simulation-仿真"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#simulation-仿真"}},[t._v("#")]),t._v(" Simulation(仿真)")]),t._v(" "),i("p",[i("strong",[t._v("Simulation")]),t._v(" 为仿真链路,用于无真实硬件时的界面联调或演示;参数区通常无需额外配置,点击 "),i("strong",[t._v("Connect")]),t._v(" 即可进入仿真连接状态。")]),t._v(" "),i("fdi-img",{attrs:{width:"70%",alt:"Simulation",src:"/fdigroundstation/菜单栏/Communication-06-simulation.jpg",caption:"Simulation:仿真链路"}})],1)}),[],!1,null,null,null);i.default=a.exports}}]);