加入了AT指令基类与ATWIFI模块指令

This commit is contained in:
XerolySkinner
2022-11-25 02:47:51 +08:00
parent 01324e987e
commit dcee54c50d
415 changed files with 8578 additions and 674 deletions

View File

@@ -13,6 +13,10 @@
<para>链表方式栈的节点 </para>
<link linkend="_struct___r_g_b_q_u_a_d">_RGBQUAD</link>
<para>调色板 </para>
<link linkend="_classbsp___a_t">bsp_AT</link>
<para>AT协议的基类 </para>
<link linkend="_classbsp___a_t_k_e_s_p8266">bsp_ATKESP8266</link>
<para>实现驱动ATKESP8266的类 </para>
<link linkend="_classbsp___b_m_p">bsp_BMP</link>
<para>构建一个BMP类 </para>
<link linkend="_classbsp___differential">bsp_Differential</link>

View File

@@ -0,0 +1,26 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_8cpp" xml:lang="zh">
<title>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.cpp 文件参考</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.cpp</primary></indexterm>
<para>
<para>AT指令集 </para>
</para>
<programlisting linenumbering="unnumbered">#include &quot;bsp_AT.h&quot;<?linebreak?></programlisting>bsp_AT.cpp 的引用(Include)关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_8cpp__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<section>
<title>详细描述</title>
<para>AT指令集 </para>
<para>
在文件 <link linkend="_bsp___a_t_8cpp_source">bsp_AT.cpp</link> 中定义.</para>
</section>
</section>

View File

@@ -0,0 +1 @@
5e127323cf37582354c24dac4ef48071

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,37 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_8cpp_source" xml:lang="zh">
<title>bsp_AT.cpp</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.cpp</primary></indexterm>
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___a_t_8cpp_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00002"/>00002 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00003"/>00003 <emphasis role="comment">&#32;#&#32;&#32;Copyright&#32;(c)&#32;2022&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00004"/>00004 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00005"/>00005 <emphasis role="comment">&#32;#&#32;&#32;本软件按原样提供,无任何明示或暗示</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00006"/>00006 <emphasis role="comment">&#32;#&#32;&#32;在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00007"/>00007 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00008"/>00008 <emphasis role="comment">&#32;#&#32;&#32;使用的许可声明:</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00009"/>00009 <emphasis role="comment">&#32;#&#32;&#32;1.&#32;&#32;不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00010"/>00010 <emphasis role="comment">&#32;#&#32;&#32;2.&#32;&#32;免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00011"/>00011 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;并且版权声明和许可声明同时出现.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00012"/>00012 <emphasis role="comment">&#32;#&#32;&#32;3.&#32;&#32;你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00013"/>00013 <emphasis role="comment">&#32;#&#32;&#32;4.&#32;&#32;如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00014"/>00014 <emphasis role="comment">&#32;#&#32;&#32;5.&#32;&#32;本通知不得从任何来源删除或更改.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00015"/>00015 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00016"/>00016 <emphasis role="comment">&#32;#&#32;&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00017"/>00017 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;E-mail:zabbcccbbaz@163.com</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00018"/>00018 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;QQ:2715099320</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00019"/>00019 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;Mobile&#32;Phone:13005636215</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00020"/>00020 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00021"/>00021 <emphasis role="comment">&#32;#&#32;&#32;All&#32;rights&#32;reserved.</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00022"/>00022 <emphasis role="comment">&#32;*/</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00023"/>00023
<anchor xml:id="_bsp___a_t_8cpp_source_1l00034"/>00034 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00035"/>00035 <emphasis role="comment">//&#32;&#32;头文件</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00036"/>00036 <emphasis role="preprocessor">#include&#32;&quot;<link linkend="_bsp___a_t_8h">bsp_AT.h</link>&quot;</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00038"/>00038 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00039"/>00039 <emphasis role="comment">//&#32;&#32;类函数</emphasis>
<anchor xml:id="_bsp___a_t_8cpp_source_1l00044"/><link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">00044</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">bsp_AT::com</link>(<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;dat)&#32;{
<anchor xml:id="_bsp___a_t_8cpp_source_1l00045"/>00045 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)<emphasis role="stringliteral">&quot;AT+&quot;</emphasis>,&#32;3);
<anchor xml:id="_bsp___a_t_8cpp_source_1l00046"/>00046 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)dat,&#32;strlen(dat));
<anchor xml:id="_bsp___a_t_8cpp_source_1l00047"/>00047 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)<emphasis role="stringliteral">&quot;\r\n&quot;</emphasis>,&#32;2);}
</programlisting></section>

View File

@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_8h" xml:lang="zh">
<title>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.h 文件参考</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.h</primary></indexterm>
<para>
<para>AT指令集 </para>
</para>
<programlisting linenumbering="unnumbered">#include &lt;string.h&gt;<?linebreak?>#include &quot;varint.h&quot;<?linebreak?></programlisting>bsp_AT.h 的引用(Include)关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_8h__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
此图展示该文件直接或间接的被哪些文件引用了:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_8h__dep__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<simplesect>
<title></title>
<itemizedlist>
<listitem><para>class <link linkend="_classbsp___a_t">bsp_AT</link></para>
<para>AT协议的基类 </para>
</listitem>
</itemizedlist>
</simplesect>
<section>
<title>详细描述</title>
<para>AT指令集 </para>
<para>
在文件 <link linkend="_bsp___a_t_8h_source">bsp_AT.h</link> 中定义.</para>
</section>
</section>

View File

