{"id":43094,"date":"2025-06-11T08:54:57","date_gmt":"2025-06-11T00:54:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/43094.html"},"modified":"2025-06-11T08:54:57","modified_gmt":"2025-06-11T00:54:57","slug":"stm32-%e9%80%9a%e8%bf%87-esp8266-%e9%80%9a%e4%bf%a1%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/43094.html","title":{"rendered":"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3"},"content":{"rendered":"<p>\u2705\u4f5c\u8005\u7b80\u4ecb&#xff1a;\u70ed\u7231\u79d1\u7814\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005&#xff0c;\u4fee\u5fc3\u548c\u6280\u672f\u540c\u6b65\u7cbe\u8fdb<\/p>\n<p>\u2764\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u77e5\u4e4e&#xff1a;\u5bf9error\u89c6\u800c\u4e0d\u89c1<\/p>\n<p>\u4ee3\u7801\u83b7\u53d6\u3001\u95ee\u9898\u63a2\u8ba8\u53ca\u6587\u7ae0\u8f6c\u8f7d\u53ef\u79c1\u4fe1\u3002<\/p>\n<p>\u2601 \u613f\u4f60\u7684\u751f\u547d\u4e2d\u6709\u591f\u591a\u7684\u4e91\u7ff3,\u6765\u9020\u5c31\u4e00\u4e2a\u7f8e\u4e3d\u7684\u9ec4\u660f\u3002<\/p>\n<p>&#x1f34e;\u83b7\u53d6\u66f4\u591a\u5d4c\u5165\u5f0f\u8d44\u6599\u53ef\u70b9\u51fb\u94fe\u63a5\u8fdb\u7fa4\u9886\u53d6&#xff0c;\u8c22\u8c22\u652f\u6301&#xff01;&#x1f447;<\/p>\n<p>\u70b9\u51fb\u9886\u53d6\u66f4\u591a\u8be6\u7ec6\u8d44\u6599<\/p>\n<h3>\u4e00\u3001\u5f15\u8a00<\/h3>\n<p>\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d&#xff0c;STM32 \u4f5c\u4e3a\u6027\u80fd\u5f3a\u5927\u7684\u5fae\u63a7\u5236\u5668&#xff0c;\u5177\u5907\u4e30\u5bcc\u7684\u5916\u8bbe\u548c\u8f83\u9ad8\u7684\u5904\u7406\u80fd\u529b&#xff0c;\u4f46\u7f3a\u4e4f\u76f4\u63a5\u7684\u7f51\u7edc\u901a\u4fe1\u80fd\u529b\u3002\u800c ESP8266 \u662f\u4e00\u6b3e\u4f4e\u6210\u672c\u3001\u9ad8\u6027\u80fd\u7684 Wi-Fi \u6a21\u5757&#xff0c;\u80fd\u5b9e\u73b0\u4e0e\u4e92\u8054\u7f51\u7684\u8fde\u63a5\u3002\u5c06 STM32 \u4e0e ESP8266 \u7ed3\u5408\u4f7f\u7528&#xff0c;\u53ef\u4ee5\u8ba9 STM32 \u8bbe\u5907\u8f7b\u677e\u63a5\u5165\u7f51\u7edc&#xff0c;\u5b9e\u73b0\u8fdc\u7a0b\u6570\u636e\u4f20\u8f93\u548c\u63a7\u5236\u7b49\u529f\u80fd\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd STM32 \u5982\u4f55\u901a\u8fc7 ESP8266 \u8fdb\u884c\u901a\u4fe1&#xff0c;\u5305\u62ec\u786c\u4ef6\u8fde\u63a5\u3001\u8f6f\u4ef6\u914d\u7f6e\u548c\u4ee3\u7801\u5b9e\u73b0\u3002<\/p>\n<h3>\u4e8c\u3001\u786c\u4ef6\u8fde\u63a5<\/h3>\n<h4>2.1 \u6240\u9700\u786c\u4ef6<\/h4>\n<ul>\n<li>STM32 \u5f00\u53d1\u677f&#xff08;\u4ee5 STM32F103C8T6 \u4e3a\u4f8b&#xff09;<\/li>\n<li>ESP8266 Wi-Fi \u6a21\u5757<\/li>\n<li>\u675c\u90a6\u7ebf\u82e5\u5e72<\/li>\n<li>\u7535\u6e90\u6a21\u5757&#xff08;\u4e3a ESP8266 \u63d0\u4f9b\u7a33\u5b9a\u7684 3.3V \u7535\u6e90&#xff09;<\/li>\n<\/ul>\n<h4>2.2 \u8fde\u63a5\u65b9\u5f0f<\/h4>\n<p>\u901a\u5e38&#xff0c;STM32 \u4e0e ESP8266 \u901a\u8fc7\u4e32\u53e3\u8fdb\u884c\u901a\u4fe1\u3002\u4ee5\u4e0b\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u8fde\u63a5\u65b9\u5f0f&#xff1a;<\/p>\n<table>\n<tr>STM32ESP8266<\/tr>\n<tbody>\n<tr>\n<td>TX&#xff08;USART&#xff09;<\/td>\n<td>RX<\/td>\n<\/tr>\n<tr>\n<td>RX&#xff08;USART&#xff09;<\/td>\n<td>TX<\/td>\n<\/tr>\n<tr>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>3.3V<\/td>\n<td>VCC<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f&#xff0c;ESP8266 \u7684\u5de5\u4f5c\u7535\u538b\u4e3a 3.3V&#xff0c;\u800c STM32 \u7684\u90e8\u5206\u5f15\u811a\u8f93\u51fa\u4e3a 5V&#xff0c;\u4e3a\u907f\u514d\u635f\u574f ESP8266&#xff0c;\u9700\u8981\u8fdb\u884c\u7535\u5e73\u8f6c\u6362\u3002\u5982\u679c STM32 \u7684\u5f15\u811a\u652f\u6301 3.3V \u8f93\u51fa&#xff0c;\u5219\u53ef\u4ee5\u76f4\u63a5\u8fde\u63a5\u3002<\/p>\n<h3>\u4e09\u3001\u8f6f\u4ef6\u914d\u7f6e<\/h3>\n<h4>3.1 STM32 \u4e32\u53e3\u914d\u7f6e<\/h4>\n<p>\u5728 STM32 \u4e2d&#xff0c;\u9700\u8981\u914d\u7f6e\u4e32\u53e3\u4ee5\u4e0e ESP8266 \u8fdb\u884c\u901a\u4fe1\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528 CubeMX \u548c HAL \u5e93\u8fdb\u884c\u4e32\u53e3\u914d\u7f6e\u7684\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u6253\u5f00 CubeMX&#xff0c;\u9009\u62e9\u5bf9\u5e94\u7684 STM32 \u82af\u7247\u578b\u53f7\u3002<\/li>\n<li>\u914d\u7f6e RCC \u65f6\u949f&#xff0c;\u9009\u62e9\u5916\u90e8\u6676\u632f\u4f5c\u4e3a\u65f6\u949f\u6e90&#xff0c;\u5e76\u914d\u7f6e\u7cfb\u7edf\u65f6\u949f\u9891\u7387\u3002<\/li>\n<li>\u4f7f\u80fd\u6240\u9700\u7684\u4e32\u53e3&#xff08;\u5982 USART1&#xff09;&#xff0c;\u8bbe\u7f6e\u6ce2\u7279\u7387\u4e3a 115200&#xff08;\u4e0e ESP8266 \u9ed8\u8ba4\u6ce2\u7279\u7387\u4e00\u81f4&#xff09;\u3002<\/li>\n<li>\u751f\u6210\u4ee3\u7801\u5e76\u5bfc\u5165\u5230 Keil \u6216\u5176\u4ed6\u5f00\u53d1\u73af\u5883\u4e2d\u3002<\/li>\n<h4>3.2 ESP8266 \u521d\u59cb\u5316<\/h4>\n<p>ESP8266 \u5728\u4f7f\u7528\u524d\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u521d\u59cb\u5316\u64cd\u4f5c&#xff0c;\u5982\u8bbe\u7f6e\u5de5\u4f5c\u6a21\u5f0f\u3001\u8fde\u63a5 Wi-Fi \u7f51\u7edc\u7b49\u3002\u53ef\u4ee5\u901a\u8fc7\u5411 ESP8266 \u53d1\u9001 AT \u6307\u4ee4\u6765\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\u3002\u5e38\u89c1\u7684 AT \u6307\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>AT&#043;RST&#xff1a;\u590d\u4f4d ESP8266<\/li>\n<li>AT&#043;CWMODE&#061;1&#xff1a;\u8bbe\u7f6e\u4e3a STA \u6a21\u5f0f&#xff08;\u5ba2\u6237\u7aef\u6a21\u5f0f&#xff09;<\/li>\n<li>AT&#043;CWJAP&#061;&#034;SSID&#034;,&#034;PASSWORD&#034;&#xff1a;\u8fde\u63a5\u5230\u6307\u5b9a\u7684 Wi-Fi \u7f51\u7edc<\/li>\n<\/ul>\n<h3>\u56db\u3001\u4ee3\u7801\u5b9e\u73b0<\/h3>\n<h4>4.1 STM32 \u4ee3\u7801<\/h4>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528 STM32 HAL \u5e93\u5b9e\u73b0\u4e0e ESP8266 \u901a\u4fe1\u7684\u793a\u4f8b\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&#034;stm32f1xx_hal.h&#034;<\/span><\/span><\/p>\n<p>UART_HandleTypeDef huart1<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">SystemClock_Config<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">MX_GPIO_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">MX_USART1_UART_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u53d1\u9001 AT \u6307\u4ee4\u5230 ESP8266<\/span><br \/>\n<span class=\"token keyword\">void<\/span> <span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token keyword\">char<\/span><span class=\"token operator\">*<\/span> command<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">HAL_UART_Transmit<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>huart1<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint8_t<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span>command<span class=\"token punctuation\">,<\/span> <span class=\"token function\">strlen<\/span><span class=\"token punctuation\">(<\/span>command<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> HAL_MAX_DELAY<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">HAL_UART_Transmit<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>huart1<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint8_t<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span><span class=\"token string\">&#034;\\\\r\\\\n&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">,<\/span> HAL_MAX_DELAY<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token function\">HAL_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">SystemClock_Config<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">MX_GPIO_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">MX_USART1_UART_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token comment\">\/\/ \u590d\u4f4d ESP8266<\/span><br \/>\n  <span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;RST&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token comment\">\/\/ \u8bbe\u7f6e\u4e3a STA \u6a21\u5f0f<\/span><br \/>\n  <span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;CWMODE&#061;1&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token comment\">\/\/ \u8fde\u63a5\u5230 Wi-Fi \u7f51\u7edc<\/span><br \/>\n  <span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;CWJAP&#061;\\\\&#034;your_SSID\\\\&#034;,\\\\&#034;your_PASSWORD\\\\&#034;&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">5000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token keyword\">while<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token comment\">\/\/ \u4e3b\u5faa\u73af<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">SystemClock_Config<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  RCC_OscInitTypeDef RCC_OscInitStruct <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  RCC_ClkInitTypeDef RCC_ClkInitStruct <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token comment\">\/** Initializes the RCC Oscillators according to the specified parameters<br \/>\n  * in the RCC_OscInitTypeDef structure.<br \/>\n  *\/<\/span><br \/>\n  RCC_OscInitStruct<span class=\"token punctuation\">.<\/span>OscillatorType <span class=\"token operator\">&#061;<\/span> RCC_OSCILLATORTYPE_HSI<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_OscInitStruct<span class=\"token punctuation\">.<\/span>HSIState <span class=\"token operator\">&#061;<\/span> RCC_HSI_ON<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_OscInitStruct<span class=\"token punctuation\">.<\/span>HSICalibrationValue <span class=\"token operator\">&#061;<\/span> RCC_HSICALIBRATION_DEFAULT<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_OscInitStruct<span class=\"token punctuation\">.<\/span>PLL<span class=\"token punctuation\">.<\/span>PLLState <span class=\"token operator\">&#061;<\/span> RCC_PLL_NONE<span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">HAL_RCC_OscConfig<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>RCC_OscInitStruct<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">!&#061;<\/span> HAL_OK<span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">Error_Handler<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token comment\">\/** Initializes the CPU, AHB and APB buses clocks<br \/>\n  *\/<\/span><br \/>\n  RCC_ClkInitStruct<span class=\"token punctuation\">.<\/span>ClockType <span class=\"token operator\">&#061;<\/span> RCC_CLOCKTYPE_HCLK<span class=\"token operator\">|<\/span>RCC_CLOCKTYPE_SYSCLK<br \/>\n                              <span class=\"token operator\">|<\/span>RCC_CLOCKTYPE_PCLK1<span class=\"token operator\">|<\/span>RCC_CLOCKTYPE_PCLK2<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_ClkInitStruct<span class=\"token punctuation\">.<\/span>SYSCLKSource <span class=\"token operator\">&#061;<\/span> RCC_SYSCLKSOURCE_HSI<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_ClkInitStruct<span class=\"token punctuation\">.<\/span>AHBCLKDivider <span class=\"token operator\">&#061;<\/span> RCC_SYSCLK_DIV1<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_ClkInitStruct<span class=\"token punctuation\">.<\/span>APB1CLKDivider <span class=\"token operator\">&#061;<\/span> RCC_HCLK_DIV1<span class=\"token punctuation\">;<\/span><br \/>\n  RCC_ClkInitStruct<span class=\"token punctuation\">.<\/span>APB2CLKDivider <span class=\"token operator\">&#061;<\/span> RCC_HCLK_DIV1<span class=\"token punctuation\">;<\/span><\/p>\n<p>  <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">HAL_RCC_ClockConfig<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>RCC_ClkInitStruct<span class=\"token punctuation\">,<\/span> FLASH_LATENCY_0<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">!&#061;<\/span> HAL_OK<span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">Error_Handler<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">MX_USART1_UART_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Instance <span class=\"token operator\">&#061;<\/span> USART1<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>BaudRate <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">115200<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>WordLength <span class=\"token operator\">&#061;<\/span> UART_WORDLENGTH_8B<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>StopBits <span class=\"token operator\">&#061;<\/span> UART_STOPBITS_1<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>Parity <span class=\"token operator\">&#061;<\/span> UART_PARITY_NONE<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>Mode <span class=\"token operator\">&#061;<\/span> UART_MODE_TX_RX<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>HwFlowCtl <span class=\"token operator\">&#061;<\/span> UART_HWCONTROL_NONE<span class=\"token punctuation\">;<\/span><br \/>\n  huart1<span class=\"token punctuation\">.<\/span>Init<span class=\"token punctuation\">.<\/span>OverSampling <span class=\"token operator\">&#061;<\/span> UART_OVERSAMPLING_16<span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">HAL_UART_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>huart1<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">!&#061;<\/span> HAL_OK<span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">Error_Handler<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">MX_GPIO_Init<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token comment\">\/* GPIO Ports Clock Enable *\/<\/span><br \/>\n  <span class=\"token function\">__HAL_RCC_GPIOA_CLK_ENABLE<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">void<\/span> <span class=\"token function\">Error_Handler<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">void<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token keyword\">while<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>4.2 \u4ee3\u7801\u89e3\u91ca<\/h4>\n<ul>\n<li>send_AT_command \u51fd\u6570&#xff1a;\u7528\u4e8e\u5411 ESP8266 \u53d1\u9001 AT \u6307\u4ee4&#xff0c;\u5e76\u5728\u6307\u4ee4\u672b\u5c3e\u6dfb\u52a0\u6362\u884c\u7b26\u3002<\/li>\n<li>main \u51fd\u6570&#xff1a;\u521d\u59cb\u5316 STM32 \u7684\u786c\u4ef6\u8d44\u6e90&#xff0c;\u7136\u540e\u4f9d\u6b21\u53d1\u9001\u590d\u4f4d\u3001\u8bbe\u7f6e\u5de5\u4f5c\u6a21\u5f0f\u548c\u8fde\u63a5 Wi-Fi \u7f51\u7edc\u7684 AT \u6307\u4ee4\u3002<\/li>\n<\/ul>\n<h3>\u4e94\u3001\u6570\u636e\u4f20\u8f93<\/h3>\n<p>\u5728 STM32 \u4e0e ESP8266 \u5efa\u7acb\u8fde\u63a5\u540e&#xff0c;\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002\u4f8b\u5982&#xff0c;\u901a\u8fc7 TCP \u6216 UDP \u534f\u8bae\u4e0e\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528 TCP \u534f\u8bae\u53d1\u9001\u6570\u636e\u7684\u793a\u4f8b\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ \u8fde\u63a5\u5230 TCP \u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;CIPSTART&#061;\\\\&#034;TCP\\\\&#034;,\\\\&#034;your_server_IP\\\\&#034;,your_server_port&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">3000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u53d1\u9001\u6570\u636e<\/span><br \/>\n<span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;CIPSEND&#061;5&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u53d1\u9001 5 \u4e2a\u5b57\u8282\u7684\u6570\u636e<\/span><br \/>\n<span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Hello&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">HAL_Delay<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">2000<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5173\u95ed TCP \u8fde\u63a5<\/span><br \/>\n<span class=\"token function\">send_AT_command<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;AT&#043;CIPCLOSE&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h3>\u516d\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\u6ce2\u7279\u7387\u5339\u914d&#xff1a;\u786e\u4fdd STM32 \u4e0e ESP8266 \u7684\u4e32\u53e3\u6ce2\u7279\u7387\u4e00\u81f4&#xff0c;\u5426\u5219\u4f1a\u5bfc\u81f4\u901a\u4fe1\u5931\u8d25\u3002<\/li>\n<li>AT \u6307\u4ee4\u54cd\u5e94&#xff1a;\u5728\u53d1\u9001 AT \u6307\u4ee4\u540e&#xff0c;\u9700\u8981\u7b49\u5f85 ESP8266 \u7684\u54cd\u5e94&#xff0c;\u4ee5\u786e\u4fdd\u6307\u4ee4\u6267\u884c\u6210\u529f\u3002\u53ef\u4ee5\u901a\u8fc7\u8bfb\u53d6\u4e32\u53e3\u63a5\u6536\u7f13\u51b2\u533a\u6765\u83b7\u53d6\u54cd\u5e94\u4fe1\u606f\u3002<\/li>\n<li>\u7535\u6e90\u7a33\u5b9a\u6027&#xff1a;ESP8266 \u5728\u5de5\u4f5c\u65f6\u5bf9\u7535\u6e90\u7a33\u5b9a\u6027\u8981\u6c42\u8f83\u9ad8&#xff0c;\u5efa\u8bae\u4f7f\u7528\u7a33\u538b\u7535\u6e90\u6a21\u5757\u4e3a\u5176\u4f9b\u7535\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u4f60\u53ef\u4ee5\u5b9e\u73b0 STM32 \u4e0e ESP8266 \u7684\u901a\u4fe1&#xff0c;\u8ba9 STM32 \u8bbe\u5907\u5177\u5907\u7f51\u7edc\u901a\u4fe1\u80fd\u529b&#xff0c;\u5b9e\u73b0\u66f4\u591a\u7684\u7269\u8054\u7f51\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.7k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u2705\u4f5c\u8005\u7b80\u4ecb\uff1a\u70ed\u7231\u79d1\u7814\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\uff0c\u4fee\u5fc3\u548c\u6280\u672f\u540c\u6b65\u7cbe\u8fdb\u2764\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u77e5\u4e4e\uff1a\u5bf9error\u89c6\u800c\u4e0d\u89c1\u4ee3\u7801\u83b7\u53d6\u3001\u95ee\u9898\u63a2\u8ba8\u53ca\u6587\u7ae0\u8f6c\u8f7d\u53ef\u79c1\u4fe1\u3002\u2601 \u613f\u4f60\u7684\u751f\u547d\u4e2d\u6709\u591f\u591a\u7684\u4e91\u7ff3,\u6765\u9020\u5c31\u4e00\u4e2a\u7f8e\u4e3d\u7684\u9ec4\u660f\u3002\ud83d\udc47\u3002_esp8266\u8fde\u63a5stm32<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[217,270,269],"topic":[],"class_list":["post-43094","post","type-post","status-publish","format-standard","hentry","category-server","tag-stm32","tag-270","tag-269"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/43094.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.7k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u2705\u4f5c\u8005\u7b80\u4ecb\uff1a\u70ed\u7231\u79d1\u7814\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\uff0c\u4fee\u5fc3\u548c\u6280\u672f\u540c\u6b65\u7cbe\u8fdb\u2764\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u77e5\u4e4e\uff1a\u5bf9error\u89c6\u800c\u4e0d\u89c1\u4ee3\u7801\u83b7\u53d6\u3001\u95ee\u9898\u63a2\u8ba8\u53ca\u6587\u7ae0\u8f6c\u8f7d\u53ef\u79c1\u4fe1\u3002\u2601 \u613f\u4f60\u7684\u751f\u547d\u4e2d\u6709\u591f\u591a\u7684\u4e91\u7ff3,\u6765\u9020\u5c31\u4e00\u4e2a\u7f8e\u4e3d\u7684\u9ec4\u660f\u3002\ud83d\udc47\u3002_esp8266\u8fde\u63a5stm32\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/43094.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-11T00:54:57+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43094.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/43094.html\",\"name\":\"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-11T00:54:57+00:00\",\"dateModified\":\"2025-06-11T00:54:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/43094.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/43094.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/43094.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/43094.html","og_locale":"zh_CN","og_type":"article","og_title":"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.7k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u2705\u4f5c\u8005\u7b80\u4ecb\uff1a\u70ed\u7231\u79d1\u7814\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\uff0c\u4fee\u5fc3\u548c\u6280\u672f\u540c\u6b65\u7cbe\u8fdb\u2764\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u77e5\u4e4e\uff1a\u5bf9error\u89c6\u800c\u4e0d\u89c1\u4ee3\u7801\u83b7\u53d6\u3001\u95ee\u9898\u63a2\u8ba8\u53ca\u6587\u7ae0\u8f6c\u8f7d\u53ef\u79c1\u4fe1\u3002\u2601 \u613f\u4f60\u7684\u751f\u547d\u4e2d\u6709\u591f\u591a\u7684\u4e91\u7ff3,\u6765\u9020\u5c31\u4e00\u4e2a\u7f8e\u4e3d\u7684\u9ec4\u660f\u3002\ud83d\udc47\u3002_esp8266\u8fde\u63a5stm32","og_url":"https:\/\/www.wsisp.com\/helps\/43094.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-11T00:54:57+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/43094.html","url":"https:\/\/www.wsisp.com\/helps\/43094.html","name":"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-11T00:54:57+00:00","dateModified":"2025-06-11T00:54:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/43094.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/43094.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/43094.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"STM32 \u901a\u8fc7 ESP8266 \u901a\u4fe1\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=43094"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/43094\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=43094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=43094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=43094"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=43094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}