{"id":599,"date":"2017-08-23T10:26:53","date_gmt":"2017-08-23T02:26:53","guid":{"rendered":"https:\/\/www.jarvisw.com\/?p=599"},"modified":"2017-08-23T13:22:16","modified_gmt":"2017-08-23T05:22:16","slug":"esp32%e7%a7%bb%e6%a4%8dwolfssl%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.jarvisw.com\/?p=599","title":{"rendered":"ESP32\u79fb\u690dwolfssl\u65b9\u6cd5"},"content":{"rendered":"<p>\u81ea2015\u5e74ESP32\u53d1\u5e03\u4ee5\u540e\uff0c\u5b98\u65b9\u53f7\u79f0\u5f88\u725b\u903c\uff0c\u5173\u6ce8\u5ea6\u4e5f\u633a\u9ad8\uff0c\u4f46\u5b9e\u9645\u4e0a\u5462\uff0c\u6211\u4eec\u8fd9\u4e9b\u62ff\u5230\u82af\u7247\u5f00\u53d1\u7684\u7b2c\u4e00\u6279\u7528\u6237\u6765\u8bf4\uff0c\u4e5f\u8e29\u4e86\u4e0d\u5c11\u5751\uff0c\u6587\u6863\u6e23\u3001\u4f8b\u5b50\u5c11\uff0c\u751f\u6001\u76f8\u6bd4\u4f20\u7edf\u5927\u516c\u53f8\u6bd4\u5982TI\uff0cST\u4e4b\u6d41\u8fd8\u662f\u6709\u5f88\u5927\u5dee\u8ddd\uff0c\u8fd9\u6b21\u6253\u7b97\u79fb\u690dwolfssl\u8fd9\u4e2a\u5e93\u5230ESP32\u4e0a\u4e5f\u8d39\u4e86\u4e0d\u5c11\u52b2\uff0c\u8fc7\u7a0b\u987a\u4fbf\u8bb0\u5f55\u4e0b\u65b9\u4fbf\u5927\u5bb6\u53c2\u8003\u3002<\/p>\n<p>wolfssl\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u7684SSL\u5e93\uff0c\u652f\u6301\u7684\u534f\u8bae\u8fd8\u633a\u5168\u7684\uff0c\u6bd4\u8f83\u9002\u5408\u5d4c\u5165\u5f0f\u7cfb\u7edf\uff0c\u800c\u4e14\u4f7f\u7528\u8d77\u6765\u6bd4OpenSSL\u548cmbedTLS\u7b80\u5355\u591a\u4e86\u3002\u6240\u4ee5\u5c31\u6253\u7b97\u5728ESP32\u4e0a\u79fb\u690d\u8fd9\u4e2assl\u5e93\u3002\u53e6\u5916\uff0cESP32\u4e0a\u81ea\u5e26\u4e86OpenSSL\u548cmbedTLS\uff0c\u5982\u679c\u4ec5\u4ec5\u662f\u5b9e\u73b0SSL\u529f\u80fd\uff0c\u7528\u8fd9\u4e24\u4e2a\u5e93\u5df2\u7ecf\u8db3\u591f\uff0c\u4f46\u662fapi\u7528\u8d77\u6765\u6ca1\u6709wolfssl\u90a3\u4e48\u7b80\u6d01\u597d\u7528\uff0c\u6240\u4ee5\u4e2a\u4eba\u8fd8\u662f\u66f4\u559c\u6b22wolfssl\u8fd9\u4e2a\u5e93\u3002<\/p>\n<p>\u597d\u4e86\u63a5\u4e0b\u6765\u5f00\u59cb\u5427\uff0c\u7f51\u4e0a\u5b8c\u5168\u627e\u4e0d\u5230\u7c7b\u4f3c\u7684\u8d44\u6599\uff0c\u5728wolfssl\u8bba\u575b\u4e0a\u6709\u4eba\u5c1d\u8bd5\u79fb\u690d\u6210\u529f\u8fc7\uff0c\u4f46\u662f\u5e76\u6ca1\u6709\u653e\u51fa\u65b9\u6cd5\u4ee5\u53ca\u6e90\u7801\uff0c\u6240\u4ee5\u6b64\u65f6\u6b64\u523b\u53ea\u80fd\u81ea\u5df1\u5c1d\u8bd5\u79fb\u690d\u4e86\u3002\u6211\u8fd9\u91cc\u79fb\u690d\u7528\u7684\u662f\u4e50\u946b\u5b98\u65b9\u7684esp-idf\u6a21\u677f\u5e93\uff0carduino\u5e94\u8be5\u4e5f\u5927\u540c\u5c0f\u5f02\u3002<\/p>\n<p>ESP\u5b98\u65b9\u7684esp-idf\u628a\u7ec4\u4ef6\u4e5f\u5c31\u662f\u5e93\u653e\u5728components\u76ee\u5f55\u4e0b\uff0c\u6bcf\u4e2a\u7ec4\u4ef6\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5728\u7ec4\u4ef6\u6587\u4ef6\u5939\u76ee\u5f55\u91cc\u4f1a\u6709\u4e00\u4e2acomponent.mk\u6587\u4ef6\uff0c\u7528\u4e8e\u6307\u5b9a\u6bcf\u4e2a\u7ec4\u4ef6\u7684include\u76ee\u5f55\u548c\u6e90\u7801\u76ee\u5f55\u3002\u800c\u6574\u4e2a\u5de5\u7a0b\u7684project.mk\u4f1a\u641c\u7d22components\u76ee\u5f55\u4e0b\u7684\u6bcf\u4e2a\u76ee\u5f55\uff0c\u5bfb\u627ecomponent.mk\u6765\u5bf9\u6bcf\u4e2a\u7ec4\u4ef6\u8fdb\u884c\u7f16\u8bd1\u3002\u6240\u4ee5\u6211\u4eec\u8981\u628awolfssl\u6e90\u7801\u653e\u5728components\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u53bbwolfssl\u5b98\u7f51\u4e0b\u8f7d\u6700\u65b0\u7684\u6e90\u4ee3\u7801\uff1a<\/p>\n<p><a href=\"https:\/\/wolfssl.com\/wolfSSL\/download\/downloadForm.php\">https:\/\/wolfssl.com\/wolfSSL\/download\/downloadForm.php<\/a><\/p>\n<p>\u7136\u540e\uff0c\u6211\u4eec\u5728components\u6587\u4ef6\u5939\u4e0b\u65b0\u5efawolfssl\u76ee\u5f55\uff0c\u7136\u540e\u628a\u6e90\u7801\u62f7\u8d1d\u8fc7\u6765\uff0c\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n.\r\n\u251c\u2500\u2500 build\r\n\u251c\u2500\u2500 components\r\n\u2502   \u2502 \r\n\u2502   \u2502      ... \r\n\u2502   \u251c\u2500\u2500 wolfssl\r\n\u2502   \u2502\r\n\u2502          ...\r\n\u251c\u2500\u2500 main\r\n\u2502   ...\r\n\u251c\u2500\u2500 Makefile\r\n\u251c\u2500\u2500 README.md\r\n\u251c\u2500\u2500 sdkconfig\r\n\u2514\u2500\u2500 sdkconfig.old\r\n<\/pre>\n<p>wolfssl\u76ee\u5f55\u4e0b\u4fdd\u6301\u6e90\u7801\u539f\u6765\u7684\u7ed3\u6784\u5373\u53ef\uff0c\u5982\u56fe\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/08\/1.png\" alt=\"\" width=\"206\" height=\"379\" class=\"alignnone size-full wp-image-600\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/08\/1.png 206w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/08\/1-163x300.png 163w\" sizes=\"auto, (max-width: 206px) 100vw, 206px\" \/><br \/>\n\u7136\u540e\uff0c\u5728wolfssl\u76ee\u5f55\u4e0b\u65b0\u5efa\u4e00\u4e2acomponent.mk\u6587\u4ef6\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#\r\n# Component Makefile\r\n#\r\n\r\nCOMPONENT_ADD_INCLUDEDIRS := ..\/wolfssl\r\nCOMPONENT_PRIV_INCLUDEDIRS := ..\/freertos\/include\/freertos\r\nCOMPONENT_SRCDIRS := src wolfcrypt\/src\r\n\r\n<\/pre>\n<p>\u4e3a\u4ec0\u4e48\u662f\u8fd9\u6837\u6211\u5927\u6982\u89e3\u91ca\u4e00\u4e0b\uff0c\u5982\u679c\u6709\u9700\u8981\u7684\u53ef\u4ee5\u770bwolfssl\u5b98\u65b9\u7684\u8bf4\u660e\uff0cwolfssl\u6839\u76ee\u5f55\u4e0b\u9762\u770b\u4f3c\u6709\u5f88\u591a\u6587\u4ef6\u5939\uff0c\u4f46\u5b9e\u9645\u6709\u7528\u7684\u53ea\u6709\u8fd9\u51e0\u4e2a\uff1a<br \/>\n.\/wolfssl  &#8212; \u8fd9\u4e2a\u6587\u4ef6\u5939\u662fwolfssl\u7684\u6240\u6709\u5934\u6587\u4ef6<br \/>\n.\/src   &#8212;  \u8fd9\u4e2a\u662fwolfssl\u529f\u80fd\u4ee3\u7801<br \/>\n.\/wolfcrypt\/src  &#8212; \u8fd9\u4e2a\u662fwolfssl\u7684\u6240\u6709\u52a0\u5bc6\u7b97\u6cd5\u6e90\u7801\u5b9e\u73b0<br \/>\n\u7531\u4e8ewolfssl\u7684\u4ee3\u7801\u4e2d\u5bf9\u5934\u6587\u4ef6\u7684\u5f15\u7528\u90fd\u662fwolfssl\/xxxx.h\u8fd9\u79cd\u5f62\u5f0f\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u5934\u6587\u4ef6\u5305\u542b\u7684\u76ee\u5f55\u5e94\u8be5\u662fwolfssl\u7684\u6839\u76ee\u5f55\uff0c\u6240\u4ee5\u6211\u4eecCOMPONENT_ADD_INCLUDEDIRS\u53d8\u91cf\u8981\u8bbe\u7f6e\u4e3a\u5f53\u524d\u76ee\u5f55\uff0c\u624d\u53d8\u6210\u6211\u7684\u8fd9\u79cd\u5199\u6cd5\uff0c\u53e6\u5916\u7531\u4e8eesp-idf\u4f7f\u7528\u7684\u7cfb\u7edf\u662fFreeRTOS\uff0c\u6240\u4ee5wolfssl\u4e5f\u8981\u7ed3\u5408FreeRTOS\u6765\u7f16\u8bd1\uff0c\u6240\u4ee5FreeRTOS\u7684\u5934\u6587\u4ef6\u76ee\u5f55\u4e5f\u8981\u52a0\u4e0a\u3002<\/p>\n<p>\u8fd9\u4e00\u6b65\u5b8c\u6210\u4e86\u4e4b\u540e\uff0c\u6211\u4eec\u9700\u8981\u4fee\u6539wolfssl\/wolfcrypt\/settings.h<br \/>\n\u5927\u81f4\u4fee\u6539\u5982\u4e0b\u51e0\u5904\uff1a<br \/>\n\u4e00\u3001\u53cd\u6ce8\u91caFREERTOS\u548cWOLFSSL_LWIP\u5b8f\u5b9a\u4e49\uff0c\u56e0\u4e3aesp-idf\u4f7f\u7528\u7684\u662fFreeRTOS+lwip\u65b9\u5f0f\u7684\u7cfb\u7edf+\u534f\u8bae\u6808\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n...\r\n\/* Uncomment next line if using PIC32MZ Crypto Engine *\/\r\n\/* #define WOLFSSL_MICROCHIP_PIC32MZ *\/\r\n\r\n\/* Uncomment next line if using FreeRTOS *\/\r\n #define FREERTOS\r\n\r\n\/* Uncomment next line if using FreeRTOS+ TCP *\/\r\n\/* #define FREERTOS_TCP *\/\r\n\r\n\/* Uncomment next line if using FreeRTOS Windows Simulator *\/\r\n\/* #define FREERTOS_WINSIM *\/\r\n\r\n\/* Uncomment next line if using RTIP *\/\r\n\/* #define EBSNET *\/\r\n\r\n\/* Uncomment next line if using lwip *\/\r\n #define WOLFSSL_LWIP\r\n\r\n\/* Uncomment next line if building wolfSSL for a game console *\/\r\n\/* #define WOLFSSL_GAME_BUILD *\/\r\n...\r\n<\/pre>\n<p>\u4e8c\u3001\u627e\u5230\u5982\u4e0b\u5730\u65b9\uff0c\u6dfb\u52a0\u4e00\u4e9b\u5b8f\u5b9a\u4e49\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n...\r\n#ifdef FREERTOS\r\n    #include &quot;FreeRTOS.h&quot;\r\n\r\n    \/* FreeRTOS pvPortRealloc() only in AVR32_UC3 port *\/\r\n    #if !defined(XMALLOC_USER) &amp;&amp; !defined(NO_WOLFSSL_MEMORY)\r\n        #define XMALLOC(s, h, type)  pvPortMalloc((s))\r\n        #define XFREE(p, h, type)    vPortFree((p))\r\n        \/\/\u65b0\u589e\u5982\u4e0b\u4e00\u884c\uff1a\r\n        #define XREALLOC(p, n, h, type) pvPortRealloc((p), (n))\r\n\r\n    #endif\r\n\r\n    #ifndef NO_WRITEV\r\n        #define NO_WRITEV\r\n    #endif\r\n    #ifndef HAVE_SHA512\r\n        #ifndef NO_SHA512\r\n            #define NO_SHA512\r\n        #endif\r\n    #endif\r\n    #ifndef HAVE_DH\r\n        #ifndef NO_DH\r\n            #define NO_DH\r\n        #endif\r\n    #endif\r\n    #ifndef NO_DSA\r\n        #define NO_DSA\r\n    #endif\r\n    #ifndef NO_HC128\r\n        #define NO_HC128\r\n    #endif\r\n\r\n    #ifndef SINGLE_THREADED\r\n        #include &quot;semphr.h&quot;\r\n    #endif\r\n\r\n    \/\/\u65b0\u589e\u4e0b\u9762\u7684\u5b8f\u5b9a\u4e49\uff1a\r\n    #ifndef HAVE_ECC\r\n        #define HAVE_ECC\r\n    #endif\r\n\r\n    #define WOLFSSL_DTLS\r\n    #define HAVE_SOCKADDR\r\n    #define DEBUG_WOLFSSL\r\n    #define NO_DEV_RANDOM\r\n    #include &quot;esp_system.h&quot;\r\n#endif\r\n...\r\n<\/pre>\n<p>\u53e6\u5916\uff0c\u7531\u4e8eesp-idf\u91cc\u7684freeRTOS\u6ca1\u6709pvPortRealloc\u8fd9\u4e2a\u5b9a\u4e49\uff0c\u4f46\u8fd9\u4e2a\u529f\u80fd\u662f\u5df2\u7ecf\u5b9e\u73b0\u7684\u53ea\u662f\u6ca1\u5c01\u88c5\uff0c\u6240\u4ee5\u73b0\u5728\u8981\u81ea\u5df1\u53bb\u5c01\u88c5\u8fd9\u4e2a\u51fd\u6570\uff1a<br \/>\n\u627e\u5230components\/freertos\/port.c\uff0c\u5728vPortFree\u51fd\u6570\u540e\u9762\u6dfb\u52a0\u5982\u4e0b\u51fd\u6570\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n...\r\nvoid *pvPortMalloc( size_t xWantedSize )\r\n{\r\n\treturn heap_caps_malloc(xWantedSize, MALLOC_CAP_8BIT);\r\n}\r\n\r\nvoid vPortFree( void *pv )\r\n{\r\n\treturn heap_caps_free(pv);\r\n}\r\n\/\/\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a\r\nvoid *pvPortRealloc( void *pv, size_t size )\r\n{\r\n\treturn heap_caps_realloc(pv, size,MALLOC_CAP_8BIT);\r\n}\r\n...\r\n<\/pre>\n<p>\u7136\u540e\u627e\u5230components\/freertos\/include\/freertos\/portable.h<br \/>\n\u5728vPortFree\u7684\u5b9a\u4e49\u540e\u9762\u6dfb\u52a0pvPortRealloc\u7684\u5b9a\u4e49\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n...\r\nvoid *pvPortMalloc( size_t xSize ) PRIVILEGED_FUNCTION;\r\nvoid vPortFree( void *pv ) PRIVILEGED_FUNCTION;\r\n\/\/\u6dfb\u52a0\u5982\u4e0b\u4e00\u884c\uff1a\r\nvoid *pvPortRealloc( void *pv, size_t size ) PRIVILEGED_FUNCTION;\r\nvoid vPortInitialiseBlocks( void ) PRIVILEGED_FUNCTION;\r\n...\r\n<\/pre>\n<p>\u6700\u540e\uff0c\u7531\u4e8ewolfssl\u8981\u6b63\u5e38\u5de5\u4f5c\u8fd8\u9700\u8981\u4e00\u4e2a\u968f\u673a\u6570\u53d1\u751f\u5668\uff0c\u9ed8\u8ba4\u4f7f\u7528\u7684\u662f\/dev\/urandom\uff0c\u4f46\u662fFreeRTOS\u4e0a\u9762\u662f\u6ca1\u6709\u8fd9\u4e2aio\u8bbe\u5907\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u5728\u524d\u9762\u6709\u5b9a\u4e49\u8fc7NO_DEV_RANDOM\uff0c\u8fd9\u65f6\u5019\u6211\u4eec\u9700\u8981\u81ea\u5df1\u5b9e\u73b0\u968f\u673a\u6570\u751f\u6210\u7684\u51fd\u6570\uff0c\u4e0d\u8fc7\u597d\u5728ESP32\u81ea\u5e26\u4e86\u786c\u4ef6\u968f\u673a\u6570\u53d1\u751f\u5668\uff0c\u6240\u4ee5\u5199\u8d77\u6765\u4e5f\u6bd4\u8f83\u7b80\u5355\uff1a<br \/>\n\u4fee\u6539wolfcrypt\/src\/random.c<br \/>\n\u627e\u5230\u5982\u4e0b\u4f4d\u7f6e\uff0c\u5728wc_GenerateSeed\u51fd\u6570\u91cc\u586b\u4e0a\u5177\u4f53\u5b9e\u73b0\u7684\u4ee3\u7801\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u662f\u6211\u7684\u5b9e\u73b0\uff0c\u4f60\u4e5f\u53ef\u4ee5\u81ea\u5df1\u5b9e\u73b0\uff0cesp_random()\u51fd\u6570\u4e00\u6b21\u80fd\u83b7\u5f974\u4e2a\u5b57\u8282\u968f\u673a\u6570\uff0c\u6211\u76f4\u63a5\u53ea\u7528\u6700\u4f4e\u5b57\u8282\uff0c\u65b9\u4fbf\u70b9\uff1a<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n...\r\n#elif defined(NO_DEV_RANDOM)\r\n\r\n    \/\/#error &quot;you need to write an os specific wc_GenerateSeed() here&quot;\r\n\r\n\r\n    int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz)\r\n    {\r\n    \tfor (int i=0;i&lt;sz;i++)\r\n    \t\toutput&#x5B;i] = esp_random()&amp;0xFF;\r\n\r\n        return 0;\r\n    }\r\n...\r\n<\/pre>\n<p>\u5b8c\u6210\u8fd9\u4e9b\u6b65\u9aa4\u4e4b\u540e\uff0c\u6211\u4eec\u7f16\u8bd1esp-idf\uff0c\u8fd9\u65f6\u5019wolfssl\u5e93\u5e94\u8be5\u5c31\u80fd\u6b63\u5e38\u7f16\u8bd1\u901a\u8fc7\u4e86\uff0c\u4f1a\u5728build\/wolfssl\u76ee\u5f55\u4e0b\u751f\u6210libwolfssl.a\uff0c\u8fd9\u65f6\u5019\u6211\u4eec\u5728\u81ea\u5df1\u7f16\u5199app\u7684\u65f6\u5019\u5c31\u53ef\u4ee5\u4f7f\u7528wolfssl\u76f8\u5173\u7684\u5934\u6587\u4ef6\u4e86\u3002<\/p>\n<p>\u6700\u540e\uff0c\u5982\u679capp\u8981\u5f15\u7528wolfssl\u7684\u8bdd\uff0c\u7f16\u8bd1\u5230wolfssl\u7684\u65f6\u5019\u53ef\u80fd\u4f1a\u62a5\u9519\u627e\u4e0d\u5230\u5934\u6587\u4ef6\uff0c\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u5728app\/main\u76ee\u5f55\u4e0b\u7684component.mk\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5982\u4e0b\u884c\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#\r\n# Main component makefile.\r\n#\r\n# This Makefile can be left empty. By default, it will take the sources in the \r\n# src\/ directory, compile them and link them into lib(subdirectory_name).a \r\n# in the build directory. This behaviour is entirely configurable,\r\n# please read the ESP-IDF documents if you need to do this.\r\n#\r\nCOMPONENT_PRIV_INCLUDEDIRS := ..\/..\/components\/freertos\/include\/freertos ..\/..\/components\/wolfssl\r\n\r\n<\/pre>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528wolfssl\u7684\u51fd\u6570\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea2015\u5e74ESP32\u53d1\u5e03\u4ee5\u540e\uff0c\u5b98\u65b9\u53f7\u79f0\u5f88\u725b\u903c\uff0c\u5173\u6ce8\u5ea6\u4e5f\u633a\u9ad8\uff0c\u4f46\u5b9e\u9645\u4e0a\u5462\uff0c\u6211\u4eec\u8fd9\u4e9b\u62ff\u5230\u82af\u7247\u5f00\u53d1\u7684\u7b2c\u4e00\u6279\u7528\u6237\u6765\u8bf4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[116,110,112,113,111,114,115],"class_list":["post-599","post","type-post","status-publish","format-standard","hentry","category-iot","category-5","tag-esp-idf","tag-esp32","tag-openssl","tag-ssl","tag-wolfssl","tag-114","tag-115"],"_links":{"self":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=599"}],"version-history":[{"count":14,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/599\/revisions"}],"predecessor-version":[{"id":614,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/599\/revisions\/614"}],"wp:attachment":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}