xuos-web/docs/doc/communication/ethernet.md

948 lines
26 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ethernet
<!--不放在这里会导致标题不等高-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Excel.Sheet">
<meta name="Generator" content="Aspose.Cell 18.4">
<link rel="File-List" href="092116125162_files/filelist.xml">
<link rel="Edit-Time-Data" href="092116125162_files/editdata.mso">
<link rel="OLE-Object-Data" href="092116125162_files/oledata.mso">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{
mso-header-data:"";
mso-footer-data:"";
margin:0.75in 0.7in 0.75in 0.7in;
mso-header-margin:0.3in;
mso-footer-margin:0.3in;
mso-page-orientation:Portrait;
}
tr
{mso-height-source:auto;
mso-ruby-visibility:none;}
col
{mso-width-source:auto;
mso-ruby-visibility:none;}
br
{mso-data-placement:same-cell;}
ruby
{ruby-align:left;}
.style0
{
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
.font0
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font1
{
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif"; }
.font2
{
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","sans-serif"; }
.font3
{
color:#000000;
font-size:9pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace"; }
.font4
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace"; }
td
{mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-ignore:padding;}
.style0
{
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
mso-style-name:"Normal";
}
.style1
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style2
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style3
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style4
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style5
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style6
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style7
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style8
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style9
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style10
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style11
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style12
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style13
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style14
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.x15
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.style16
{
mso-number-format:"0%";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Percent";
}
.style17
{
mso-number-format:"_ \0022¥\0022* \#\,\#\#0\.00_ \;_ \0022¥\0022* -\#\,\#\#0\.00_ \;_ \0022¥\0022* \0022-\0022??_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency";
}
.style18
{
mso-number-format:"_ \0022¥\0022* \#\,\#\#0_ \;_ \0022¥\0022* -\#\,\#\#0_ \;_ \0022¥\0022* \0022-\0022_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency [0]";
}
.style19
{
mso-number-format:"_ * \#\,\#\#0\.00_ \;_ * -\#\,\#\#0\.00_ \;_ * \0022-\0022??_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma";
}
.style20
{
mso-number-format:"_ * \#\,\#\#0_ \;_ * -\#\,\#\#0_ \;_ * \0022-\0022_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma [0]";
}
.x21
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:#8DB3E1;
mso-pattern:auto none;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","sans-serif";
border-top:1px solid #4F81BC;
border-right:none;
border-bottom:none;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x22
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:#8DB3E1;
mso-pattern:auto none;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:none;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x23
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:#8DB3E1;
mso-pattern:auto none;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:none;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x24
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:#8DB3E1;
mso-pattern:auto none;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:1px solid #4F81BC;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x25
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:none;
border-bottom:none;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x26
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:1px solid #4F81BC;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x27
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:1px solid #4F81BC;
border-bottom:1px solid #4F81BC;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x28
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:1px solid #4F81BC;
border-bottom:1px solid #4F81BC;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x29
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:none;
border-bottom:1px solid #4F81BC;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x30
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:1px solid #4F81BC;
border-bottom:1px solid #4F81BC;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x31
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:none;
border-bottom:none;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x32
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:700;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:1px solid #4F81BC;
border-bottom:none;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x33
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
border-top:1px solid #4F81BC;
border-right:1px solid #4F81BC;
border-bottom:none;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x34
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
border-top:none;
border-right:1px solid #4F81BC;
border-bottom:1px solid #4F81BC;
border-left:1px solid #4F81BC;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
-->
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Sheet1</x:Name>
<x:WorksheetOptions>
<x:StandardWidth>2304</x:StandardWidth>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>9</x:PaperSizeIndex>
<x:HorizontalResolution>600</x:HorizontalResolution>
<x:VerticalResolution>600</x:VerticalResolution>
</x:Print>
<x:Selected/>
<x:TopRowVisible>6</x:TopRowVisible>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
<x:WindowHeight>12576</x:WindowHeight>
<x:WindowWidth>23256</x:WindowWidth>
<x:WindowTopX>-108</x:WindowTopX>
<x:WindowTopY>-108</x:WindowTopY>
<x:RefModeR1C1/>
<x:TabRatio>600</x:TabRatio>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
## 模块介绍
<el-divider></el-divider>
### USRK7
<div style="display: flex;justify-content: center;align-items: center;">
<img src = "./imagesrc/usr-k7.png" alt="usr-k7" width =50% max-width= 50% >
</br>
</div>
</br>
USR-K7 模块用于实现串口到以太网口的数据的双向透明传输,用户无需关心具体细节,模块内部完成协
议转换。串口侧是串口电平数据,以太网口侧是网络数据包,通过简单设置即可指定工作细节。参数可以通过
内置网页也可以通过设置软件进行设置,一次设置永久保存。</br>
#### 功能特点
+ ARM 内核,工业级温度范围,精心优化的 TCP/IP 协议栈,稳定可靠
+ 10/100Mbps 网口,支持 Auto-MDI/MDIX支持交叉直连网线自适应
+ 支持 TCP Server、TCP Client、UDP Client、UDP Server、Httpd Client 多种工作模式
+ 内置网页,可通过网页进行参数设置,也可为用户定制网页;并且内置网页端口可设置(默认 80
+ 支持 485 收发使能,串口可以作为 485 使用。
+ 支持 RTS/CTS 硬件流控功能,支持 Xon/Xoff 软件流控
+ 支持虚拟串口软件USR-VCOM
+ 串口波特率支持 600bps~1Mbps支持 None、Odd、Even、Mark、Space 五种校验方式
+ 支持 Modbus 网关功能,工业现场使用更加方便
+ 支持 Reload 按键,即硬件恢复出厂设置
+ RJ45 带 Link/Data 指示灯网口内置隔离变压器1.5KV 电磁隔离
+ 全球唯一 MAC 地址,也允许用户自定义临时 MAC 地址
+ 支持通过网络升级固件;支持域名服务器;支持 DHCP 自动获取 IP
+ 支持 keepalive 机制,可快速探查死连接等异常并快速重连
+ 支持账户跟密码,可用于网页登录以及网络设置,更安全
+ 支持一路 Websocket 功能,实现网页与串口的数据双向传输
#### 基本参数
<body link='blue' vlink='purple' >
<table border='0' cellpadding='0' cellspacing='0' width='815' style='border-collapse:
collapse;table-layout:fixed;width:611pt'>
<col width='72' style='width:54pt'>
<col width='201' style='mso-width-source:userset;width:150.75pt'>
<col width='244' style='mso-width-source:userset;width:183pt'>
<col width='298' style='mso-width-source:userset;width:223.5pt'>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r0'>
<td colspan='2' height='18' class='x21' width='273' style='height:13.65pt;'>分类 </td>
<td class='x23' width='244' style='width:183pt;'>参数 </td>
<td class='x24' width='298' style='width:223.5pt;'>数值 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r1'>
<td colspan='2' rowspan='5' height='96' class='x25' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:72pt;'>硬件参数 </td>
<td class='x27'>工作电压 </td>
<td class='x27'>DC 3.03.6 V3.3V 最佳) </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r2'>
<td class='x28'>工作电流 </td>
<td class='x28'>130mA@3.3V </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r3'>
<td class='x28'>网口规格 </td>
<td class='x28'>RJ45、10/100Mbps、交叉直连自适应 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r4'>
<td class='x28'>封装形式 </td>
<td class='x28'>插针式封装 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r5'>
<td class='x28'>串口波特率 </td>
<td class='x28'>6001Mbps </td>
</tr>
<tr height='38' style='mso-height-source:userset;height:28.8pt' id='r6'>
<td colspan='2' rowspan='24' height='488' class='x31' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:366.45pt;'>软件参数<span style='mso-spacerun:yes;white-space:nowrap;'>&nbsp; </span></td>
<td class='x28'>网络协议 </td>
<td class='x28'>IP、TCP、UDP、DHCP、DNS、HTTP、ARP、ICMP、Web socket </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r7'>
<td class='x28'>IP 获取方式 </td>
<td class='x28'>静态 IP、DHCP </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r8'>
<td class='x28'>域名解析 </td>
<td class='x28'>支持 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r9'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>用户配置 </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>软件配置,网页配置,AT 指令配置 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r10'>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r11'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>简单透传方式 </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>TCP Server/TCP Client/UDP Server/UDP Client </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r12'>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r13'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>Modbus </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>支持 Modbus 网关 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r14'>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r15'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>网页转串口 </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>支持 WebSocket 通信方式的网页转串口 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r16'>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r17'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>Httpd Client </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>支持 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r18'>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r19'>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>类 RFC2217 </td>
<td rowspan='2' height='35' class='x33' style='border-right:1px solid #4F81BC;border-bottom:1px solid #4F81BC;height:26.85pt;'>支持 </td>
</tr>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r20'>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r21'>
<td class='x28'>自定义网页 </td>
<td class='x28'>支持 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r22'>
<td class='x28'>网络缓存 </td>
<td class='x28'>发送16Kbyte接收16Kbyte </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r23'>
<td class='x28'>串口缓存 </td>
<td class='x28'>发送2Kbyte接收2Kbyte </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r24'>
<td class='x28'>平均传输延时 </td>
<td class='x28'>局域网内&lt;10ms </td>
</tr>
<tr height='38' style='mso-height-source:userset;height:28.8pt' id='r25'>
<td class='x28'>配套软件 </td>
<td class='x28'>虚拟串口软件、透传云测试软件、参数设置软件 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r26'>
<td class='x28'>认证 </td>
<td class='x28'>CE、FCC、ROHS </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r27'>
<td class='x28'>可靠等级 </td>
<td class='x28'>1.5KV 电磁隔离 </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r28'>
<td class='x28'>尺寸 </td>
<td class='x28'>35.0x19.39x18.25 mm(L*W*H) </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r29'>
<td class='x28'>工作温度 </td>
<td class='x28'>-4085℃ </td>
</tr>
<![if supportMisalignedColumns]>
<tr height='0' style='display:none'>
<td width='72' style='width:54pt'></td>
<td width='201' style='width:150.75pt'></td>
<td width='244' style='width:183pt'></td>
<td width='298' style='width:223.5pt'></td>
</tr>
<![endif]>
</table>
<script language = 'javascript' type='text/javascript'>
function ChangeRowspanHiddenData()
{
var node;
var params=["r1","r6","r9","r11","r13","r15","r17","r19"];
for (var i = 0;i < params.length; i++)
{
node = document.getElementById(params[i]);
if (node != null)
{
node.style.display = "";
}
}
}
ChangeRowspanHiddenData();
</script>
</body>
## 模块配置和代码树
<el-divider></el-divider>
对于ethernet 模块默认配置就可以测试可能需要修改的是UART设备的名字</br>
[\*] Enable Ethernet ---></br>
&ensp;&ensp;&ensp;&ensp;--- Enable Ethernet</br>
&ensp;&ensp;&ensp;&ensp;[\*] USR IOT USRK7</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;[ ] Enable initialize by thread</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;[\*] Enable sample ---> (是否编译测试例程)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(-1) Power pin ---> (电源引脚配置,与电路板相关,模块测试无需修改)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(-1) Power status pin ---> (电源状态引脚配置,与电路板相关,模块测试无需修改)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(uart3) AT client device name ---> 模块连接的UART名字取决于模块和主板的连接方式</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(1024) The maximum length of receive line buffer ---> 缓存大小建议在1K以上</br>
<div>
<img src = "./imagesrc/usr-k7_CodeTree.png" alt="usr-k7_CodeTree" width =300 >
</div>