@@ -0,0 +1 @@
dae48406eade2b422374ca85ff795d3a

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -0,0 +1 @@
e8aa5d0a097eab70f2fdd627a726fd16

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,41 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_8h_source" xml:lang="zh">
<title>bsp_AT.h</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_AT.h</primary></indexterm>
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___a_t_8h_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00002"/>00002 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00003"/>00003 <emphasis role="comment">&#32;#&#32;&#32;Copyright&#32;(c)&#32;2022&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00004"/>00004 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00005"/>00005 <emphasis role="comment">&#32;#&#32;&#32;本软件按原样提供,无任何明示或暗示</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00006"/>00006 <emphasis role="comment">&#32;#&#32;&#32;在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00007"/>00007 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00008"/>00008 <emphasis role="comment">&#32;#&#32;&#32;使用的许可声明:</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00009"/>00009 <emphasis role="comment">&#32;#&#32;&#32;1.&#32;&#32;不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00010"/>00010 <emphasis role="comment">&#32;#&#32;&#32;2.&#32;&#32;免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00011"/>00011 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;并且版权声明和许可声明同时出现.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00012"/>00012 <emphasis role="comment">&#32;#&#32;&#32;3.&#32;&#32;你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00013"/>00013 <emphasis role="comment">&#32;#&#32;&#32;4.&#32;&#32;如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00014"/>00014 <emphasis role="comment">&#32;#&#32;&#32;5.&#32;&#32;本通知不得从任何来源删除或更改.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00015"/>00015 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00016"/>00016 <emphasis role="comment">&#32;#&#32;&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00017"/>00017 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;E-mail:zabbcccbbaz@163.com</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00018"/>00018 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;QQ:2715099320</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00019"/>00019 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;Mobile&#32;Phone:13005636215</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00020"/>00020 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00021"/>00021 <emphasis role="comment">&#32;#&#32;&#32;All&#32;rights&#32;reserved.</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00022"/>00022 <emphasis role="comment">&#32;*/</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00023"/>00023
<anchor xml:id="_bsp___a_t_8h_source_1l00033"/>00033 <emphasis role="preprocessor">#pragma&#32;once</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#ifdef&#32;__cplusplus</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include&#32;&lt;string.h&gt;</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00036"/>00036 <emphasis role="preprocessor">#include&#32;&quot;<link linkend="_varint_8h">varint.h</link>&quot;</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00038"/>00038 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00039"/>00039 <emphasis role="comment">//&#32;&#32;头文件</emphasis>
<anchor xml:id="_bsp___a_t_8h_source_1l00043"/><link linkend="_classbsp___a_t">00043</link> <emphasis role="comment"></emphasis><emphasis role="keyword">class&#32;</emphasis><link linkend="_classbsp___a_t">bsp_AT</link>{
<anchor xml:id="_bsp___a_t_8h_source_1l00044"/>00044 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_8h_source_1l00045"/>00045 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;dat);
<anchor xml:id="_bsp___a_t_8h_source_1l00046"/>00046 &#32;&#32;&#32;&#32;<emphasis role="keyword">protected</emphasis>:
<anchor xml:id="_bsp___a_t_8h_source_1l00052"/><link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">00052</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">virtual</emphasis>&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*&#32;dat,&#32;<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>&#32;len)&#32;=&#32;0;
<anchor xml:id="_bsp___a_t_8h_source_1l00053"/>00053 };
<anchor xml:id="_bsp___a_t_8h_source_1l00055"/>00055 <emphasis role="preprocessor">#endif</emphasis>
</programlisting></section>

View File

@@ -0,0 +1,26 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_k_e_s_p8266_8cpp" xml:lang="zh">
<title>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.cpp 文件参考</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.cpp</primary></indexterm>
<para>
<para>ATK-ESP8266模块 </para>
</para>
<programlisting linenumbering="unnumbered">#include &quot;bsp_ATKESP8266.h&quot;<?linebreak?>#include &lt;stdio.h&gt;<?linebreak?></programlisting>bsp_ATKESP8266.cpp 的引用(Include)关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_k_e_s_p8266_8cpp__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<section>
<title>详细描述</title>
<para>ATK-ESP8266模块 </para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link> 中定义.</para>
</section>
</section>

View File

