{"id":2497,"date":"2024-07-31T16:07:45","date_gmt":"2024-07-31T08:07:45","guid":{"rendered":"https:\/\/saludpcb.com\/zh\/?p=2497"},"modified":"2024-07-31T16:13:43","modified_gmt":"2024-07-31T08:13:43","slug":"esp32-%e5%85%a5%e9%96%80%e5%88%b0%e7%b2%be%e9%80%9a-%e4%bd%bf%e7%94%a8-xtimer","status":"publish","type":"post","link":"https:\/\/saludpcb.com\/zh\/esp32-%e5%85%a5%e9%96%80%e5%88%b0%e7%b2%be%e9%80%9a-%e4%bd%bf%e7%94%a8-xtimer\/","title":{"rendered":"ESP32 \u5165\u9580\u5230\u7cbe\u901a &#8211; \u4f7f\u7528 xTimer"},"content":{"rendered":"\n<hr class=\"wp-block-separator alignwide has-text-color has-palette-color-1-color has-alpha-channel-opacity has-palette-color-1-background-color has-background is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>\u5167\u5bb9<\/h2><nav><ul><li class=\"\"><a href=\"#\u7c21\u4ecb\">\u7c21\u4ecb<\/a><\/li><li class=\"\"><a href=\"#x-timer-\u529f\u80fd\">xTimer \u529f\u80fd<\/a><\/li><li class=\"\"><a href=\"#\u5982\u4f55\u4f7f\u7528-x-timer\">\u5982\u4f55\u4f7f\u7528 xTimer<\/a><\/li><li class=\"\"><a href=\"#x-timer-\u5e38\u7528\u51fd\u6578\">xTimer \u5e38\u7528\u51fd\u6578<\/a><\/li><li class=\"\"><a href=\"#\u5b89\u88dd-vs-code-\u548c-esp-idf-vs-code-\u64f4\u5c55\">\u5b89\u88dd VSCode \u548c ESP-IDF VSCode \u64f4\u5c55<\/a><\/li><li class=\"\"><a href=\"#\u65b0\u5efa-esp-32-\u5c08\u6848\">\u65b0\u5efa ESP32 \u5c08\u6848<\/a><\/li><li class=\"\"><a href=\"#\u4e00\u6b21\u5b8c\u6574\u6210\u73fe-x-timer-\u529f\u80fd\u7bc4\u4f8b\">\u4e00\u6b21\u5b8c\u6574\u6210\u73fe xTimer \u529f\u80fd\u7bc4\u4f8b<\/a><\/li><li class=\"\"><a href=\"#\u7de8\u8b6f\u548c\u71d2\u9304\">\u7de8\u8b6f\u548c\u71d2\u9304<\/a><\/li><li class=\"\"><a href=\"#\u67e5\u770b\u7d50\u679c\">\u67e5\u770b\u7d50\u679c<\/a><\/li><li class=\"\"><a href=\"#\u7d50\u8ad6\">\u7d50\u8ad6<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u7c21\u4ecb\">\u7c21\u4ecb<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">ESP32 \u662f\u7531 Espressif Systems \u958b\u767c\u7684\u4e00\u6b3e\u4f4e\u529f\u8017 Wi-Fi \u548c\u85cd\u7259\u96d9\u6a21\u7cfb\u7d71\u7d1a\u82af\u7247\uff0c\u800c FreeRTOS \u662f\u4e00\u500b\u958b\u6e90\u7684\u5be6\u6642\u64cd\u4f5c\u7cfb\u7d71\u5167\u6838\uff0c\u9069\u7528\u65bc\u5fae\u63a7\u5236\u5668\u3002\u7576\u9019\u5169\u8005\u7d50\u5408\u5728\u4e00\u8d77\u4f7f\u7528\u6642\uff0cESP32 \u53ef\u4ee5\u5229\u7528 FreeRTOS \u4f86\u5be6\u73fe\u591a\u4efb\u52d9\u8abf\u5ea6\uff0c\u4e26\u63d0\u9ad8\u61c9\u7528\u7684\u5be6\u6642\u6027\u80fd\u3002<br><br>xTimer \u662f FreeRTOS \u4e2d\u4e00\u500b\u5f37\u5927\u7684\u8a08\u6642\u5668\u5de5\u5177\uff0c\u7528\u65bc\u5728 ESP32 \u4e0a\u5be6\u73fe\u7cbe\u78ba\u7684\u5ef6\u9072\u548c\u5b9a\u6642\u64cd\u4f5c\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"x-timer-\u529f\u80fd\">xTimer \u529f\u80fd<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">xTimer \u662f\u4e00\u500b\u9748\u6d3b\u4e14\u9ad8\u6548\u7684\u65b9\u5f0f\u4f86\u8655\u7406\u8edf\u9ad4\u8a08\u6642\u5668\u3002\u8edf\u9ad4\u8a08\u6642\u5668\u5141\u8a31\u4f60\u8a2d\u5b9a\u4e00\u500b\u8a08\u6642\u5668\uff0c\u8a72\u8a08\u6642\u5668\u53ef\u4ee5\u5728\u6307\u5b9a\u6642\u9593\u5f8c\u57f7\u884c\u4e00\u500b\u56de\u8abf\u51fd\u6578\u3002\u9019\u5c0d\u65bc\u9700\u8981\u9031\u671f\u6027\u4efb\u52d9\u6216\u5ef6\u9072\u64cd\u4f5c\u7684\u61c9\u7528\u975e\u5e38\u6709\u7528\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5982\u4f55\u4f7f\u7528-x-timer\">\u5982\u4f55\u4f7f\u7528 xTimer<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">1. \u5275\u5efa\u548c\u521d\u59cb\u5316\u8a08\u6642\u5668\u3002<br>2. \u8a2d\u7f6e\u8a08\u6642\u5668\u53c3\u6578\u3002<br>3. \u555f\u52d5\u8a08\u6642\u5668\u3002<br>4. \u505c\u6b62\u8a08\u6642\u5668\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"x-timer-\u5e38\u7528\u51fd\u6578\">xTimer \u5e38\u7528\u51fd\u6578<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">1. xTimerCreate : \u5275\u5efa\u4e00\u500b\u8edf\u4ef6\u8a08\u6642\u5668\u3002<br>2. xTimerStart : \u555f\u52d5\u8a08\u6642\u5668\u3002<br>3. xTimerStop : \u505c\u6b62\u8a08\u6642\u5668\u3002<br>4. xTimerChangePeriod : \u66f4\u6539\u8a08\u6642\u5668\u7684\u9031\u671f\u3002<br>5. xTimerReset : \u91cd\u7f6e\u8a08\u6642\u5668\uff0c\u5c07\u8a08\u6642\u5668\u7684\u8a08\u6642\u91cd\u65b0\u958b\u59cb\u3002<br>6. xTimerDelete : \u522a\u9664\u8a08\u6642\u5668\u3002<br>7. xTimerGetPeriod : \u7372\u53d6\u8a08\u6642\u5668\u7684\u9031\u671f\u3002<br>8. xTimerGetExpiryTime : \u7372\u53d6\u8a08\u6642\u5668\u4e0b\u4e00\u6b21\u5230\u671f\u7684\u6642\u9593\u3002<br>9. xTimerGetTimerDaemonTaskHandle : \u7372\u53d6\u8a08\u6642\u5668\u5b88\u8b77\u4efb\u52d9\u7684\u53e5\u67c4\u3002<br>10. pvTimerGetTimerID : \u7372\u53d6\u8a08\u6642\u5668\u7684ID\u3002<br>11. vTimerSetTimerID : \u8a2d\u7f6e\u8a08\u6642\u5668\u7684ID\u3002<br>12. xTimerPendFunctionCall : \u57f7\u884c\u4e00\u500b\u51fd\u6578\uff0c\u8a72\u51fd\u6578\u5c07\u5728\u8a08\u6642\u5668\u5b88\u8b77\u4efb\u52d9\u7684\u4e0a\u4e0b\u6587\u4e2d\u904b\u884c\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5b89\u88dd-vs-code-\u548c-esp-idf-vs-code-\u64f4\u5c55\">\u5b89\u88dd VSCode \u548c ESP-IDF VSCode \u64f4\u5c55<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">\u78ba\u4fdd\u4f60\u5df2\u7d93\u5b89\u88dd\u548c\u914d\u7f6e\u597d\u4e86 ESP-IDF \u958b\u767c\u74b0\u5883\u3002\u60a8\u4e5f\u53ef\u4ee5\u53c3\u8003 <a href=\"https:\/\/saludpcb.com\/zh\/esp32-tutorial-esp-idf-with-vscode\/\">ESP32 \u5165\u9580\u5230\u7cbe\u901a \u2013 \u5728 VSCode \u5b89\u88dd ESP-IDF \u63d2\u4ef6<\/a> \u9019\u7bc7\u6587\u7ae0\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u65b0\u5efa-esp-32-\u5c08\u6848\">\u65b0\u5efa ESP32 \u5c08\u6848<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">\u5229\u7528\u5728 VSCode \u7684 IDF \u63d2\u4ef6\u4f86\u65b0\u5efa\u4e00\u500b ESP32 \u5c08\u6848\u53ef\u53c3\u8003 <a href=\"https:\/\/saludpcb.com\/zh\/esp32-tutorial-how-to-create-an-esp32-project-with-vscode\/\">ESP32 \u5165\u9580\u5230\u7cbe\u901a \u2013 \u5982\u4f55\u7528 VSCode \u5275\u5efa ESP32 \u5c08\u6848<\/a>\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4e00\u6b21\u5b8c\u6574\u6210\u73fe-x-timer-\u529f\u80fd\u7bc4\u4f8b\">\u4e00\u6b21\u5b8c\u6574\u6210\u73fe xTimer \u529f\u80fd\u7bc4\u4f8b<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-code\"><code lang=\"c\" class=\"language-c\">#include \"freertos\/FreeRTOS.h\"\n#include \"freertos\/task.h\"\n#include \"freertos\/timers.h\"\n#include \"esp_log.h\"\n\n#define TAG \"xtimer_example\"\n\n\/\/ Counter to track the number of timer callbacks\nstatic int callback_count = 0;\nstatic const int stop_after_count = 4;\n\n\/\/ Callback function\nvoid timer_callback(TimerHandle_t xTimer) {\n    callback_count++;\n    ESP_LOGI(TAG, \"Timer expired! Callback count: %d\", callback_count);\n\n    \/\/ Stop the timer after 4 callbacks\n    if (callback_count &gt;= stop_after_count) {\n        if (xTimerStop(xTimer, 0) != pdPASS) {\n            ESP_LOGE(TAG, \"Timer stop failed!\");\n        } else {\n            ESP_LOGI(TAG, \"Timer stopped after %d callbacks\", stop_after_count);\n        }\n    }\n}\n\n\/\/ Function to be executed in the timer daemon task context\nvoid pendingFunction(void *pvParameter1, uint32_t ulParameter2) {\n    ESP_LOGI(TAG, \"Pending function called with param1: %p, param2: %d\", pvParameter1, ulParameter2);\n}\n\nvoid app_main() {\n    \/\/ Create a software timer\n    TimerHandle_t xTimer = xTimerCreate(\n        \"Timer\",                  \/\/ Timer name\n        pdMS_TO_TICKS(1000),      \/\/ Timer period in ticks (milliseconds to ticks)\n        pdTRUE,                   \/\/ Auto-reload flag\n        (void *) 0,               \/\/ Timer ID\n        timer_callback            \/\/ Callback function\n    );\n\n    if (xTimer == NULL) {\n        ESP_LOGE(TAG, \"Timer creation failed!\");\n        return;\n    }\n\n    \/\/ Start the timer\n    if (xTimerStart(xTimer, 0) != pdPASS) {\n        ESP_LOGE(TAG, \"Timer start failed!\");\n    }\n\n    \/\/ Change the timer period to 2000 ticks (assuming 1 tick = 1 millisecond)\n    if (xTimerChangePeriod(xTimer, pdMS_TO_TICKS(2000), 0) != pdPASS) {\n        ESP_LOGE(TAG, \"Timer change period failed!\");\n    }\n\n    \/\/ Get the timer period\n    TickType_t period = xTimerGetPeriod(xTimer);\n    ESP_LOGI(TAG, \"Timer period: %d ticks\", period);\n\n    \/\/ Get the timer expiry time\n    TickType_t expiryTime = xTimerGetExpiryTime(xTimer);\n    ESP_LOGI(TAG, \"Timer expiry time: %d ticks\", expiryTime);\n\n    \/\/ Set and get the timer ID\n    void *newTimerID = (void *)111;\n    vTimerSetTimerID(xTimer, newTimerID);\n    void *timerID = pvTimerGetTimerID(xTimer);\n    ESP_LOGI(TAG, \"Timer ID: %p\", timerID);\n\n    \/\/ Call a function in the timer daemon task context\n    if (xTimerPendFunctionCall(pendingFunction, (void *)0xFFF, 111, 0) != pdPASS) {\n        ESP_LOGE(TAG, \"Pending function call failed!\");\n    }\n\n    \/\/ Get the timer daemon task handle\n    TaskHandle_t timerDaemonTaskHandle = xTimerGetTimerDaemonTaskHandle();\n    ESP_LOGI(TAG, \"Timer daemon task handle: %p\", timerDaemonTaskHandle);\n}<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u7de8\u8b6f\u548c\u71d2\u9304\">\u7de8\u8b6f\u548c\u71d2\u9304<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">\u5728 VSCode \u4e2d\u627e\u5230 \"ESP32-IDF : Build, Flash and Monitor\" ICON \u57f7\u884c\u548c\u71d2\u9304\u3002<\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u67e5\u770b\u7d50\u679c\">\u67e5\u770b\u7d50\u679c<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">\u6211\u5011\u53ef\u4ee5\u67e5\u770b\u5728\u7d42\u7aef\u6a5f\u7684\u5217\u5370\u7d50\u679c\uff0c\u5982\u4e0b...<\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">I (306) xtimer_example: Timer period: 100 ticks\nI (316) xtimer_example: Timer expiry time: 1073407732 ticks\nI (316) xtimer_example: Timer ID: 0x6f\nI (326) xtimer_example: Timer daemon task handle: 0x3ffb6b48\nI (326) xtimer_example: Pending function called with param1: 0xfff, param2: 111\nI (2326) xtimer_example: Timer expired! Callback count: 1\nI (4326) xtimer_example: Timer expired! Callback count: 2\nI (6326) xtimer_example: Timer expired! Callback count: 3\nI (8326) xtimer_example: Timer expired! Callback count: 4\nI (8326) xtimer_example: Timer stopped after 4 callbacks<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u7d50\u8ad6\">\u7d50\u8ad6<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:0px\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-medium-font-size is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\">ESP32 \u7684 <a href=\"https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/v5.3\/esp32\/api-reference\/system\/freertos_idf.html\" target=\"_blank\" rel=\"noopener\">FreeRTOS<\/a> \u8a08\u6642\u5668\u7684\u7cbe\u5ea6\u53d6\u6c7a\u65bc\u7cfb\u7d71\u7684\u6ef4\u7b54\u983b\u7387\uff0c\u901a\u5e38\u70ba 1ms\u3002\u78ba\u4fdd\u5728\u5275\u5efa\u548c\u522a\u9664\u8a08\u6642\u5668\u6642\u6b63\u78ba\u7ba1\u7406\u5167\u5b58\uff0c\u4ee5\u907f\u514d\u5167\u5b58\u6cc4\u6f0f\u3002\u56de\u8abf\u51fd\u6578\u61c9\u8a72\u57f7\u884c\u5feb\u901f\u4e14\u975e\u963b\u585e\u7684\u64cd\u4f5c\uff0c\u907f\u514d\u9577\u6642\u9593\u904b\u884c\uff0c\u4ee5\u514d\u5f71\u97ff\u7cfb\u7d71\u5176\u4ed6\u4efb\u52d9\u7684\u8abf\u5ea6\u3002<br><\/pre>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-text-color has-palette-color-1-color has-alpha-channel-opacity has-palette-color-1-background-color has-background is-style-wide\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u7c21\u4ecb ESP32 \u662f\u7531 Espressif Systems \u958b\u767c\u7684\u4e00\u6b3e\u4f4e\u529f\u8017 Wi-Fi \u548c\u85cd\u7259\u96d9\u6a21\u7cfb\u7d71\u7d1a\u82af\u7247 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,53,57],"tags":[61,27,63,20,60,10,64,11,62],"class_list":["post-2497","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-module","category-esp32","category-tutorial","tag-bluetooth","tag-c","tag-firmware","tag-hardware","tag-iot","tag-mcu","tag-module","tag-tutorial","tag-wifi"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/2497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/comments?post=2497"}],"version-history":[{"count":8,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/2497\/revisions"}],"predecessor-version":[{"id":2508,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/posts\/2497\/revisions\/2508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/media\/2503"}],"wp:attachment":[{"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/media?parent=2497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/categories?post=2497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saludpcb.com\/zh\/wp-json\/wp\/v2\/tags?post=2497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}