微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > 射频无线通信设计 > 跑open1081 wifi例程的感悟

跑open1081 wifi例程的感悟

时间:10-02 整理:3721RD 点击:


按照周计划我这周应是运行一下wifi例程。

例程么?很简单开打了下就么!主要是看结果一样不!

本来第一个例程我已经在上周跑过了,也发了篇注意事项,但总觉得结果不对!
以下链接是上篇文章:
http://bbs.eeworld.com.cn/thread-449532-1-3.html

差哪呢???

带着疑问我跑了第二个例程。根本就是同手册上的不一样啊?
我更加地奇怪了,经过几个小时我反覆看说明书!泥马终于搞定!

不敢独享,拿出分享:

原来,说明书上说的改定义:
#define DynamicMemAlloc
#define AP_NAME "MERCURY_555EC4"
#define AP_PASSWORD "?"
#define WEB_SERVER "www.baidu.com"
#define APP_INFO "mxchipWNet Demo: TCP UDP ECHO"

AP_NAME 是指你们家地无线路由地名字。
AP_PASSWORD是指你们定地无线路由地密码。我的自然不会往上写,我用“?”号代替。

再做第一个wifi例程结果如下:



做第二个例程也成功了

以下是考贝:


  1. MXCHIP>
  2. mxchipWNet Demo: TCP UDP ECHO
  3. mxchipWNet library version: 31610001.019
  4. Connect to MERCURY_555EC4.....
  5. TCP server established at port: 8080
  6. Open UDP port 8090
  7. IP address: 192.168.1.104
  8. NetMask address: 255.255.255.0
  9. Gateway address: 192.168.1.1
  10. DNS server address: 219.149.6.99
  11. MAC address: c893462003b5
  12. Station up
  13. DNS test: www.baidu.com address is 220.181.111.188
  14. Connecting to 220.181.111.188..., at port 80
  15. Connect to web server success! Reading web pages...
  16. Get www.baidu.com data successful! data length: 893 bytes
  17. Get www.baidu.com data successful! data length: 1024 bytes
  18. Get www.baidu.com data successful! data length: 1024 bytes
  19. Get www.baidu.com data successful! data length: 2048 bytes
  20. Get www.baidu.com data successful! data length: 2048 bytes
  21. Get www.baidu.com data successful! data length: 1024 bytes
  22. Get www.baidu.com data successful! data length: 1024 bytes
  23. Get www.baidu.com data successful! data length: 1024 bytes
  24. Get www.baidu.com data successful! data length: 1024 bytes
  25. Get www.baidu.com data successful! data length: 1024 bytes
  26. Get www.baidu.com data successful! data length: 1024 bytes
  27. Get www.baidu.com data successful! data length: 2048 bytes
  28. Get www.baidu.com data successful! data length: 1024 bytes
  29. Get www.baidu.com data successful! data length: 1024 bytes
  30. Get www.baidu.com data successful! data length: 1024 bytes
  31. Get www.baidu.com data successful! data length: 2048 bytes
  32. Get www.baidu.com data successful! data length: 1024 bytes
  33. Get www.baidu.com data successful! data length: 1024 bytes
  34. Get www.baidu.com data successful! data length: 1024 bytes
  35. Get www.baidu.com data successful! data length: 1024 bytes
  36. Get www.baidu.com data successful! data length: 1024 bytes
  37. Get www.baidu.com data successful! data length: 1024 bytes
  38. Get www.baidu.com data successful! data length: 1024 bytes
  39. Get www.baidu.com data successful! data length: 1024 bytes
  40. Get www.baidu.com data successful! data length: 1024 bytes
  41. Get www.baidu.com data successful! data length: 1024 bytes
  42. Get www.baidu.com data successful! data length: 1024 bytes
  43. Get www.baidu.com data successful! data length: 1024 bytes
  44. Get www.baidu.com data successful! data length: 1024 bytes
  45. Get www.baidu.com data successful! data length: 1024 bytes
  46. Get www.baidu.com data successful! data length: 1024 bytes
  47. Get www.baidu.com data successful! data length: 1024 bytes
  48. Get www.baidu.com data successful! data length: 1024 bytes
  49. Get www.baidu.com data successful! data length: 1024 bytes
  50. Get www.baidu.com data successful! data length: 1024 bytes
  51. Get www.baidu.com data successful! data length: 1024 bytes
  52. Get www.baidu.com data successful! data length: 1024 bytes
  53. Get www.baidu.com data successful! data length: 1024 bytes
  54. Get www.baidu.com data successful! data length: 1024 bytes
  55. Get www.baidu.com data successful! data length: 1024 bytes
  56. Get www.baidu.com data successful! data length: 1024 bytes
  57. Get www.baidu.com data successful! data length: 1024 bytes
  58. Get www.baidu.com data successful! data length: 1024 bytes
  59. Get www.baidu.com data successful! data length: 1024 bytes
  60. Get www.baidu.com data successful! data length: 1024 bytes
  61. Get www.baidu.com data successful! data length: 1024 bytes
  62. Get www.baidu.com data successful! data length: 1024 bytes
  63. Get www.baidu.com data successful! data length: 1024 bytes
  64. Get www.baidu.com data successful! data length: 1024 bytes
  65. Get www.baidu.com data successful! data length: 1024 bytes
  66. Get www.baidu.com data successful! data length: 1024 bytes
  67. Get www.baidu.com data successful! data length: 1024 bytes
  68. Get www.baidu.com data successful! data length: 1024 bytes
  69. Get www.baidu.com data successful! data length: 1024 bytes
  70. Get www.baidu.com data successful! data length: 1024 bytes
  71. Get www.baidu.com data successful! data length: 1024 bytes
  72. Get www.baidu.com data successful! data length: 1024 bytes
  73. Get www.baidu.com data successful! data length: 1024 bytes
  74. Get www.baidu.com data successful! data length: 1024 bytes
  75. Get www.baidu.com data successful! data length: 1024 bytes
  76. Get www.baidu.com data successful! data length: 1024 bytes
  77. Get www.baidu.com data successful! data length: 1024 bytes
  78. Get www.baidu.com data successful! data length: 1024 bytes
  79. Get www.baidu.com data successful! data length: 1024 bytes
  80. Get www.baidu.com data successful! data length: 1024 bytes
  81. Get www.baidu.com data successful! data length: 1024 bytes
  82. Get www.baidu.com data successful! data length: 1024 bytes
  83. Get www.baidu.com data successful! data length: 1024 bytes
  84. Get www.baidu.com data successful! data length: 1024 bytes
  85. Get www.baidu.com data successful! data length: 1024 bytes
  86. Get www.baidu.com data successful! data length: 1024 bytes
  87. Get www.baidu.com data successful! data length: 1024 bytes
  88. Get www.baidu.com data successful! data length: 1024 bytes
  89. Get www.baidu.com data successful! data length: 1024 bytes
  90. Get www.baidu.com data successful! data length: 2048 bytes
  91. Get www.baidu.com data successful! data length: 568 bytes
  92. Web connection closed.
  93. DNS test: www.baidu.com address is 220.181.111.188
  94. Connecting to 220.181.111.188..., at port 80
  95. Connect to web server success! Reading web pages...
  96. Get www.baidu.com data successful! data length: 903 bytes
  97. Get www.baidu.com data successful! data length: 1024 bytes
  98. Get www.baidu.com data successful! data length: 1024 bytes
  99. Get www.baidu.com data successful! data length: 1024 bytes
  100. Get www.baidu.com data successful! data length: 1024 bytes
  101. Get www.baidu.com data successful! data length: 1024 bytes
  102. Get www.baidu.com data successful! data length: 1024 bytes
  103. Get www.baidu.com data successful! data length: 1024 bytes
  104. Get www.baidu.com data successful! data length: 1024 bytes
  105. Get www.baidu.com data successful! data length: 1024 bytes
  106. Get www.baidu.com data successful! data length: 1024 bytes
  107. Get www.baidu.com data successful! data length: 1024 bytes
  108. Get www.baidu.com data successful! data length: 1024 bytes
  109. Get www.baidu.com data successful! data length: 1024 bytes
  110. Get www.baidu.com data successful! data length: 2048 bytes
  111. Get www.baidu.com data successful! data length: 2048 bytes
  112. Get www.baidu.com data successful! data length: 1024 bytes
  113. Get www.baidu.com data successful! data length: 1024 bytes
  114. Get www.baidu.com data successful! data length: 1024 bytes
  115. Get www.baidu.com data successful! data length: 1024 bytes
  116. Get www.baidu.com data successful! data length: 1024 bytes
  117. Get www.baidu.com data successful! data length: 1024 bytes
  118. Get www.baidu.com data successful! data length: 2048 bytes
  119. Get www.baidu.com data successful! data length: 1024 bytes
  120. Get www.baidu.com data successful! data length: 1024 bytes
  121. Get www.baidu.com data successful! data length: 1024 bytes
  122. Get www.baidu.com data successful! data length: 2048 bytes
  123. Get www.baidu.com data successful! data length: 1024 bytes
  124. Get www.baidu.com data successful! data length: 1024 bytes
  125. Get www.baidu.com data successful! data length: 1024 bytes
  126. Get www.baidu.com data successful! data length: 1024 bytes
  127. Get www.baidu.com data successful! data length: 1024 bytes
  128. Get www.baidu.com data successful! data length: 1024 bytes
  129. Get www.baidu.com data successful! data length: 1024 bytes
  130. Get www.baidu.com data successful! data length: 1024 bytes
  131. Get www.baidu.com data successful! data length: 1024 bytes
  132. Get www.baidu.com data successful! data length: 2048 bytes
  133. Get www.baidu.com data successful! data length: 1024 bytes
  134. Get www.baidu.com data successful! data length: 1024 bytes
  135. Get www.baidu.com data successful! data length: 1024 bytes
  136. Get www.baidu.com data successful! data length: 2048 bytes
  137. Get www.baidu.com data successful! data length: 2048 bytes
  138. Get www.baidu.com data successful! data length: 2048 bytes
  139. Get www.baidu.com data successful! data length: 1024 bytes
  140. Get www.baidu.com data successful! data length: 1024 bytes
  141. Get www.baidu.com data successful! data length: 2048 bytes
  142. Get www.baidu.com data successful! data length: 2048 bytes
  143. Get www.baidu.com data successful! data length: 1024 bytes
  144. Get www.baidu.com data successful! data length: 1024 bytes
  145. Get www.baidu.com data successful! data length: 1024 bytes
  146. Get www.baidu.com data successful! data length: 1024 bytes
  147. Get www.baidu.com data successful! data length: 1024 bytes
  148. Get www.baidu.com data successful! data length: 1024 bytes
  149. Get www.baidu.com data successful! data length: 2048 bytes
  150. Get www.baidu.com data successful! data length: 2048 bytes
  151. Get www.baidu.com data successful! data length: 1024 bytes
  152. Get www.baidu.com data successful! data length: 1024 bytes
  153. Get www.baidu.com data successful! data length: 1024 bytes
  154. Get www.baidu.com data successful! data length: 1024 bytes
  155. Get www.baidu.com data successful! data length: 1024 bytes
  156. Get www.baidu.com data successful! data length: 1024 bytes
  157. Get www.baidu.com data successful! data length: 1024 bytes
  158. Get www.baidu.com data successful! data length: 1024 bytes
  159. Get www.baidu.com data successful! data length: 1024 bytes
  160. Get www.baidu.com data successful! data length: 2048 bytes
  161. Get www.baidu.com data successful! data length: 1024 bytes
  162. Get www.baidu.com data successful! data length: 1024 bytes
  163. Get www.baidu.com data successful! data length: 568 bytes
  164. Web connection closed.
  165. DNS test: www.baidu.com address is 220.181.111.188
  166. Connecting to 220.181.111.188..., at port 80
  167. Connect to web server success! Reading web pages...
  168. Get www.baidu.com data successful! data length: 888 bytes
  169. Get www.baidu.com data successful! data length: 1024 bytes
  170. Get www.baidu.com data successful! data length: 1024 bytes
  171. Get www.baidu.com data successful! data length: 1024 bytes
  172. Get www.baidu.com data successful! data length: 1024 bytes
  173. Get www.baidu.com data successful! data length: 1024 bytes
  174. Get www.baidu.com data successful! data length: 2048 bytes
  175. Get www.baidu.com data successful! data length: 2048 bytes
  176. Get www.baidu.com data successful! data length: 1024 bytes
  177. Get www.baidu.com data successful! data length: 1024 bytes
  178. Get www.baidu.com data successful! data length: 1024 bytes
  179. Get www.baidu.com data successful! data length: 1024 bytes
  180. Get www.baidu.com data successful! data length: 1024 bytes
  181. Get www.baidu.com data successful! data length: 1024 bytes
  182. Get www.baidu.com data successful! data length: 2048 bytes
  183. Get www.baidu.com data successful! data length: 1024 bytes
  184. Get www.baidu.com data successful! data length: 1024 bytes
  185. Get www.baidu.com data successful! data length: 1024 bytes
  186. Get www.baidu.com data successful! data length: 1024 bytes
  187. Get www.baidu.com data successful! data length: 1024 bytes
  188. Get www.baidu.com data successful! data length: 1024 bytes
  189. Get www.baidu.com data successful! data length: 1024 bytes
  190. Get www.baidu.com data successful! data length: 1024 bytes
  191. Get www.baidu.com data successful! data length: 1024 bytes
  192. Get www.baidu.com data successful! data length: 1024 bytes
  193. Get www.baidu.com data successful! data length: 1024 bytes
  194. Get www.baidu.com data successful! data length: 1024 bytes
  195. Get www.baidu.com data successful! data length: 1024 bytes
  196. Get www.baidu.com data successful! data length: 1024 bytes
  197. Get www.baidu.com data successful! data length: 1024 bytes
  198. Get www.baidu.com data successful! data length: 1024 bytes
  199. Get www.baidu.com data successful! data length: 1024 bytes
  200. Get www.baidu.com data successful! data length: 1024 bytes
  201. Get www.baidu.com data successful! data length: 1024 bytes
  202. Get www.baidu.com data successful! data length: 1024 bytes
  203. Get www.baidu.com data successful! data length: 2048 bytes
  204. Get www.baidu.com data successful! data length: 1024 bytes
  205. Get www.baidu.com data successful! data length: 1024 bytes
  206. Get www.baidu.com data successful! data length: 1024 bytes
  207. Get www.baidu.com data successful! data length: 1024 bytes
  208. Get www.baidu.com data successful! data length: 1024 bytes
  209. Get www.baidu.com data successful! data length: 1024 bytes
  210. Get www.baidu.com data successful! data length: 2048 bytes
  211. Get www.baidu.com data successful! data length: 1024 bytes
  212. Get www.baidu.com data successful! data length: 1024 bytes
  213. Get www.baidu.com data successful! data length: 1024 bytes
  214. Get www.baidu.com data successful! data length: 1024 bytes
  215. Get www.baidu.com data successful! data length: 1024 bytes
  216. Get www.baidu.com data successful! data length: 1024 bytes
  217. Get www.baidu.com data successful! data length: 1024 bytes
  218. Get www.baidu.com data successful! data length: 1024 bytes
  219. Get www.baidu.com data successful! data length: 1024 bytes
  220. Get www.baidu.com data successful! data length: 1024 bytes
  221. Get www.baidu.com data successful! data length: 1024 bytes
  222. Get www.baidu.com data successful! data length: 1024 bytes
  223. Get www.baidu.com data successful! data length: 1024 bytes
  224. Get www.baidu.com data successful! data length: 1024 bytes
  225. Get www.baidu.com data successful! data length: 1024 bytes
  226. Get www.baidu.com data successful! data length: 1024 bytes
  227. Get www.baidu.com data successful! data length: 1024 bytes
  228. Get www.baidu.com data successful! data length: 1024 bytes
  229. Get www.baidu.com data successful! data length: 1024 bytes
  230. Get www.baidu.com data successful! data length: 1024 bytes
  231. Get www.baidu.com data successful! data length: 1024 bytes
  232. Get www.baidu.com data successful! data length: 1024 bytes
  233. Get www.baidu.com data successful! data length: 2048 bytes
  234. Get www.baidu.com data successful! data length: 1024 bytes
  235. Get www.baidu.com data successful! data length: 1024 bytes
  236. Get www.baidu.com data successful! data length: 1024 bytes
  237. Get www.baidu.com data successful! data length: 1024 bytes
  238. Get www.baidu.com data successful! data length: 1024 bytes
  239. Get www.baidu.com data successful! data length: 1024 bytes
  240. Get www.baidu.com data successful! data length: 1024 bytes
  241. Get www.baidu.com data successful! data length: 1024 bytes
  242. Get www.baidu.com data successful! data length: 548 bytes
  243. Web connection closed.
  244. DNS test: www.baidu.com address is 220.181.111.188
  245. Connecting to 220.181.111.188..., at port 80
  246. Connect to web server success! Reading web pages...
  247. Get www.baidu.com data successful! data length: 1917 bytes
  248. Get www.baidu.com data successful! data length: 1024 bytes
  249. Get www.baidu.com data successful! data length: 1024 bytes
  250. Get www.baidu.com data successful! data length: 1024 bytes
  251. Get www.baidu.com data successful! data length: 2048 bytes
  252. Get www.baidu.com data successful! data length: 2048 bytes
  253. Get www.baidu.com data successful! data length: 1024 bytes
  254. Get www.baidu.com data successful! data length: 1024 bytes
  255. Get www.baidu.com data successful! data length: 1024 bytes
  256. Get www.baidu.com data successful! data length: 1024 bytes
  257. Get www.baidu.com data successful! data length: 1024 bytes
  258. Get www.baidu.com data successful! data length: 1024 bytes
  259. Get www.baidu.com data successful! data length: 1024 bytes
  260. Get www.baidu.com data successful! data length: 1024 bytes
  261. Get www.baidu.com data successful! data length: 1024 bytes
  262. Get www.baidu.com data successful! data length: 1024 bytes
  263. Get www.baidu.com data successful! data length: 1024 bytes
  264. Get www.baidu.com data successful! data length: 1024 bytes
  265. Get www.baidu.com data successful! data length: 1024 bytes
  266. Get www.baidu.com data successful! data length: 1024 bytes
  267. Get www.baidu.com data successful! data length: 1024 bytes
  268. Get www.baidu.com data successful! data length: 1024 bytes
  269. Get www.baidu.com data successful! data length: 1024 bytes
  270. Get www.baidu.com data successful! data length: 1024 bytes
  271. Get www.baidu.com data successful! data length: 1024 bytes
  272. Get www.baidu.com data successful! data length: 1024 bytes
  273. Get www.baidu.com data successful! data length: 1024 bytes
  274. Get www.baidu.com data successful! data length: 1024 bytes
  275. Get www.baidu.com data successful! data length: 1024 bytes
  276. Get www.baidu.com data successful! data length: 1024 bytes
  277. Get www.baidu.com data successful! data length: 1024 bytes
  278. Get www.baidu.com data successful! data length: 1024 bytes
  279. Get www.baidu.com data successful! data length: 1024 bytes
  280. Get www.baidu.com data successful! data length: 1024 bytes
  281. Get www.baidu.com data successful! data length: 1024 bytes
  282. Get www.baidu.com data successful! data length: 1024 bytes
  283. Get www.baidu.com data successful! data length: 1024 bytes
  284. Get www.baidu.com data successful! data length: 1024 bytes
  285. Get www.baidu.com data successful! data length: 1024 bytes
  286. Get www.baidu.com data successful! data length: 1024 bytes
  287. Get www.baidu.com data successful! data length: 1024 bytes
  288. Get www.baidu.com data successful! data length: 1024 bytes
  289. Get www.baidu.com data successful! data length: 1024 bytes
  290. Get www.baidu.com data successful! data length: 1024 bytes
  291. Get www.baidu.com data successful! data length: 1024 bytes
  292. Get www.baidu.com data successful! data length: 1024 bytes
  293. Get www.baidu.com data successful! data length: 1024 bytes
  294. Get www.baidu.com data successful! data length: 1024 bytes
  295. Get www.baidu.com data successful! data length: 1024 bytes
  296. Get www.baidu.com data successful! data length: 1024 bytes
  297. Get www.baidu.com data successful! data length: 1024 bytes
  298. Get www.baidu.com data successful! data length: 1024 bytes
  299. Get www.baidu.com data successful! data length: 1024 bytes
  300. Get www.baidu.com data successful! data length: 1024 bytes
  301. Get www.baidu.com data successful! data length: 1024 bytes
  302. Get www.baidu.com data successful! data length: 1024 bytes
  303. Get www.baidu.com data successful! data length: 1024 bytes
  304. Get www.baidu.com data successful! data length: 1024 bytes
  305. Get www.baidu.com data successful! data length: 1024 bytes
  306. Get www.baidu.com data successful! data length: 1024 bytes
  307. Get www.baidu.com data successful! data length: 1024 bytes
  308. Get www.baidu.com data successful! data length: 1024 bytes
  309. Get www.baidu.com data successful! data length: 1024 bytes
  310. Get www.baidu.com data successful! data length: 1024 bytes
  311. Get www.baidu.com data successful! data length: 1024 bytes
  312. Get www.baidu.com data successful! data length: 1024 bytes
  313. Get www.baidu.com data successful! data length: 1024 bytes
  314. Get www.baidu.com data successful! data length: 1024 bytes
  315. Get www.baidu.com data successful! data length: 1024 bytes
  316. Get www.baidu.com data successful! data length: 1024 bytes
  317. Get www.baidu.com data successful! data length: 1024 bytes
  318. Get www.baidu.com data successful! data length: 1024 bytes
  319. Get www.baidu.com data successful! data length: 1024 bytes
  320. Get www.baidu.com data successful! data length: 1024 bytes
  321. Get www.baidu.com data successful! data length: 1024 bytes
  322. Get www.baidu.com data successful! data length: 1024 bytes
  323. Get www.baidu.com data successful! data length: 1024 bytes
  324. Get www.baidu.com data successful! data length: 568 bytes

复制代码

这个在它的文档里是有说明的


Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top