@@ -0,0 +1 @@
df64ac2e0499db3af083c2db779c46e0

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@@ -0,0 +1,170 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source" xml:lang="zh">
<title>bsp_ATKESP8266.cpp</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.cpp</primary></indexterm>
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00002"/>00002 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00003"/>00003 <emphasis role="comment">&#32;#&#32;&#32;Copyright&#32;(c)&#32;2022&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00004"/>00004 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00005"/>00005 <emphasis role="comment">&#32;#&#32;&#32;本软件按原样提供,无任何明示或暗示</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00006"/>00006 <emphasis role="comment">&#32;#&#32;&#32;在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00007"/>00007 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00008"/>00008 <emphasis role="comment">&#32;#&#32;&#32;使用的许可声明:</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00009"/>00009 <emphasis role="comment">&#32;#&#32;&#32;1.&#32;&#32;不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00010"/>00010 <emphasis role="comment">&#32;#&#32;&#32;2.&#32;&#32;免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00011"/>00011 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;并且版权声明和许可声明同时出现.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00012"/>00012 <emphasis role="comment">&#32;#&#32;&#32;3.&#32;&#32;你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00013"/>00013 <emphasis role="comment">&#32;#&#32;&#32;4.&#32;&#32;如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00014"/>00014 <emphasis role="comment">&#32;#&#32;&#32;5.&#32;&#32;本通知不得从任何来源删除或更改.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00015"/>00015 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00016"/>00016 <emphasis role="comment">&#32;#&#32;&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00017"/>00017 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;E-mail:zabbcccbbaz@163.com</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00018"/>00018 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;QQ:2715099320</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00019"/>00019 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;Mobile&#32;Phone:13005636215</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00020"/>00020 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00021"/>00021 <emphasis role="comment">&#32;#&#32;&#32;All&#32;rights&#32;reserved.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00022"/>00022 <emphasis role="comment">&#32;*/</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00023"/>00023
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00034"/>00034 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00035"/>00035 <emphasis role="comment">//&#32;&#32;头文件</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00036"/>00036 <emphasis role="preprocessor">#include&#32;&quot;<link linkend="_bsp___a_t_k_e_s_p8266_8h">bsp_ATKESP8266.h</link>&quot;</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00037"/>00037 <emphasis role="preprocessor">#include&#32;&lt;stdio.h&gt;</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00039"/>00039 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00040"/>00040 <emphasis role="comment">//&#32;&#32;类函数</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00047"/><link linkend="_classbsp___a_t_k_e_s_p8266_1a4a4ee594ad3ebb2a57008669d4e4ec7f">00047</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a4a4ee594ad3ebb2a57008669d4e4ec7f">bsp_ATKESP8266::AP_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00048"/>00048 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00049"/>00049 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00050"/>00050 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port){
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00051"/>00051 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00052"/>00052 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=2&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00053"/>00053 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00054"/>00054 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,&#32;SSID,&#32;PIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00055"/>00055 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00056"/>00056 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSERVER=1,%s&quot;</emphasis>,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00057"/>00057 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00065"/><link linkend="_classbsp___a_t_k_e_s_p8266_1ad073fdbbb243281762d4aaedcee7e7f3">00065</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ad073fdbbb243281762d4aaedcee7e7f3">bsp_ATKESP8266::AP_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00066"/>00066 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00067"/>00067 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00068"/>00068 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00069"/>00069 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00070"/>00070 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00071"/>00071 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=2&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00072"/>00072 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00073"/>00073 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,&#32;SSID,&#32;PIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00074"/>00074 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=0&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00075"/>00075 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=\&quot;TCP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00076"/>00076 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMODE=1&quot;</emphasis>);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00077"/>00077 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00085"/><link linkend="_classbsp___a_t_k_e_s_p8266_1aad6552a50363d608215e683e049ca97f">00085</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aad6552a50363d608215e683e049ca97f">bsp_ATKESP8266::AP_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00086"/>00086 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00087"/>00087 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00088"/>00088 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00089"/>00089 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00090"/>00090 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00091"/>00091 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=2&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00092"/>00092 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00093"/>00093 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,SSID,PIN);<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00094"/>00094 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=0&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00095"/>00095 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=\&quot;UDP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00097"/>00097
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00103"/><link linkend="_classbsp___a_t_k_e_s_p8266_1a92e553288684d2b53f00d40b3bac9c98">00103</link> <emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a92e553288684d2b53f00d40b3bac9c98">bsp_ATKESP8266::STA_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00104"/>00104 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,&#32;
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00105"/>00105 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00106"/>00106 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00107"/>00107 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00108"/>00108 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00109"/>00109 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00110"/>00110 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00111"/>00111 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00112"/>00112 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSERVER=1,%s&quot;</emphasis>,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00113"/>00113 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00121"/><link linkend="_classbsp___a_t_k_e_s_p8266_1a69697daa74e6f5a0996a3cd1e47b7042">00121</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a69697daa74e6f5a0996a3cd1e47b7042">bsp_ATKESP8266::STA_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00122"/>00122 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00123"/>00123 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00124"/>00124 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00125"/>00125 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00126"/>00126 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00127"/>00127 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00128"/>00128 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00129"/>00129 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00130"/>00130 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=0&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00131"/>00131 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=\&quot;TCP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00132"/>00132 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMODE=1&quot;</emphasis>);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00133"/>00133 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00141"/><link linkend="_classbsp___a_t_k_e_s_p8266_1a214b838100782d3baae739da7d23d8b1">00141</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a214b838100782d3baae739da7d23d8b1">bsp_ATKESP8266::STA_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00142"/>00142 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00143"/>00143 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00144"/>00144 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00145"/>00145 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00146"/>00146 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00147"/>00147 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00148"/>00148 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00149"/>00149 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00150"/>00150 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=0&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00151"/>00151 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=\&quot;UDP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00153"/>00153
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00161"/><link linkend="_classbsp___a_t_k_e_s_p8266_1ac199e8a9c4a2746156763b7fe5ed1f27">00161</link> <emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ac199e8a9c4a2746156763b7fe5ed1f27">bsp_ATKESP8266::APSTA_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00162"/>00162 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00163"/>00163 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00164"/>00164 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00165"/>00165 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00166"/>00166 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00167"/>00167 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00168"/>00168 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=3&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00169"/>00169 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00170"/>00170 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,&#32;SSID,&#32;PIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00171"/>00171 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00172"/>00172 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00173"/>00173 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSERVER=1,%s&quot;</emphasis>,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00174"/>00174 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPSTO=1200&quot;</emphasis>);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00175"/>00175 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00185"/><link linkend="_classbsp___a_t_k_e_s_p8266_1acfe6024626c4e5cb866dc36dd84941c1">00185</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1acfe6024626c4e5cb866dc36dd84941c1">bsp_ATKESP8266::APSTA_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00186"/>00186 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00187"/>00187 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00188"/>00188 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00189"/>00189 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00190"/>00190 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00191"/>00191 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00192"/>00192 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00193"/>00193 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=3&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00194"/>00194 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00195"/>00195 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,&#32;SSID,&#32;PIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00196"/>00196 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00197"/>00197 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00198"/>00198 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSERVER=1,%s&quot;</emphasis>,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00199"/>00199 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPSTO=1200&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00200"/>00200 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=0,\&quot;TCP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00201"/>00201 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00211"/><link linkend="_classbsp___a_t_k_e_s_p8266_1aa44ea133ab133b25c10b7fc238d1fb66">00211</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aa44ea133ab133b25c10b7fc238d1fb66">bsp_ATKESP8266::APSTA_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00212"/>00212 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00213"/>00213 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00214"/>00214 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00215"/>00215 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00216"/>00216 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00217"/>00217 &#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00218"/>00218 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[100]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00219"/>00219 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CWMODE=3&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00220"/>00220 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;RST&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00221"/>00221 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWSAP=\&quot;%s\&quot;,\&quot;%s\&quot;,1,4&quot;</emphasis>,&#32;SSID,&#32;PIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00222"/>00222 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CWJAP=\&quot;%s\&quot;,\&quot;%s\&quot;&quot;</emphasis>,&#32;WIFISSID,&#32;WIFIPIN);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00223"/>00223 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPMUX=1&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00224"/>00224 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSERVER=1,%s&quot;</emphasis>,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00225"/>00225 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPSTO=1200&quot;</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00226"/>00226 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSTART=0,\&quot;UDP\&quot;,\&quot;%s\&quot;,%s&quot;</emphasis>,&#32;IP,&#32;port);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00228"/>00228
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00233"/><link linkend="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d">00233</link> <emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d">bsp_ATKESP8266::TCP_Service_T</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;cha,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;len)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00234"/>00234 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[50]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00235"/>00235 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSEND=%d,%d&quot;</emphasis>,&#32;cha,len);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00236"/>00236 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00240"/><link linkend="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d">00240</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d">bsp_ATKESP8266::TCP_Client_T</link>(<emphasis role="keywordtype">void</emphasis>)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00241"/>00241 &#32;&#32;&#32;&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">&quot;CIPSEND&quot;</emphasis>);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00242"/>00242 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00247"/><link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">00247</link> <emphasis role="comment"></emphasis><emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">bsp_ATKESP8266::UDP_Service_T</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;len)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00248"/>00248 &#32;&#32;&#32;&#32;<emphasis role="keywordtype">char</emphasis>&#32;dat[50]&#32;=&#32;{&#32;<emphasis role="stringliteral">&quot;&quot;</emphasis>&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00249"/>00249 &#32;&#32;&#32;&#32;sprintf(dat,&#32;<emphasis role="stringliteral">&quot;CIPSEND=%d&quot;</emphasis>,len);&#32;<link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);}
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00251"/>00251 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00252"/>00252 <emphasis role="comment">//&#32;&#32;构造函数</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00253"/><link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">00253</link> <emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">bsp_ATKESP8266::Transmit</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*&#32;dat,&#32;<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>&#32;len)&#32;{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00254"/>00254 &#32;&#32;&#32;&#32;<emphasis role="keywordflow">for</emphasis>&#32;(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;i&#32;=&#32;0;&#32;i&#32;&lt;&#32;len;&#32;i++)
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00255"/>00255 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;printf(<emphasis role="stringliteral">&quot;%c&quot;</emphasis>,&#32;dat[i]);}
</programlisting></section>

