加入了AT指令基类与ATWIFI模块指令
@@ -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>
|
||||
|
||||
26
Doc/docbook/bsp___a_t_8cpp.xml
Normal 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 "bsp_AT.h"<?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>
|
||||
1
Doc/docbook/bsp___a_t_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
5e127323cf37582354c24dac4ef48071
|
||||
BIN
Doc/docbook/bsp___a_t_8cpp__incl.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
37
Doc/docbook/bsp___a_t_8cpp_source.xml
Normal 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"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00022"/>00022 <emphasis role="comment"> */</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">//  头文件</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00036"/>00036 <emphasis role="preprocessor">#include "<link linkend="_bsp___a_t_8h">bsp_AT.h</link>"</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">//  类函数</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> <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">bsp_AT::com</link>(<emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* dat) {
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00045"/>00045     <link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)<emphasis role="stringliteral">"AT+"</emphasis>, 3);
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00046"/>00046     <link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)dat, strlen(dat));
|
||||
<anchor xml:id="_bsp___a_t_8cpp_source_1l00047"/>00047     <link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">Transmit</link>((<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>*)<emphasis role="stringliteral">"\r\n"</emphasis>, 2);}
|
||||
</programlisting></section>
|
||||
44
Doc/docbook/bsp___a_t_8h.xml
Normal 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 <string.h><?linebreak?>#include "varint.h"<?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>
|
||||
1
Doc/docbook/bsp___a_t_8h__dep__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
dae48406eade2b422374ca85ff795d3a
|
||||
BIN
Doc/docbook/bsp___a_t_8h__dep__incl.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
1
Doc/docbook/bsp___a_t_8h__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
e8aa5d0a097eab70f2fdd627a726fd16
|
||||
BIN
Doc/docbook/bsp___a_t_8h__incl.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
41
Doc/docbook/bsp___a_t_8h_source.xml
Normal 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"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00022"/>00022 <emphasis role="comment"> */</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 once</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#ifdef __cplusplus</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include <string.h></emphasis>
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00036"/>00036 <emphasis role="preprocessor">#include "<link linkend="_varint_8h">varint.h</link>"</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">//  头文件</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 </emphasis><link linkend="_classbsp___a_t">bsp_AT</link>{
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00044"/>00044     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00045"/>00045         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* dat);
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00046"/>00046     <emphasis role="keyword">protected</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_8h_source_1l00052"/><link linkend="_classbsp___a_t_1afd25c65d270b9db28370d08c6424537e">00052</link>         <emphasis role="keyword">virtual</emphasis> <emphasis role="keywordtype">void</emphasis> <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;
|
||||
<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>
|
||||
26
Doc/docbook/bsp___a_t_k_e_s_p8266_8cpp.xml
Normal 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 "bsp_ATKESP8266.h"<?linebreak?>#include <stdio.h><?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>
|
||||
1
Doc/docbook/bsp___a_t_k_e_s_p8266_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
df64ac2e0499db3af083c2db779c46e0
|
||||
BIN
Doc/docbook/bsp___a_t_k_e_s_p8266_8cpp__incl.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
170
Doc/docbook/bsp___a_t_k_e_s_p8266_8cpp_source.xml
Normal 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"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00022"/>00022 <emphasis role="comment"> */</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">//  头文件</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00036"/>00036 <emphasis role="preprocessor">#include "<link linkend="_bsp___a_t_k_e_s_p8266_8h">bsp_ATKESP8266.h</link>"</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00037"/>00037 <emphasis role="preprocessor">#include <stdio.h></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">//  类函数</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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00049"/>00049     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00050"/>00050     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port){
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00051"/>00051     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00052"/>00052     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=2"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00053"/>00053     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00054"/>00054     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</emphasis>, SSID, PIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00055"/>00055     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00056"/>00056     sprintf(dat, <emphasis role="stringliteral">"CIPSERVER=1,%s"</emphasis>, port); <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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00067"/>00067     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00068"/>00068     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00069"/>00069     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00070"/>00070     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00071"/>00071     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=2"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00072"/>00072     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00073"/>00073     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</emphasis>, SSID, PIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00074"/>00074     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=0"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00075"/>00075     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=\"TCP\",\"%s\",%s"</emphasis>, IP, port); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00076"/>00076     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMODE=1"</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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00087"/>00087     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00088"/>00088     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00089"/>00089     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00090"/>00090     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00091"/>00091     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=2"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00092"/>00092     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00093"/>00093     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</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     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=0"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00095"/>00095     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=\"UDP\",\"%s\",%s"</emphasis>, IP, 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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID, 
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00105"/>00105     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00106"/>00106     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00107"/>00107     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00108"/>00108     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00109"/>00109     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00110"/>00110     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00111"/>00111     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00112"/>00112     sprintf(dat, <emphasis role="stringliteral">"CIPSERVER=1,%s"</emphasis>, port); <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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00123"/>00123     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00124"/>00124     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00125"/>00125     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00126"/>00126     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00127"/>00127     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00128"/>00128     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00129"/>00129     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00130"/>00130     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=0"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00131"/>00131     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=\"TCP\",\"%s\",%s"</emphasis>, IP, port); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00132"/>00132     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMODE=1"</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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00143"/>00143     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00144"/>00144     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00145"/>00145     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00146"/>00146     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00147"/>00147     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00148"/>00148     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00149"/>00149     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00150"/>00150     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=0"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00151"/>00151     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=\"UDP\",\"%s\",%s"</emphasis>, IP, port); <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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00163"/>00163     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00164"/>00164     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00165"/>00165     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00166"/>00166     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00167"/>00167     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00168"/>00168     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=3"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00169"/>00169     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00170"/>00170     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</emphasis>, SSID, PIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00171"/>00171     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00172"/>00172     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00173"/>00173     sprintf(dat, <emphasis role="stringliteral">"CIPSERVER=1,%s"</emphasis>, port); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00174"/>00174     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPSTO=1200"</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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00187"/>00187     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00188"/>00188     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00189"/>00189     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00190"/>00190     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00191"/>00191     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00192"/>00192     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00193"/>00193     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=3"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00194"/>00194     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00195"/>00195     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</emphasis>, SSID, PIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00196"/>00196     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00197"/>00197     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00198"/>00198     sprintf(dat, <emphasis role="stringliteral">"CIPSERVER=1,%s"</emphasis>, port); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00199"/>00199     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPSTO=1200"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00200"/>00200     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=0,\"TCP\",\"%s\",%s"</emphasis>, IP, port); <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> <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     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00213"/>00213     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00214"/>00214     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00215"/>00215     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00216"/>00216     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00217"/>00217     <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00218"/>00218     <emphasis role="keywordtype">char</emphasis> dat[100] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00219"/>00219     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CWMODE=3"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00220"/>00220     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"RST"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00221"/>00221     sprintf(dat, <emphasis role="stringliteral">"CWSAP=\"%s\",\"%s\",1,4"</emphasis>, SSID, PIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00222"/>00222     sprintf(dat, <emphasis role="stringliteral">"CWJAP=\"%s\",\"%s\""</emphasis>, WIFISSID, WIFIPIN); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00223"/>00223     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPMUX=1"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00224"/>00224     sprintf(dat, <emphasis role="stringliteral">"CIPSERVER=1,%s"</emphasis>, port); <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(dat);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00225"/>00225     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPSTO=1200"</emphasis>);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00226"/>00226     sprintf(dat, <emphasis role="stringliteral">"CIPSTART=0,\"UDP\",\"%s\",%s"</emphasis>, IP, port); <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> <link linkend="_classbsp___a_t_k_e_s_p8266_1ab3bf04ff10ffef1796f7fa746092821d">bsp_ATKESP8266::TCP_Service_T</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> cha, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00234"/>00234     <emphasis role="keywordtype">char</emphasis> dat[50] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00235"/>00235     sprintf(dat, <emphasis role="stringliteral">"CIPSEND=%d,%d"</emphasis>, cha,len); <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> <link linkend="_classbsp___a_t_k_e_s_p8266_1aaf8ef02cd6815b16d06520de2a7ed64d">bsp_ATKESP8266::TCP_Client_T</link>(<emphasis role="keywordtype">void</emphasis>) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00241"/>00241     <link linkend="_classbsp___a_t_1adee8a046130e8e138d0e37dc785234ae">com</link>(<emphasis role="stringliteral">"CIPSEND"</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> <link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">bsp_ATKESP8266::UDP_Service_T</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00248"/>00248     <emphasis role="keywordtype">char</emphasis> dat[50] = { <emphasis role="stringliteral">""</emphasis> };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00249"/>00249     sprintf(dat, <emphasis role="stringliteral">"CIPSEND=%d"</emphasis>,len); <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">//  构造函数</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> <link linkend="_classbsp___a_t_k_e_s_p8266_1afc9873cda629f8bd2504d583bc7733fd">bsp_ATKESP8266::Transmit</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* dat, <link linkend="_varint_8h_1ace9d960e74685e2cd84b36132dbbf8aa">u16</link> len) {
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00254"/>00254     <emphasis role="keywordflow">for</emphasis> (<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> i = 0; i < len; i++)
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8cpp_source_1l00255"/>00255         printf(<emphasis role="stringliteral">"%c"</emphasis>, dat[i]);}
|
||||
</programlisting></section>
|
||||
44
Doc/docbook/bsp___a_t_k_e_s_p8266_8h.xml
Normal 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 "bsp_AT.h"<?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>
|
||||
1
Doc/docbook/bsp___a_t_k_e_s_p8266_8h__dep__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
a98a409fc4c3c706b47f27a7561d70bf
|
||||
BIN
Doc/docbook/bsp___a_t_k_e_s_p8266_8h__dep__incl.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
1
Doc/docbook/bsp___a_t_k_e_s_p8266_8h__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
ecf41c4e37799c5ad6c9f52402e32adb
|
||||
BIN
Doc/docbook/bsp___a_t_k_e_s_p8266_8h__incl.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
93
Doc/docbook/bsp___a_t_k_e_s_p8266_8h_source.xml
Normal 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"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00003"/>00003 <emphasis role="comment"> #  Copyright (c) 2022 Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00004"/>00004 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00005"/>00005 <emphasis role="comment"> #  本软件按原样提供,无任何明示或暗示</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00006"/>00006 <emphasis role="comment"> #  在任何情况下,作者都不承担任何损害赔偿责任</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00007"/>00007 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00008"/>00008 <emphasis role="comment"> #  使用的许可声明:</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00009"/>00009 <emphasis role="comment"> #  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00010"/>00010 <emphasis role="comment"> #  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00011"/>00011 <emphasis role="comment"> #      并且版权声明和许可声明同时出现.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00012"/>00012 <emphasis role="comment"> #  3.  你有使用,复制,修改,分发,和销售本软件的许可.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00013"/>00013 <emphasis role="comment"> #  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00014"/>00014 <emphasis role="comment"> #  5.  本通知不得从任何来源删除或更改.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00015"/>00015 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00016"/>00016 <emphasis role="comment"> #  Yuankang Liang(XerolySkinner)</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00017"/>00017 <emphasis role="comment"> #      E-mail:zabbcccbbaz@163.com</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00018"/>00018 <emphasis role="comment"> #      QQ:2715099320</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00019"/>00019 <emphasis role="comment"> #      Mobile Phone:13005636215</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00020"/>00020 <emphasis role="comment"> #</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00021"/>00021 <emphasis role="comment"> #  All rights reserved.</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00022"/>00022 <emphasis role="comment"> */</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 once</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00034"/>00034 <emphasis role="preprocessor">#ifdef __cplusplus</emphasis>
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00035"/>00035 <emphasis role="preprocessor">#include "<link linkend="_bsp___a_t_8h">bsp_AT.h</link>"</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">//  头文件</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 </emphasis><link linkend="_classbsp___a_t_k_e_s_p8266">bsp_ATKESP8266</link> :<emphasis role="keyword">public</emphasis> <link linkend="_classbsp___a_t">bsp_AT</link>{
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00043"/>00043     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00044"/>00044         <emphasis role="keywordtype">void</emphasis> <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);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00045"/>00045         <emphasis role="keywordtype">void</emphasis> <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         <emphasis role="keywordtype">void</emphasis> <link linkend="_classbsp___a_t_k_e_s_p8266_1a1e8a93bc37996d178f09c0bfc2ade30f">UDP_Service_T</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> len);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00047"/>00047     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00048"/>00048         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00050"/>00050             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00051"/>00051             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00052"/>00052         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00054"/>00054             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00055"/>00055             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00056"/>00056             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00057"/>00057         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00059"/>00059             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00060"/>00060             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00061"/>00061             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);  
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00062"/>00062     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00063"/>00063         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00065"/>00065             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00066"/>00066             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00067"/>00067         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00069"/>00069             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00070"/>00070             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00071"/>00071             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00072"/>00072         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00074"/>00074             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00075"/>00075             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00076"/>00076             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00077"/>00077     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00078"/>00078         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00080"/>00080             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00081"/>00081             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00082"/>00082             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00083"/>00083             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00084"/>00084         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00086"/>00086             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00087"/>00087             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00088"/>00088             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00089"/>00089             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00090"/>00090             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00091"/>00091         <emphasis role="keywordtype">void</emphasis> <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             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* SSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00093"/>00093             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* PIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00094"/>00094             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFISSID,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00095"/>00095             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* WIFIPIN,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00096"/>00096             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* IP,
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00097"/>00097             <emphasis role="keyword">const</emphasis> <emphasis role="keywordtype">char</emphasis>* port);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00098"/>00098     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00099"/>00099         <emphasis role="keyword">virtual</emphasis> <emphasis role="keywordtype">void</emphasis> <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);
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00100"/>00100     };
|
||||
<anchor xml:id="_bsp___a_t_k_e_s_p8266_8h_source_1l00102"/>00102 <emphasis role="preprocessor">#endif</emphasis>
|
||||
</programlisting></section>
|
||||
@@ -71,21 +71,20 @@
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00089"/>00089 <emphasis role="preprocessor">#pragma 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">//  头文件</emphasis>
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00093"/>00093 <emphasis role="preprocessor">#pragma once</emphasis>
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00097"/><link linkend="_classbsp___b_m_p">00097</link> <emphasis role="keyword">class </emphasis><link linkend="_classbsp___b_m_p">bsp_BMP</link> {
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00098"/>00098     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00099"/>00099         <link linkend="_classbsp___b_m_p">bsp_BMP</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Width, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Height);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00100"/>00100         <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     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00102"/>00102         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e">pels</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00103"/>00103         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>     <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         <emphasis role="keywordtype">void</emphasis>    <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         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57">ColorsSet</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> R, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> G, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> B,<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> i);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00106"/>00106         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51">sizeSet</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00107"/>00107     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00108"/><link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">00108</link>         <link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link> <link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">BITMAPINFO</link>;     
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00109"/><link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">00109</link>         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">Size</link>;                   
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00110"/><link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">00110</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* <link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">dat</link>;                    
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00111"/>00111     };
|
||||
<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 </emphasis><link linkend="_classbsp___b_m_p">bsp_BMP</link> {
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00097"/>00097     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00098"/>00098         <link linkend="_classbsp___b_m_p">bsp_BMP</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Width, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> Height);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00099"/>00099         <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     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00101"/>00101         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a4aaa5a2ea2f5b3c07c8e16009984766e">pels</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00102"/>00102         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link>     <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         <emphasis role="keywordtype">void</emphasis>    <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         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a17c0c014ef6ce7d09a5dd81c5d2c5d57">ColorsSet</link>(<link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> R, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> G, <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link> B,<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> i);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00105"/>00105         <emphasis role="keywordtype">void</emphasis>    <link linkend="_classbsp___b_m_p_1a535cd9bfe5e49ba97ff9c4a1dd8ebb51">sizeSet</link>(<link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> x, <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> y);
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00106"/>00106     <emphasis role="keyword">public</emphasis>:
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00107"/><link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">00107</link>         <link linkend="_struct___b_i_t_m_a_p_i_n_f_o">_BITMAPINFO</link> <link linkend="_classbsp___b_m_p_1a64dcf31f5722327336d87794b873a335">BITMAPINFO</link>;     
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00108"/><link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">00108</link>         <link linkend="_varint_8h_1afaa62991928fb9fb18ff0db62a040aba">u32</link> <link linkend="_classbsp___b_m_p_1a8a1c31ee70ed4061ad8bea4254959b83">Size</link>;                   
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00109"/><link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">00109</link>         <link linkend="_varint_8h_1a92c50087ca0e64fa93fc59402c55f8ca">u8</link>* <link linkend="_classbsp___b_m_p_1a2023aceaef140268a12bc61b81d410ca">dat</link>;                    
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00110"/>00110     };
|
||||
<anchor xml:id="_bsp___b_m_p_8h_source_1l00112"/>00112 <emphasis role="preprocessor">#endif</emphasis>
|
||||
</programlisting></section>
|
||||
|
||||
150
Doc/docbook/classbsp___a_t.xml
Normal 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 <bsp_AT.h></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>
|
||||
1
Doc/docbook/classbsp___a_t__inherit__graph.md5
Normal file
@@ -0,0 +1 @@
|
||||
5cac8d5a24ba07ecc251897c9b3ae5f0
|
||||
BIN
Doc/docbook/classbsp___a_t__inherit__graph.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
||||
89e28296d6c759abaa541060c0e99cff
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
b48e7c873702a9ef429a1ae7d44e7d20
|
||||
|
After Width: | Height: | Size: 36 KiB |
@@ -0,0 +1 @@
|
||||
e457b4a800ca3c9ed3f932354344a639
|
||||
|
After Width: | Height: | Size: 39 KiB |
780
Doc/docbook/classbsp___a_t_k_e_s_p8266.xml
Normal 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 <bsp_ATKESP8266.h></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&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&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&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&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&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&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>
|
||||
1
Doc/docbook/classbsp___a_t_k_e_s_p8266__coll__graph.md5
Normal file
@@ -0,0 +1 @@
|
||||
b9bf97cfc6b1ad7c3589afcd5377e7e5
|
||||
BIN
Doc/docbook/classbsp___a_t_k_e_s_p8266__coll__graph.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
||||
b9bf97cfc6b1ad7c3589afcd5377e7e5
|
||||
BIN
Doc/docbook/classbsp___a_t_k_e_s_p8266__inherit__graph.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
||||
b60865dc0e7e38a6c246108de441b407
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1 @@
|
||||
b8f472d98f28c3870c0d3b349ee2b12e
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1 @@
|
||||
c7fd97d5e05345ea3a3926714426c86b
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1 @@
|
||||
d945b4b26b9fe670c0ff8dfd7dadbb26
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1 @@
|
||||
0e4835d61aa5c4368ef1f1d94caaea08
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1 @@
|
||||
054cbdca8ed2a2074a6fc8cc2b345b62
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1 @@
|
||||
59a5ec3f7246349b39f7095485a4697c
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1 @@
|
||||
491ef991ce02b9bc6b7a32fd0ba1d09e
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1 @@
|
||||
f9580781a0d296fb29fbca6d86d64ce3
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1 @@
|
||||
41b97979ed6c9ef8026f87f1040ba34e
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1 @@
|
||||
2f2de8e0237ab8066e119680a16fdb3a
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1 @@
|
||||
17f9442747079f6c1114fdda143dc702
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1 +1 @@
|
||||
dfb1fc150cca2480934318473caba647
|
||||
6c101c208f5c6ecb4accf6ae014f9a11
|
||||
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 128 KiB |