{"id":56597,"date":"2023-10-18T08:22:53","date_gmt":"2023-10-18T00:22:53","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/56597.html"},"modified":"2023-10-18T08:22:53","modified_gmt":"2023-10-18T00:22:53","slug":"efsdwx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/56597.html","title":{"rendered":"ESP8266\u53d1\u9001\u5230\u5fae\u4fe1"},"content":{"rendered":"
ESP8266\u662f\u4e00\u79cd\u4f4e\u529f\u8017\u3001\u9ad8\u6027\u80fd\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b83\u6765\u5b9e\u73b0\u65e0\u7ebf\u8fde\u63a5\uff0c\u4ece\u800c\u8ba9\u4f60\u7684\u7269\u8054\u7f51\u8bbe\u5907\u66f4\u52a0\u667a\u80fd\u5316\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\uff0c\u5e76\u5206\u4eab\u51e0\u4e2a\u6709\u7528\u7684\u5b9e\u7528\u6280\u5de7\u3002<\/p>\n
ESP8266\u53ef\u4ee5\u901a\u8fc7\u5b83\u7684Wi-Fi\u529f\u80fd\u4e0e\u5fae\u4fe1\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u7684\u529f\u80fd\u3002<\/strong>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728ESP8266\u4e0a\u5b89\u88c5\u4e00\u4e2a\u5fae\u4fe1\u63a5\u53e3\uff0c\u8fd9\u6837ESP8266\u5c31\u53ef\u4ee5\u4e0e\u5fae\u4fe1\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\u3002\u5176\u6b21\uff0c\u4f60\u9700\u8981\u5728ESP8266\u4e0a\u5b89\u88c5\u4e00\u4e2aHTTP\u5ba2\u6237\u7aef\uff0c\u7528\u4e8e\u5411\u5fae\u4fe1\u670d\u52a1\u5668\u53d1\u9001\u6d88\u606f\u3002\u6700\u540e\uff0c\u4f60\u9700\u8981\u7f16\u5199\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u7528\u4e8e\u5904\u7406\u6765\u81eaESP8266\u7684HTTP\u8bf7\u6c42\uff0c\u4ece\u800c\u5b9e\u73b0\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u7684\u529f\u80fd\u3002<\/p>\n ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528JSON\u683c\u5f0f\u6765\u53d1\u9001\u6d88\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u89e3\u6790\u6d88\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u8fdb\u884c\u6d88\u606f\u7684\u683c\u5f0f\u5316\u3002<\/p>\n ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528MIME\u7c7b\u578b\u6765\u53d1\u9001\u6d88\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u89e3\u6790\u6d88\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u8fdb\u884c\u6d88\u606f\u7684\u683c\u5f0f\u5316\u3002<\/p>\n ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528HTTP\u5934\u6765\u53d1\u9001\u6d88\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u89e3\u6790\u6d88\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u8fdb\u884c\u6d88\u606f\u7684\u683c\u5f0f\u5316\u3002<\/p>\n ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528SSL\u52a0\u5bc6\u6765\u53d1\u9001\u6d88\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5b89\u5168\u5730\u53d1\u9001\u6d88\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u8fdb\u884c\u6d88\u606f\u7684\u683c\u5f0f\u5316\u3002<\/p>\n ESP8266\u53ef\u4ee5\u901a\u8fc7\u5b83\u7684Wi-Fi\u529f\u80fd\u4e0e\u5fae\u4fe1\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\uff0c\u4ece\u800c\u5b9e\u73b0\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u7684\u529f\u80fd\u3002<\/strong>ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528JSON\u683c\u5f0f\u3001MIME\u7c7b\u578b\u3001HTTP\u5934\u4ee5\u53caSSL\u52a0\u5bc6\u6765\u53d1\u9001\u6d88\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u89e3\u6790\u6d88\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u66f4\u5b89\u5168\u5730\u53d1\u9001\u6d88\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" ESP8266\u662f\u4e00\u79cd\u4f4e\u529f\u8017\u3001\u9ad8\u6027\u80fd\u7684Wi-Fi\u6a21\u5757\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b83\u6765\u5b9e\u73b0\u65e0\u7ebf\u8fde\u63a5\uff0c\u4ece\u800c\u8ba9\u4f60\u7684\u7269\u8054\u7f51\u8bbe\u5907\u66f4\u52a0\u667a\u80fd\u5316\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528ESP8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\uff0c\u5e76\u5206\u4eab\u51e0\u4e2a\u6709<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-56597","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=56597"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/56597\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=56597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=56597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=56597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u4f7f\u7528esp8266\u53d1\u9001\u6d88\u606f\u5230\u5fae\u4fe1\u7684\u5b9e\u7528\u6280\u5de7<\/h2>\n
1.\u4f7f\u7528JSON\u683c\u5f0f\u53d1\u9001\u6d88\u606f<\/h3>\n
2.\u4f7f\u7528MIME\u7c7b\u578b\u53d1\u9001\u6d88\u606f<\/h3>\n
3.\u4f7f\u7528HTTP\u5934\u53d1\u9001\u6d88\u606f<\/h3>\n
4.\u4f7f\u7528SSL\u52a0\u5bc6\u53d1\u9001\u6d88\u606f<\/h3>\n
\u603b\u7ed3<\/h2>\n