View File

@@ -0,0 +1,44 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_k_e_s_p8266_8h" xml:lang="zh">
<title>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.h 文件参考</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.h</primary></indexterm>
<para>
<para>ATK-ESP8266模块 </para>
</para>
<programlisting linenumbering="unnumbered">#include &quot;bsp_AT.h&quot;<?linebreak?></programlisting>bsp_ATKESP8266.h 的引用(Include)关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_k_e_s_p8266_8h__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
此图展示该文件直接或间接的被哪些文件引用了:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="bsp___a_t_k_e_s_p8266_8h__dep__incl.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<simplesect>
<title></title>
<itemizedlist>
<listitem><para>class <link linkend="_classbsp___a_t_k_e_s_p8266">bsp_ATKESP8266</link></para>
<para>实现驱动ATKESP8266的类 </para>
</listitem>
</itemizedlist>
</simplesect>
<section>
<title>详细描述</title>
<para>ATK-ESP8266模块 </para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8h_source">bsp_ATKESP8266.h</link> 中定义.</para>
</section>
</section>

View File

@@ -0,0 +1 @@
a98a409fc4c3c706b47f27a7561d70bf

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1 @@
ecf41c4e37799c5ad6c9f52402e32adb

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -0,0 +1,93 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsp___a_t_k_e_s_p8266_8h_source" xml:lang="zh">
<title>bsp_ATKESP8266.h</title>
<indexterm><primary>D:/gitt/MicrochipFor32/bsp_Device/bsp_ATKESP8266.h</primary></indexterm>
浏览该文件的文档.<programlisting linenumbering="unnumbered"><anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00001"/>00001 <emphasis role="comment">/*----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00002"/>00002 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00003"/>00003 <emphasis role="comment">&#32;#&#32;&#32;Copyright&#32;(c)&#32;2022&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00004"/>00004 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00005"/>00005 <emphasis role="comment">&#32;#&#32;&#32;本软件按原样提供,无任何明示或暗示</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00006"/>00006 <emphasis role="comment">&#32;#&#32;&#32;在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00007"/>00007 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00008"/>00008 <emphasis role="comment">&#32;#&#32;&#32;使用的许可声明:</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00009"/>00009 <emphasis role="comment">&#32;#&#32;&#32;1.&#32;&#32;不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00010"/>00010 <emphasis role="comment">&#32;#&#32;&#32;2.&#32;&#32;免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00011"/>00011 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;并且版权声明和许可声明同时出现.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00012"/>00012 <emphasis role="comment">&#32;#&#32;&#32;3.&#32;&#32;你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00013"/>00013 <emphasis role="comment">&#32;#&#32;&#32;4.&#32;&#32;如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00014"/>00014 <emphasis role="comment">&#32;#&#32;&#32;5.&#32;&#32;本通知不得从任何来源删除或更改.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00015"/>00015 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00016"/>00016 <emphasis role="comment">&#32;#&#32;&#32;Yuankang&#32;Liang(XerolySkinner)</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00017"/>00017 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;E-mail:zabbcccbbaz@163.com</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00018"/>00018 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;QQ:2715099320</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00019"/>00019 <emphasis role="comment">&#32;#&#32;&#32;&#32;&#32;&#32;&#32;Mobile&#32;Phone:13005636215</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00020"/>00020 <emphasis role="comment">&#32;#</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00021"/>00021 <emphasis role="comment">&#32;#&#32;&#32;All&#32;rights&#32;reserved.</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00022"/>00022 <emphasis role="comment">&#32;*/</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00023"/>00023
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00033"/>00033 <emphasis role="preprocessor">#pragma&#32;once</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#ifdef&#32;__cplusplus</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include&#32;&quot;<link linkend="_bsp___a_t_8h">bsp_AT.h</link>&quot;</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00037"/>00037 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00038"/>00038 <emphasis role="comment">//&#32;&#32;头文件</emphasis>
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00042"/><link linkend="_classbsp___a_t_k_e_s_p8266">00042</link> <emphasis role="comment"></emphasis><emphasis role="keyword">class&#32;</emphasis><link linkend="_classbsp___a_t_k_e_s_p8266">bsp_ATKESP8266</link>&#32;:<emphasis role="keyword">public</emphasis>&#32;<link linkend="_classbsp___a_t">bsp_AT</link>{
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00043"/>00043 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00044"/>00044 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d">TCP_Service_T</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;cha,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;len);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00045"/>00045 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d">TCP_Client_T</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00046"/>00046 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">UDP_Service_T</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;len);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00047"/>00047 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00048"/>00048 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a4a4ee594ad3ebb2a57008669d4e4ec7f">AP_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00049"/>00049 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00050"/>00050 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00051"/>00051 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00052"/>00052 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ad073fdbbb243281762d4aaedcee7e7f3">AP_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00053"/>00053 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00054"/>00054 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00055"/>00055 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00056"/>00056 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00057"/>00057 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aad6552a50363d608215e683e049ca97f">AP_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00058"/>00058 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00059"/>00059 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00060"/>00060 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00061"/>00061 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);&#32;&#32;
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00062"/>00062 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00063"/>00063 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a92e553288684d2b53f00d40b3bac9c98">STA_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00064"/>00064 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00065"/>00065 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00066"/>00066 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00067"/>00067 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a69697daa74e6f5a0996a3cd1e47b7042">STA_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00068"/>00068 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00069"/>00069 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00070"/>00070 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00071"/>00071 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00072"/>00072 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1a214b838100782d3baae739da7d23d8b1">STA_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00073"/>00073 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00074"/>00074 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00075"/>00075 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00076"/>00076 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00077"/>00077 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00078"/>00078 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1ac199e8a9c4a2746156763b7fe5ed1f27">APSTA_TCP_Service</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00079"/>00079 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00080"/>00080 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00081"/>00081 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00082"/>00082 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00083"/>00083 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00084"/>00084 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1acfe6024626c4e5cb866dc36dd84941c1">APSTA_TCP_Client</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00085"/>00085 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00086"/>00086 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00087"/>00087 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00088"/>00088 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00089"/>00089 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00090"/>00090 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00091"/>00091 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1aa44ea133ab133b25c10b7fc238d1fb66">APSTA_UDP</link>(
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00092"/>00092 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;SSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00093"/>00093 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;PIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00094"/>00094 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFISSID,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00095"/>00095 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;WIFIPIN,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00096"/>00096 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;IP,
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00097"/>00097 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">const</emphasis>&#32;<emphasis role="keywordtype">char</emphasis>*&#32;port);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00098"/>00098 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00099"/>00099 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keyword">virtual</emphasis>&#32;<emphasis role="keywordtype">void</emphasis>&#32;<link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">Transmit</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*&#32;dat,&#32;<link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link>&#32;len);
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00100"/>00100 &#32;&#32;&#32;&#32;};
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00102"/>00102 <emphasis role="preprocessor">#endif</emphasis>
</programlisting></section>

View File

@@ -71,21 +71,20 @@
<anchor xml:id="_bsp___b_m_p_8h_source_1l00089"/>00089 <emphasis role="preprocessor">#pragma&#32;pack()</emphasis>
<anchor xml:id="_bsp___b_m_p_8h_source_1l00091"/>00091 <emphasis role="comment">//----------------------------------------------------------------------------------------------------</emphasis>
<anchor xml:id="_bsp___b_m_p_8h_source_1l00092"/>00092 <emphasis role="comment">//&#32;&#32;头文件</emphasis>
<anchor xml:id="_bsp___b_m_p_8h_source_1l00093"/>00093 <emphasis role="preprocessor">#pragma&#32;once</emphasis>
<anchor xml:id="_bsp___b_m_p_8h_source_1l00097"/><link linkend="_classbsp___b_m_p">00097</link> <emphasis role="keyword">class&#32;</emphasis><link linkend="_classbsp___b_m_p">bsp_BMP</link>&#32;{
<anchor xml:id="_bsp___b_m_p_8h_source_1l00098"/>00098 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00099"/>00099 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p">bsp_BMP</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;Width,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;Height);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00100"/>00100 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2">~bsp_BMP</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00101"/>00101 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00102"/>00102 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e">pels</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;x,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;y);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00103"/>00103 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c">giveData</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00104"/>00104 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1abe5d545dea1090a228843f140650f573">delData</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00105"/>00105 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57">ColorsSet</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;R,&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;G,&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;B,<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;i);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00106"/>00106 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51">sizeSet</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;x,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;y);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00107"/>00107 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00108"/><link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">00108</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link>&#32;<link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">BITMAPINFO</link>;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00109"/><link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">00109</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;<link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">Size</link>;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00110"/><link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">00110</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*&#32;<link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">dat</link>;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00111"/>00111 &#32;&#32;&#32;&#32;};
<anchor xml:id="_bsp___b_m_p_8h_source_1l00113"/>00113 <emphasis role="preprocessor">#endif</emphasis>
<anchor xml:id="_bsp___b_m_p_8h_source_1l00096"/><link linkend="_classbsp___b_m_p">00096</link> <emphasis role="comment"></emphasis><emphasis role="keyword">class&#32;</emphasis><link linkend="_classbsp___b_m_p">bsp_BMP</link>&#32;{
<anchor xml:id="_bsp___b_m_p_8h_source_1l00097"/>00097 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00098"/>00098 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p">bsp_BMP</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;Width,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;Height);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00099"/>00099 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a604d7e5683da37be890672aa690c2ff2">~bsp_BMP</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00100"/>00100 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00101"/>00101 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e">pels</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;x,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;y);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00102"/>00102 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1ae0e2551a06b8ad966a86b2c8324da25c">giveData</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00103"/>00103 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1abe5d545dea1090a228843f140650f573">delData</link>(<emphasis role="keywordtype">void</emphasis>);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00104"/>00104 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57">ColorsSet</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;R,&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;G,&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>&#32;B,<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;i);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00105"/>00105 &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<emphasis role="keywordtype">void</emphasis>&#32;&#32;&#32;&#32;<link linkend="_classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51">sizeSet</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;x,&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;y);
<anchor xml:id="_bsp___b_m_p_8h_source_1l00106"/>00106 &#32;&#32;&#32;&#32;<emphasis role="keyword">public</emphasis>:
<anchor xml:id="_bsp___b_m_p_8h_source_1l00107"/><link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">00107</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link>&#32;<link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">BITMAPINFO</link>;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00108"/><link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">00108</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>&#32;<link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">Size</link>;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00109"/><link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">00109</link> &#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*&#32;<link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">dat</link>;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;
<anchor xml:id="_bsp___b_m_p_8h_source_1l00110"/>00110 &#32;&#32;&#32;&#32;};
<anchor xml:id="_bsp___b_m_p_8h_source_1l00112"/>00112 <emphasis role="preprocessor">#endif</emphasis>
</programlisting></section>

View File

@@ -0,0 +1,150 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_classbsp___a_t" xml:lang="zh">
<title>bsp_AT类 参考</title>
<indexterm><primary>bsp_AT</primary></indexterm>
<para>
<para>AT协议的基类 </para>
</para>
<para>
<computeroutput>#include &lt;bsp_AT.h&gt;</computeroutput>
</para>
类 bsp_AT 继承关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t__inherit__graph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<simplesect>
<title>Public 成员函数 </title>
<itemizedlist>
<listitem><para>void <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link> (const char *dat)</para>
<para>发送一条AT指令,已加AT+与\r<?linebreak?></para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Protected 成员函数 </title>
<itemizedlist>
<listitem><para>virtual void <link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link> (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> *dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len)=0</para>
<para>发送数据到端口 </para>
</listitem>
</itemizedlist>
</simplesect>
<section>
<title>详细描述</title>
<para>AT协议的基类 </para>
<para>
在文件 <link linkend="_bsp___a_t_8h_source">bsp_AT.h</link><link linkend="_bsp___a_t_8h_source_1l00043">43</link> 行定义.</para>
</section>
<section>
<title>成员函数说明</title>
<anchor xml:id="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae"/><section>
<title>com()</title>
<indexterm><primary>com</primary><secondary>bsp_AT</secondary></indexterm>
<indexterm><primary>bsp_AT</primary><secondary>com</secondary></indexterm>
<para><computeroutput>void bsp_AT::com (const char * dat)</computeroutput></para><para>
<para>发送一条AT指令,已加AT+与\r<?linebreak?></para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>dat</entry><entry>
<para>带发射数据 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_8cpp_source">bsp_AT.cpp</link><link linkend="_bsp___a_t_8cpp_source_1l00044">44</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_adee8a046130e8e138d0e37dc785234ae_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
这是这个函数的调用关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_adee8a046130e8e138d0e37dc785234ae_icgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e"/><section>
<title>Transmit()</title>
<indexterm><primary>Transmit</primary><secondary>bsp_AT</secondary></indexterm>
<indexterm><primary>bsp_AT</primary><secondary>Transmit</secondary></indexterm>
<para><computeroutput>virtual void bsp_AT::Transmit (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> * dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len)<computeroutput>[protected]</computeroutput>, <computeroutput>[pure virtual]</computeroutput></computeroutput></para><para>
<para>发送数据到端口 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>dat</entry><entry>
<para>数据头 </para>
</entry>
</row>
<row>
<entry>len</entry><entry>
<para>数据长度 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
<link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">bsp_ATKESP8266</link> 内被实现.</para>
这是这个函数的调用关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_afd25c65d270b9db28370d08c6424537e_icgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<para>
该类的文档由以下文件生成:</para>
D:/gitt/MicrochipFor32/bsp_Device/<link linkend="_bsp___a_t_8h">bsp_AT.h</link>D:/gitt/MicrochipFor32/bsp_Device/<link linkend="_bsp___a_t_8cpp">bsp_AT.cpp</link></section>
</section>

View File

@@ -0,0 +1 @@
5cac8d5a24ba07ecc251897c9b3ae5f0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1 @@
89e28296d6c759abaa541060c0e99cff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1 @@
b48e7c873702a9ef429a1ae7d44e7d20

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1 @@
e457b4a800ca3c9ed3f932354344a639

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -0,0 +1,780 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_classbsp___a_t_k_e_s_p8266" xml:lang="zh">
<title>bsp_ATKESP8266类 参考</title>
<indexterm><primary>bsp_ATKESP8266</primary></indexterm>
<para>
<para>实现驱动ATKESP8266的类 </para>
</para>
<para>
<computeroutput>#include &lt;bsp_ATKESP8266.h&gt;</computeroutput>
</para>
类 bsp_ATKESP8266 继承关系图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266__inherit__graph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
bsp_ATKESP8266 的协作图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266__coll__graph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
<simplesect>
<title>Public 成员函数 </title>
<itemizedlist>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d">TCP_Service_T</link> (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> cha, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len)</para>
<para>准备发送数据 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d">TCP_Client_T</link> (void)</para>
<para>准备发送数据 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">UDP_Service_T</link> (<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len)</para>
<para>准备发送数据 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1a4a4ee594ad3ebb2a57008669d4e4ec7f">AP_TCP_Service</link> (const char *SSID, const char *PIN, const char *port)</para>
<para>设置为AP,TCP服务器模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1ad073fdbbb243281762d4aaedcee7e7f3">AP_TCP_Client</link> (const char *SSID, const char *PIN, const char *IP, const char *port)</para>
<para>设置为AP,TCP客户端模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1aad6552a50363d608215e683e049ca97f">AP_UDP</link> (const char *SSID, const char *PIN, const char *IP, const char *port)</para>
<para>设置为AP,UDP模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1a92e553288684d2b53f00d40b3bac9c98">STA_TCP_Service</link> (const char *WIFISSID, const char *WIFIPIN, const char *port)</para>
<para>设置为STA,TCP客户端模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1a69697daa74e6f5a0996a3cd1e47b7042">STA_TCP_Client</link> (const char *WIFISSID, const char *WIFIPIN, const char *IP, const char *port)</para>
<para>设置为STA,TCP客户端模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1a214b838100782d3baae739da7d23d8b1">STA_UDP</link> (const char *WIFISSID, const char *WIFIPIN, const char *IP, const char *port)</para>
<para>设置为STA,UDP模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1ac199e8a9c4a2746156763b7fe5ed1f27">APSTA_TCP_Service</link> (const char *SSID, const char *PIN, const char *WIFISSID, const char *WIFIPIN, const char *port)</para>
<para>设置为AP&amp;STA,TCP服务器模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1acfe6024626c4e5cb866dc36dd84941c1">APSTA_TCP_Client</link> (const char *SSID, const char *PIN, const char *WIFISSID, const char *WIFIPIN, const char *IP, const char *port)</para>
<para>设置为AP&amp;STA,TCP客户端模式 </para>
</listitem>
<listitem><para>void <link linkend="_classbsp___a_t_k_e_s_p8266_1aa44ea133ab133b25c10b7fc238d1fb66">APSTA_UDP</link> (const char *SSID, const char *PIN, const char *WIFISSID, const char *WIFIPIN, const char *IP, const char *port)</para>
<para>设置为AP&amp;STA,UDP模式 </para>
</listitem>
<listitem><para>virtual void <link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">Transmit</link> (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> *dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len)</para>
<para>发送数据到端口 </para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>额外继承的成员函数 </title>
</simplesect>
<section>
<title>详细描述</title>
<para>实现驱动ATKESP8266的类 </para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8h_source">bsp_ATKESP8266.h</link><link linkend="_bsp___a_t_k_e_s_p8266_8h_source_1l00042">42</link> 行定义.</para>
</section>
<section>
<title>成员函数说明</title>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1ad073fdbbb243281762d4aaedcee7e7f3"/><section>
<title>AP_TCP_Client()</title>
<indexterm><primary>AP_TCP_Client</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>AP_TCP_Client</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::AP_TCP_Client (const char * SSID, const char * PIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为AP,TCP客户端模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接的IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置开放端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00065">65</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_ad073fdbbb243281762d4aaedcee7e7f3_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1a4a4ee594ad3ebb2a57008669d4e4ec7f"/><section>
<title>AP_TCP_Service()</title>
<indexterm><primary>AP_TCP_Service</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>AP_TCP_Service</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::AP_TCP_Service (const char * SSID, const char * PIN, const char * port)</computeroutput></para><para>
<para>设置为AP,TCP服务器模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置开放端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00047">47</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_a4a4ee594ad3ebb2a57008669d4e4ec7f_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1aad6552a50363d608215e683e049ca97f"/><section>
<title>AP_UDP()</title>
<indexterm><primary>AP_UDP</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>AP_UDP</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::AP_UDP (const char * SSID, const char * PIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为AP,UDP模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接的IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置开放端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00085">85</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_aad6552a50363d608215e683e049ca97f_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1acfe6024626c4e5cb866dc36dd84941c1"/><section>
<title>APSTA_TCP_Client()</title>
<indexterm><primary>APSTA_TCP_Client</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>APSTA_TCP_Client</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::APSTA_TCP_Client (const char * SSID, const char * PIN, const char * WIFISSID, const char * WIFIPIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为AP&amp;STA,TCP客户端模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置连接端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00185">185</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_acfe6024626c4e5cb866dc36dd84941c1_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1ac199e8a9c4a2746156763b7fe5ed1f27"/><section>
<title>APSTA_TCP_Service()</title>
<indexterm><primary>APSTA_TCP_Service</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>APSTA_TCP_Service</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::APSTA_TCP_Service (const char * SSID, const char * PIN, const char * WIFISSID, const char * WIFIPIN, const char * port)</computeroutput></para><para>
<para>设置为AP&amp;STA,TCP服务器模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置开放端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00161">161</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_ac199e8a9c4a2746156763b7fe5ed1f27_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1aa44ea133ab133b25c10b7fc238d1fb66"/><section>
<title>APSTA_UDP()</title>
<indexterm><primary>APSTA_UDP</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>APSTA_UDP</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::APSTA_UDP (const char * SSID, const char * PIN, const char * WIFISSID, const char * WIFIPIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为AP&amp;STA,UDP模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>SSID</entry><entry>
<para>设置网络名称 </para>
</entry>
</row>
<row>
<entry>PIN</entry><entry>
<para>设置网络密码 </para>
</entry>
</row>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置连接端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00211">211</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_aa44ea133ab133b25c10b7fc238d1fb66_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1a69697daa74e6f5a0996a3cd1e47b7042"/><section>
<title>STA_TCP_Client()</title>
<indexterm><primary>STA_TCP_Client</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>STA_TCP_Client</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::STA_TCP_Client (const char * WIFISSID, const char * WIFIPIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为STA,TCP客户端模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置连接端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00121">121</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_a69697daa74e6f5a0996a3cd1e47b7042_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1a92e553288684d2b53f00d40b3bac9c98"/><section>
<title>STA_TCP_Service()</title>
<indexterm><primary>STA_TCP_Service</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>STA_TCP_Service</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::STA_TCP_Service (const char * WIFISSID, const char * WIFIPIN, const char * port)</computeroutput></para><para>
<para>设置为STA,TCP客户端模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置连接端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00103">103</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_a92e553288684d2b53f00d40b3bac9c98_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1a214b838100782d3baae739da7d23d8b1"/><section>
<title>STA_UDP()</title>
<indexterm><primary>STA_UDP</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>STA_UDP</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::STA_UDP (const char * WIFISSID, const char * WIFIPIN, const char * IP, const char * port)</computeroutput></para><para>
<para>设置为STA,UDP模式 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>WIFISSID</entry><entry>
<para>设置连接网络名称 </para>
</entry>
</row>
<row>
<entry>WIFIPIN</entry><entry>
<para>设置连接网络密码 </para>
</entry>
</row>
<row>
<entry>IP</entry><entry>
<para>设置连接IP </para>
</entry>
</row>
<row>
<entry>port</entry><entry>
<para>设置连接端口 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00141">141</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_a214b838100782d3baae739da7d23d8b1_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d"/><section>
<title>TCP_Client_T()</title>
<indexterm><primary>TCP_Client_T</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>TCP_Client_T</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::TCP_Client_T (void )</computeroutput></para><para>
<para>准备发送数据 </para>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00240">240</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_aaf8ef02cd6815b16d06520de2a7ed64d_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d"/><section>
<title>TCP_Service_T()</title>
<indexterm><primary>TCP_Service_T</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>TCP_Service_T</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::TCP_Service_T (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> cha, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len)</computeroutput></para><para>
<para>准备发送数据 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>cha</entry><entry>
<para>发送端口 </para>
</entry>
</row>
<row>
<entry>len</entry><entry>
<para>数据长度 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00233">233</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_ab3bf04ff10ffef1796f7fa746092821d_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd"/><section>
<title>Transmit()</title>
<indexterm><primary>Transmit</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>Transmit</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::Transmit (<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> * dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len)<computeroutput>[virtual]</computeroutput></computeroutput></para><para>
<para>发送数据到端口 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>dat</entry><entry>
<para>数据头 </para>
</entry>
</row>
<row>
<entry>len</entry><entry>
<para>数据长度 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
实现了 <link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">bsp_AT</link>.</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00253">253</link> 行定义.</para>
</section>
<anchor xml:id="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f"/><section>
<title>UDP_Service_T()</title>
<indexterm><primary>UDP_Service_T</primary><secondary>bsp_ATKESP8266</secondary></indexterm>
<indexterm><primary>bsp_ATKESP8266</primary><secondary>UDP_Service_T</secondary></indexterm>
<para><computeroutput>void bsp_ATKESP8266::UDP_Service_T (<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len)</computeroutput></para><para>
<para>准备发送数据 </para>
</para>
<para>
<formalpara>
<title>
参数</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>len</entry><entry>
<para>数据长度 </para>
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
</para>
<para>
在文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source">bsp_ATKESP8266.cpp</link><link linkend="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00247">247</link> 行定义.</para>
函数调用图:<para>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata width="50%" align="center" valign="middle" scalefit="0" fileref="classbsp___a_t_k_e_s_p8266_a1e8a93bc37996d178f09c0bfc2ade30f_cgraph.png"></imagedata>
</imageobject>
</mediaobject>
</informalfigure>
</para>
</section>
<para>
该类的文档由以下文件生成:</para>
D:/gitt/MicrochipFor32/bsp_Device/<link linkend="_bsp___a_t_k_e_s_p8266_8h">bsp_ATKESP8266.h</link>D:/gitt/MicrochipFor32/bsp_Device/<link linkend="_bsp___a_t_k_e_s_p8266_8cpp">bsp_ATKESP8266.cpp</link></section>
</section>

View File

@@ -0,0 +1 @@
b9bf97cfc6b1ad7c3589afcd5377e7e5

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1 @@
b9bf97cfc6b1ad7c3589afcd5377e7e5

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1 @@
b60865dc0e7e38a6c246108de441b407

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
b8f472d98f28c3870c0d3b349ee2b12e

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
c7fd97d5e05345ea3a3926714426c86b

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
d945b4b26b9fe670c0ff8dfd7dadbb26

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
0e4835d61aa5c4368ef1f1d94caaea08

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1 @@
054cbdca8ed2a2074a6fc8cc2b345b62

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1 @@
59a5ec3f7246349b39f7095485a4697c

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
491ef991ce02b9bc6b7a32fd0ba1d09e

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
f9580781a0d296fb29fbca6d86d64ce3

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
41b97979ed6c9ef8026f87f1040ba34e

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1 @@
2f2de8e0237ab8066e119680a16fdb3a

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1 @@
17f9442747079f6c1114fdda143dc702

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -72,7 +72,7 @@ bsp_BMP 的协作图:<para>
<para>构建一个BMP类 </para>
<para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00097">97</link> 行定义.</para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00096">96</link> 行定义.</para>
</section>
<section>
<title>构造及析构函数说明</title>
@@ -288,7 +288,7 @@ bsp_BMP 的协作图:<para>
<para>文件头 </para>
</para>
<para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00108">108</link> 行定义.</para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00107">107</link> 行定义.</para>
</section>
<anchor xml:id="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca"/><section>
<title>dat</title>
@@ -299,7 +299,7 @@ bsp_BMP 的协作图:<para>
<para>数据区 </para>
</para>
<para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00110">110</link> 行定义.</para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00109">109</link> 行定义.</para>
</section>
<anchor xml:id="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83"/><section>
<title>Size</title>
@@ -310,7 +310,7 @@ bsp_BMP 的协作图:<para>
<para>文件大小 </para>
</para>
<para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00109">109</link> 行定义.</para>
在文件 <link linkend="_bsp___b_m_p_8h_source">bsp_BMP.h</link><link linkend="_bsp___b_m_p_8h_source_1l00108">108</link> 行定义.</para>
</section>
<para>
该类的文档由以下文件生成:</para>

View File

@@ -5,6 +5,14 @@
<simplesect>
<title>文件 </title>
<itemizedlist>
<listitem><para>文件 <link linkend="_bsp___a_t_8cpp">bsp_AT.cpp</link></para>
<para>AT指令集 </para>
</listitem>
<listitem><para>文件 <link linkend="_bsp___a_t_8h">bsp_AT.h</link></para>
<para>AT指令集 </para>
</listitem>
<listitem><para>文件 <link linkend="_bsp___a_t24_c00_8cpp">bsp_AT24C00.cpp</link></para>
<para>本类实现AT24C00的通讯 </para>
@@ -12,6 +20,14 @@
<listitem><para>文件 <link linkend="_bsp___a_t24_c00_8h">bsp_AT24C00.h</link></para>
<para>本类实现AT24C00的通讯 </para>
</listitem>
<listitem><para>文件 <link linkend="_bsp___a_t_k_e_s_p8266_8cpp">bsp_ATKESP8266.cpp</link></para>
<para>ATK-ESP8266模块 </para>
</listitem>
<listitem><para>文件 <link linkend="_bsp___a_t_k_e_s_p8266_8h">bsp_ATKESP8266.h</link></para>
<para>ATK-ESP8266模块 </para>
</listitem>
<listitem><para>文件 <link linkend="_bsp___b_m_p_8cpp">bsp_BMP.cpp</link></para>

View File

@@ -19,6 +19,8 @@
<xi:include href="struct__l_queue.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="struct__l_stack.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="struct___r_g_b_q_u_a_d.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="classbsp___a_t.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="classbsp___a_t_k_e_s_p8266.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="classbsp___b_m_p.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="classbsp___differential.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="classbsp___digit.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
@@ -45,10 +47,18 @@
</chapter>
<chapter>
<title>文件说明</title>
<xi:include href="bsp___a_t_8cpp.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_8cpp_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_8h.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_8h_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t24_c00_8cpp.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t24_c00_8cpp_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t24_c00_8h.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t24_c00_8h_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_k_e_s_p8266_8cpp.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_k_e_s_p8266_8cpp_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_k_e_s_p8266_8h.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___a_t_k_e_s_p8266_8h_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___b_m_p_8cpp.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___b_m_p_8cpp_source.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="bsp___b_m_p_8h.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

View File

@@ -11,7 +11,7 @@
</formalpara>
<formalpara><title>日期</title>
<para>2022-11-07 14:09 </para>
<para>2022-11-25 00:00 </para>
</formalpara>
</para>
</chapter>

View File

@@ -1 +1 @@
dfb1fc150cca2480934318473caba647
6c101c208f5c6ecb4accf6ae014f9a11

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 128 KiB