{"id":109768,"date":"2026-09-24T21:40:52","date_gmt":"2026-09-24T13:40:52","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/109768.html"},"modified":"2026-09-24T21:40:52","modified_gmt":"2026-09-24T13:40:52","slug":"esp32-webassembly-%e5%b0%8f%e5%ba%94%e7%94%a8%e6%9d%83%e9%99%90%e6%a8%a1%e5%9e%8b%ef%bc%9amanifest%e3%80%81api-%e6%a3%80%e6%9f%a5%e4%b8%8e%e8%b5%84%e6%ba%90%e9%85%8d%e9%a2%9d","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/109768.html","title":{"rendered":"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d"},"content":{"rendered":"<h3>\u6458\u8981<\/h3>\n<p>\u5728 ESP32 \u4e0a\u8fd0\u884c\u53ef\u72ec\u7acb\u5b89\u88c5\u7684 WebAssembly \u5c0f\u5e94\u7528\u65f6&#xff0c;\u53ea\u628a display\u3001touch\u3001storage \u5199\u8fdb Manifest&#xff0c;\u5e76\u4e0d\u80fd\u81ea\u52a8\u5f62\u6210\u5b89\u5168\u8fb9\u754c\u3002\u6743\u9650\u58f0\u660e\u5fc5\u987b\u7531\u5e94\u7528\u5305\u7b7e\u540d\u4fdd\u62a4&#xff0c;\u5e76\u5728\u5b89\u88c5\u6821\u9a8c\u3001WASM \u52a0\u8f7d\u3001\u4e8b\u4ef6\u5206\u53d1\u548c\u6bcf\u4e00\u6b21\u7cfb\u7edf API \u8c03\u7528\u4e2d\u771f\u6b63\u6267\u884c\u3002<\/p>\n<p>\u672c\u6587\u4ecb\u7ecd ESP Mini App Platform \u5f53\u524d\u6743\u9650\u6a21\u578b\u7684\u5b9e\u73b0\u601d\u8def&#xff0c;\u5305\u62ec\u5bfc\u5165\u9650\u5236\u3001\u663e\u793a\u4e0e\u89e6\u6478\u6743\u9650\u68c0\u67e5\u3001\u5e94\u7528\u72ec\u7acb NVS \u6570\u636e\u7a7a\u95f4\u3001\u6307\u4ee4\u548c\u7ed8\u56fe\u914d\u989d&#xff0c;\u4ee5\u53ca\u8fd9\u5957\u539f\u578b\u76ee\u524d\u4ecd\u7136\u5b58\u5728\u7684\u8fb9\u754c\u3002<\/p>\n<h3>1. \u4e3a\u4ec0\u4e48 ESP32 \u5c0f\u5e94\u7528\u4e5f\u9700\u8981\u6743\u9650<\/h3>\n<p>\u6743\u9650\u5e76\u4e0d\u53ea\u662f\u4e3a\u4e86\u9632\u8303\u6076\u610f\u7a0b\u5e8f\u3002\u5728\u5fae\u63a7\u5236\u5668\u4e0a&#xff0c;\u66f4\u5e38\u89c1\u7684\u98ce\u9669\u662f\u666e\u901a\u4ee3\u7801\u9519\u8bef&#xff1a;<\/p>\n<ul>\n<li>\u5750\u6807\u8ba1\u7b97\u9519\u8bef&#xff0c;\u7ed8\u56fe\u8d8a\u8fc7\u5e94\u7528\u753b\u5e03&#xff1b;<\/li>\n<li>\u9519\u8bef\u7684\u5185\u5b58\u504f\u79fb\u88ab\u4f20\u7ed9\u539f\u751f\u51fd\u6570&#xff1b;<\/li>\n<li>\u6b7b\u5faa\u73af\u6216\u8fc7\u957f\u8ba1\u7b97\u6301\u7eed\u5360\u7528 CPU&#xff1b;<\/li>\n<li>\u9ad8\u9891\u5199\u5165\u4e0d\u65ad\u6d88\u8017 Flash \u64e6\u5199\u5bff\u547d&#xff1b;<\/li>\n<li>\u4e00\u4e2a\u5e94\u7528\u8bbf\u95ee\u4e86\u53e6\u4e00\u4e2a\u5e94\u7528\u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u5f53\u7cfb\u7edf\u9996\u9875\u3001\u89e6\u6478\u9a71\u52a8\u3001\u7f51\u7edc\u3001\u5b58\u50a8\u548c\u591a\u4e2a\u5e94\u7528\u5171\u7528\u540c\u4e00\u9897 MCU \u65f6&#xff0c;\u4e00\u4e2a\u5e94\u7528\u5931\u63a7\u5c31\u53ef\u80fd\u62d6\u7d2f\u6574\u53f0\u8bbe\u5907\u3002<\/p>\n<p>\u56e0\u6b64&#xff0c;\u8fd9\u4e2a\u5e73\u53f0\u628a\u9650\u5236\u5206\u6210\u4e24\u7c7b&#xff1a;<\/p>\n<li>\u6743\u9650&#xff1a;\u51b3\u5b9a\u5e94\u7528\u80fd\u5426\u4f7f\u7528\u67d0\u9879\u80fd\u529b\u3002<\/li>\n<li>\u914d\u989d&#xff1a;\u51b3\u5b9a\u5b83\u6700\u591a\u80fd\u6d88\u8017\u591a\u5c11\u8d44\u6e90\u3002<\/li>\n<p>\u53ef\u4ee5\u628a\u6838\u5fc3\u5224\u65ad\u6982\u62ec\u4e3a&#xff1a;\u6743\u9650\u56de\u7b54\u201c\u80fd\u4e0d\u80fd\u505a\u201d&#xff0c;\u914d\u989d\u56de\u7b54\u201c\u6700\u591a\u80fd\u505a\u591a\u5c11\u201d\u3002<\/p>\n<h3>2. Manifest \u662f\u6743\u9650\u7533\u8bf7\u8868&#xff0c;\u4e0d\u662f\u6267\u884c\u5668<\/h3>\n<p>\u5f53\u524d\u5e94\u7528\u5305\u53ef\u4ee5\u58f0\u660e\u4e09\u79cd\u6743\u9650&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;permissions&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;display&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;touch&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;storage&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<ul>\n<li>display&#xff1a;\u4f7f\u7528\u6e05\u5c4f\u3001\u77e9\u5f62\u548c\u6587\u5b57\u7ed8\u5236 API&#xff1b;<\/li>\n<li>touch&#xff1a;\u63a5\u6536\u5e73\u53f0\u5206\u53d1\u7684\u89e6\u6478\u91ca\u653e\u4e8b\u4ef6&#xff1b;<\/li>\n<li>storage&#xff1a;\u8bbf\u95ee\u8be5\u5e94\u7528\u81ea\u5df1\u7684\u952e\u503c\u6570\u636e\u7a7a\u95f4\u3002<\/li>\n<\/ul>\n<p>Manifest \u4f1a\u4e0e WASM \u4e00\u8d77\u6253\u8fdb .app&#xff0c;Manifest \u672c\u8eab\u7531 P-256 ECDSA \u79c1\u94a5\u7b7e\u540d\u3002\u6743\u9650\u5217\u8868\u56e0\u6b64\u4e5f\u5c5e\u4e8e\u7b7e\u540d\u5185\u5bb9&#xff0c;\u5305\u751f\u6210\u4ee5\u540e\u4e0d\u80fd\u5728\u4e0d\u7834\u574f\u7b7e\u540d\u7684\u60c5\u51b5\u4e0b\u589e\u52a0\u6743\u9650\u3002<\/p>\n<p>\u8bbe\u5907\u5b89\u88c5\u65f6\u8fd8\u4f1a\u68c0\u67e5\u6743\u9650\u6570\u7ec4&#xff1a;\u672a\u77e5\u6743\u9650\u3001\u91cd\u590d\u6743\u9650\u548c\u4e0d\u652f\u6301\u7684\u5b57\u6bb5\u90fd\u4f1a\u88ab\u62d2\u7edd\u3002\u4e0d\u8fc7&#xff0c;\u8fd9\u4e00\u6b65\u53ea\u8bc1\u660e\u201c\u7533\u8bf7\u8868\u6709\u6548\u201d\u3002\u771f\u6b63\u7684\u6267\u884c\u4ecd\u7136\u8981\u843d\u5728\u5e73\u53f0\u4ee3\u7801\u4e2d\u3002<\/p>\n<h3>3. \u6743\u9650\u6a21\u578b\u7684\u6574\u4f53\u7ed3\u6784<\/h3>\n<p>\u5f53\u524d\u94fe\u8def\u53ef\u4ee5\u8868\u793a\u4e3a&#xff1a;<\/p>\n<p>\u7b7e\u540d .app<br \/>\n   \u2193<br \/>\n\u9a8c\u8bc1 Manifest \u4e0e permissions<br \/>\n   \u2193<br \/>\n\u68c0\u67e5 WASM \u5bfc\u5165\u3001\u5185\u5b58\u548c\u5165\u53e3\u7ea6\u675f<br \/>\n   \u2193<br \/>\n\u542f\u52a8 WAMR \u5b9e\u4f8b<br \/>\n   \u2193<br \/>\n\u4e8b\u4ef6\u5206\u53d1\u4e0e\u6bcf\u4e00\u6b21\u7cfb\u7edf API \u8c03\u7528\u518d\u6b21\u68c0\u67e5\u6743\u9650<br \/>\n   \u2193<br \/>\n\u68c0\u67e5\u53c2\u6570\u3001\u5730\u5740\u3001\u5750\u6807\u548c\u8d44\u6e90\u914d\u989d<\/p>\n<p>\u6743\u9650\u4e0d\u662f\u96c6\u4e2d\u5728\u4e00\u4e2a\u51fd\u6570\u91cc\u5b8c\u6210\u7684&#xff0c;\u800c\u662f\u8d2f\u7a7f\u5e94\u7528\u5305\u3001\u52a0\u8f7d\u5668\u3001Runtime\u3001\u7cfb\u7edf API \u548c\u5b58\u50a8\u540e\u7aef\u3002<\/p>\n<h3>4. \u7b2c\u4e00\u5c42\u9650\u5236&#xff1a;\u53ea\u516c\u5f00\u6700\u5c0f\u7cfb\u7edf API<\/h3>\n<p>\u666e\u901a ESP-IDF \u7a0b\u5e8f\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528 GPIO\u3001I\u00b2C\u3001SPI\u3001\u6587\u4ef6\u7cfb\u7edf\u548c\u7f51\u7edc\u63a5\u53e3\u3002\u5f53\u524d WASM ABI v1 \u4e0d\u628a\u8fd9\u4e9b\u539f\u751f\u80fd\u529b\u76f4\u63a5\u4ea4\u7ed9\u5e94\u7528\u3002<\/p>\n<p>\u5e94\u7528\u53ea\u80fd\u5bfc\u5165\u5e73\u53f0\u6ce8\u518c\u7684\u51fd\u6570&#xff1a;<\/p>\n<p>clear<br \/>\nrect<br \/>\ntext<br \/>\nmillis<br \/>\nkv_get<br \/>\nkv_set<\/p>\n<p>\u5e73\u53f0\u4e0d\u5f00\u653e WASI\u3001\u7ebf\u7a0b\u3001\u539f\u751f GPIO\u3001LVGL \u5bf9\u8c61\u3001\u9a71\u52a8\u53e5\u67c4\u548c\u539f\u751f\u5730\u5740\u3002WASM \u6a21\u5757\u7684 Import Section \u76ee\u524d\u53ea\u5141\u8bb8\u51fd\u6570\u5bfc\u5165&#xff1b;\u5bfc\u5165\u5185\u5b58\u3001\u8868\u3001\u5168\u5c40\u53d8\u91cf\u6216\u672a\u77e5\u51fd\u6570\u90fd\u4f1a\u5728\u52a0\u8f7d\u9636\u6bb5\u5931\u8d25\u3002<\/p>\n<p>\u8fd9\u79cd\u505a\u6cd5\u7684\u91cd\u70b9\u4e0d\u662f\u63a5\u53e3\u5c11&#xff0c;\u800c\u662f\u8ba9\u6240\u6709\u786c\u4ef6\u4ea4\u4e92\u90fd\u7ecf\u8fc7\u53ef\u68c0\u67e5\u7684\u5165\u53e3\u3002<\/p>\n<h3>5. \u7b2c\u4e8c\u5c42\u9650\u5236&#xff1a;\u6bcf\u4e00\u6b21\u8c03\u7528\u90fd\u68c0\u67e5\u6743\u9650<\/h3>\n<h4>5.1 \u663e\u793a\u6743\u9650<\/h4>\n<p>\u7ed8\u56fe API \u8c03\u7528\u524d\u5148\u68c0\u67e5 PERM_DISPLAY&#xff0c;\u540c\u65f6\u7edf\u8ba1\u672c\u6b21\u5165\u53e3\u5df2\u7ecf\u4f7f\u7528\u7684\u7ed8\u56fe\u6b21\u6570&#xff1a;<\/p>\n<p><span class=\"token keyword\">static<\/span> bool <span class=\"token function\">allowed<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">wasm_exec_env_t<\/span> env<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token punctuation\">(<\/span>permissions <span class=\"token operator\">&amp;<\/span> PERM_DISPLAY<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">||<\/span> <span class=\"token operator\">&#043;&#043;<\/span>draw_calls <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">96<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token function\">wasm_runtime_set_exception<\/span><span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token function\">wasm_runtime_get_module_inst<\/span><span class=\"token punctuation\">(<\/span>env<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;display permission\/quota exceeded&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> false<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> true<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u5373\u4f7f\u62e5\u6709\u663e\u793a\u6743\u9650&#xff0c;\u53c2\u6570\u4e5f\u5fc5\u987b\u7ee7\u7eed\u6821\u9a8c&#xff1a;<\/p>\n<ul>\n<li>rect \u7684\u5750\u6807\u548c\u5c3a\u5bf8\u4e0d\u80fd\u8d8a\u8fc7 480\u00d7400 \u5e94\u7528\u753b\u5e03&#xff1b;<\/li>\n<li>text \u6700\u591a\u63a5\u6536 160 \u5b57\u8282&#xff1b;<\/li>\n<li>\u6587\u672c\u504f\u79fb\u548c\u957f\u5ea6\u5fc5\u987b\u843d\u5728\u5f53\u524d WASM \u5b9e\u4f8b\u7684\u7ebf\u6027\u5185\u5b58\u4e2d&#xff1b;<\/li>\n<li>\u68c0\u67e5\u901a\u8fc7\u540e&#xff0c;\u5e73\u53f0\u624d\u628a\u6587\u672c\u590d\u5236\u5230\u53d7\u63a7\u7f13\u51b2\u533a\u3002<\/li>\n<\/ul>\n<h4>5.2 \u89e6\u6478\u6743\u9650<\/h4>\n<p>\u5e94\u7528\u4e0d\u80fd\u76f4\u63a5\u8bfb\u53d6\u89e6\u6478\u63a7\u5236\u5668\u3002\u89e6\u6478\u5148\u7531\u7cfb\u7edf\u8bfb\u53d6&#xff0c;\u518d\u7531 Runtime \u51b3\u5b9a\u662f\u5426\u5206\u53d1\u4e8b\u4ef6&#xff1a;<\/p>\n<p><span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>state <span class=\"token operator\">!&#061;<\/span> APP_RUNNING <span class=\"token operator\">||<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span>event <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token number\">2<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token operator\">!<\/span><span class=\"token punctuation\">(<\/span>permissions <span class=\"token operator\">&amp;<\/span> PERM_TOUCH<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u5176\u4e2d\u4e8b\u4ef6 2 \u8868\u793a\u89e6\u6478\u91ca\u653e\u3002\u6ca1\u6709 touch \u6743\u9650\u65f6&#xff0c;\u5750\u6807\u4e0d\u4f1a\u8fdb\u5165\u5e94\u7528\u7684 app_event()\u3002<\/p>\n<h4>5.3 \u5b58\u50a8\u6743\u9650<\/h4>\n<p>\u53ea\u6709\u58f0\u660e storage \u7684\u5e94\u7528&#xff0c;\u542f\u52a8\u65f6\u624d\u4f1a\u6253\u5f00\u81ea\u5df1\u7684 NVS \u53e5\u67c4\u3002kv_get \u548c kv_set \u7684\u5165\u53e3\u4e5f\u4f1a\u518d\u6b21\u68c0\u67e5\u6743\u9650&#xff1a;<\/p>\n<p><span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token operator\">!<\/span><span class=\"token punctuation\">(<\/span>permissions <span class=\"token operator\">&amp;<\/span> PERM_STORAGE<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">||<\/span> <span class=\"token operator\">!<\/span>data_handle<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">wasm_runtime_set_exception<\/span><span class=\"token punctuation\">(<\/span>instance<span class=\"token punctuation\">,<\/span><br \/>\n                               <span class=\"token string\">&#034;storage permission denied&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6bcf\u4e2a\u5e94\u7528\u7684\u6570\u636e\u7a7a\u95f4\u7531\u5e94\u7528 ID \u6620\u5c04\u4e3a\u72ec\u7acb NVS namespace&#xff0c;\u5e76\u989d\u5916\u4fdd\u5b58\u539f\u59cb ID \u6821\u9a8c\u5f52\u5c5e\u3002\u5982\u679c\u53d1\u751f\u547d\u540d\u7a7a\u95f4\u6620\u5c04\u51b2\u7a81&#xff0c;\u5e73\u53f0\u4f1a\u62d2\u7edd\u6253\u5f00&#xff0c;\u800c\u4e0d\u4f1a\u4ea4\u51fa\u53e6\u4e00\u4e2a\u5e94\u7528\u7684\u6570\u636e\u3002<\/p>\n<p>\u5b58\u50a8\u63a5\u53e3\u4e0d\u63a5\u53d7\u4efb\u610f\u6587\u4ef6\u8def\u5f84&#xff0c;\u53ea\u63a5\u53d7\u53d7\u9650\u952e\u540d\u548c\u4f4d\u4e8e WASM \u7ebf\u6027\u5185\u5b58\u4e2d\u7684\u7f13\u51b2\u533a\u3002<\/p>\n<h3>6. \u8d44\u6e90\u914d\u989d&#xff1a;\u6709\u6743\u9650\u4e5f\u4e0d\u80fd\u65e0\u9650\u4f7f\u7528<\/h3>\n<p>\u5f53\u524d\u7248\u672c\u8bbe\u7f6e\u4e86\u4ee5\u4e0b\u8fb9\u754c&#xff1a;<\/p>\n<table>\n<tr>\u8d44\u6e90\u5f53\u524d\u9650\u5236\u76ee\u7684<\/tr>\n<tbody>\n<tr>\n<td>WASM \u6307\u4ee4<\/td>\n<td align=\"right\">\u6bcf\u6b21 app_init() \u6216 app_event() \u6700\u591a 50000 \u6761<\/td>\n<td>\u907f\u514d\u5355\u6b21\u56de\u8c03\u957f\u671f\u5360\u7528 CPU<\/td>\n<\/tr>\n<tr>\n<td>\u7ed8\u56fe\u8c03\u7528<\/td>\n<td align=\"right\">\u6bcf\u6b21\u5165\u53e3\u6700\u591a 96 \u6b21<\/td>\n<td>\u907f\u514d\u65e0\u9650\u63d0\u4ea4\u7ed8\u5236\u8bf7\u6c42<\/td>\n<\/tr>\n<tr>\n<td>\u7ebf\u6027\u5185\u5b58<\/td>\n<td align=\"right\">\u6700\u591a 4 \u9875&#xff0c;\u5373 256 KiB<\/td>\n<td>\u9650\u5236\u5355\u5e94\u7528\u5185\u5b58\u5360\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u672c\u53c2\u6570<\/td>\n<td align=\"right\">\u6700\u591a 160 \u5b57\u8282<\/td>\n<td>\u9650\u5236\u539f\u751f\u7f13\u51b2\u533a\u4f7f\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u5355\u4e2a\u5b58\u50a8\u503c<\/td>\n<td align=\"right\">\u6700\u591a 128 \u5b57\u8282<\/td>\n<td>\u9650\u5236\u6570\u636e\u89c4\u6a21<\/td>\n<\/tr>\n<tr>\n<td>\u952e\u6570\u91cf<\/td>\n<td align=\"right\">\u6bcf\u4e2a\u5e94\u7528\u6700\u591a 8 \u4e2a<\/td>\n<td>\u9632\u6b62\u8017\u5c3d NVS \u6761\u76ee<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u5165\u9891\u7387<\/td>\n<td align=\"right\">\u6574\u4e2a Runtime \u6bcf\u79d2\u6700\u591a 4 \u6b21\u6709\u6548\u5199\u5165<\/td>\n<td>\u63a7\u5236 Flash \u5199\u5165\u538b\u529b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u76f8\u540c\u5185\u5bb9\u7684\u91cd\u590d\u5199\u5165\u4e0d\u4f1a\u771f\u6b63\u843d\u76d8\u3002NVS \u5269\u4f59\u6761\u76ee\u5c11\u4e8e\u5b89\u5168\u9608\u503c\u65f6&#xff0c;\u5e73\u53f0\u4e5f\u4f1a\u62d2\u7edd\u5e94\u7528\u7ee7\u7eed\u5199\u5165&#xff0c;\u4e3a\u7cfb\u7edf\u6570\u636e\u4fdd\u7559\u7a7a\u95f4\u3002<\/p>\n<p>\u5982\u679c WASM \u8d85\u8fc7\u6307\u4ee4\u9884\u7b97&#xff0c;WAMR \u4f1a\u7ec8\u6b62\u6267\u884c&#xff1b;\u5982\u679c\u51fa\u73b0\u8d8a\u754c\u5730\u5740\u3001\u672a\u6388\u6743\u8c03\u7528\u6216\u65e0\u6548\u53c2\u6570&#xff0c;\u5e73\u53f0\u4f1a\u8bbe\u7f6e\u5f02\u5e38\u5e76\u505c\u6b62\u5f53\u524d\u5e94\u7528&#xff0c;\u968f\u540e\u91ca\u653e\u6a21\u5757\u5b9e\u4f8b\u3001\u6267\u884c\u73af\u5883\u548c\u6570\u636e\u53e5\u67c4\u3002<\/p>\n<h3>7. Snake \u5e94\u7528\u4e2d\u7684\u5b9e\u9645\u8c03\u7528\u94fe<\/h3>\n<p>Snake \u540c\u65f6\u58f0\u660e\u4e86 display\u3001touch \u548c storage&#xff0c;\u53ef\u4ee5\u8986\u76d6\u5b8c\u6574\u94fe\u8def&#xff1a;<\/p>\n<li>\u542f\u52a8\u65f6\u901a\u8fc7\u663e\u793a API \u7ed8\u5236\u86c7\u8eab\u3001\u98df\u7269\u548c\u5206\u6570&#xff1b;<\/li>\n<li>\u5e73\u53f0\u68c0\u67e5\u663e\u793a\u6743\u9650\u3001\u5750\u6807\u548c\u7ed8\u56fe\u6b21\u6570&#xff1b;<\/li>\n<li>\u7528\u6237\u89e6\u6478\u540e&#xff0c;\u7cfb\u7edf\u8bfb\u53d6\u5750\u6807\u5e76\u786e\u8ba4\u89e6\u6478\u6743\u9650&#xff1b;<\/li>\n<li>Runtime \u628a\u89e6\u6478\u91ca\u653e\u4e8b\u4ef6\u4ea4\u7ed9 app_event()&#xff1b;<\/li>\n<li>\u6700\u9ad8\u5206\u53d8\u5316\u65f6&#xff0c;Snake \u8c03\u7528 kv_set(&#034;best&#034;, &#8230;)&#xff1b;<\/li>\n<li>\u5e73\u53f0\u68c0\u67e5\u5b58\u50a8\u6743\u9650\u3001\u952e\u540d\u3001\u5730\u5740\u3001\u957f\u5ea6\u3001\u952e\u6570\u91cf\u548c\u5199\u5165\u989d\u5ea6&#xff1b;<\/li>\n<li>\u6570\u636e\u5199\u5165 Snake \u81ea\u5df1\u7684 NVS namespace\u3002<\/li>\n<p>\u5982\u679c\u4ece Manifest \u4e2d\u79fb\u9664 storage&#xff0c;\u4f46\u7a0b\u5e8f\u4ecd\u7136\u8c03\u7528 kv_set&#xff0c;\u8bbe\u5907\u4f1a\u4ea7\u751f storage permission denied \u5f02\u5e38\u3002\u51fd\u6570\u88ab\u7f16\u8bd1\u8fdb WASM&#xff0c;\u5e76\u4e0d\u4ee3\u8868\u5e94\u7528\u80fd\u591f\u7ed5\u8fc7\u6743\u9650\u58f0\u660e\u3002<\/p>\n<h3>8. WASM \u9694\u79bb\u4e0e\u7cfb\u7edf API \u8fb9\u754c\u7684\u5173\u7cfb<\/h3>\n<p>WASM \u7ebf\u6027\u5185\u5b58\u8ba9\u5e94\u7528\u4e0d\u80fd\u50cf\u539f\u751f C \u7a0b\u5e8f\u90a3\u6837\u968f\u610f\u6784\u9020\u5730\u5740\u8bbf\u95ee\u7cfb\u7edf\u5185\u5b58&#xff0c;WAMR \u63d0\u4f9b\u6a21\u5757\u52a0\u8f7d\u3001\u5b9e\u4f8b\u5316\u548c\u5f02\u5e38\u673a\u5236\u3002<\/p>\n<p>\u4f46 WASM \u672c\u8eab\u4e0d\u77e5\u9053\u753b\u5e03\u5c3a\u5bf8&#xff0c;\u4e5f\u4e0d\u77e5\u9053 Flash \u7684\u5199\u5165\u5bff\u547d\u3002\u5bbf\u4e3b\u4e00\u65e6\u5f00\u653e\u67d0\u9879\u80fd\u529b&#xff0c;\u5b83\u7684\u5177\u4f53\u8fb9\u754c\u4ecd\u7531\u7cfb\u7edf API \u51b3\u5b9a\u3002<\/p>\n<p>WASM \/ WAMR&#xff1a;\u9694\u79bb\u4ee3\u7801\u4e0e\u7ebf\u6027\u5185\u5b58<br \/>\n\u7cfb\u7edf API&#xff1a;\u68c0\u67e5\u6743\u9650\u3001\u53c2\u6570\u3001\u8d44\u6e90\u914d\u989d\u548c\u786c\u4ef6\u8bbf\u95ee<\/p>\n<p>\u4e24\u5c42\u9700\u8981\u540c\u65f6\u5b58\u5728\u3002\u53ea\u4f7f\u7528 WASM \u800c\u6ca1\u6709\u53d7\u9650\u5bbf\u4e3b API&#xff0c;\u4ecd\u53ef\u80fd\u628a\u5371\u9669\u80fd\u529b\u76f4\u63a5\u66b4\u9732\u7ed9\u5e94\u7528&#xff1b;\u53ea\u6709 API \u68c0\u67e5\u800c\u6ca1\u6709\u5185\u5b58\u9694\u79bb&#xff0c;\u53c8\u5f88\u96be\u5b89\u5168\u63a5\u6536\u5e94\u7528\u4f20\u6765\u7684\u5730\u5740\u3002<\/p>\n<h3>9. \u5f53\u524d\u5b9e\u73b0\u8fb9\u754c<\/h3>\n<p>\u8fd9\u5957\u6743\u9650\u6a21\u578b\u4ecd\u5904\u4e8e\u5de5\u7a0b\u539f\u578b\u9636\u6bb5&#xff1a;<\/p>\n<ul>\n<li>\u5f53\u524d\u53ea\u6709 display\u3001touch \u548c storage&#xff1b;<\/li>\n<li>\u7f51\u7edc\u3001GPIO\u3001I\u00b2C\u3001SPI\u3001\u97f3\u9891\u548c\u4f20\u611f\u5668\u6ca1\u6709\u76f4\u63a5\u5f00\u653e\u7ed9\u5e94\u7528&#xff1b;<\/li>\n<li>\u6743\u9650\u5728\u6784\u5efa\u9636\u6bb5\u5199\u5165 Manifest&#xff0c;\u8bbe\u5907\u6682\u65f6\u6ca1\u6709\u9996\u6b21\u8c03\u7528\u5f39\u7a97\u3001\u52a8\u6001\u6388\u6743\u548c\u5355\u9879\u64a4\u9500&#xff1b;<\/li>\n<li>\u5f53\u524d\u673a\u5236\u4f9d\u8d56\u7b7e\u540d\u5305\u3001WAMR\u3001\u52a0\u8f7d\u7b56\u7565\u3001API \u68c0\u67e5\u548c\u914d\u989d\u5171\u540c\u5de5\u4f5c&#xff1b;<\/li>\n<li>\u5b83\u4e0d\u80fd\u7b80\u5355\u7b49\u540c\u4e8e\u684c\u9762\u6216\u624b\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u8fdb\u7a0b\u6c99\u7bb1\u3002<\/li>\n<\/ul>\n<p>\u5f53\u524d\u601d\u8def\u662f\u5148\u628a\u6bcf\u4e00\u79cd\u80fd\u529b\u7684\u5165\u53e3\u548c\u9650\u5236\u505a\u6e05\u695a&#xff0c;\u518d\u6839\u636e\u771f\u5b9e\u5e94\u7528\u9700\u6c42\u6269\u5c55\u6743\u9650&#xff0c;\u800c\u4e0d\u662f\u5148\u5217\u51fa\u5927\u91cf\u6ca1\u6709\u5b9e\u9645\u6267\u884c\u903b\u8f91\u7684\u6743\u9650\u540d\u79f0\u3002<\/p>\n<h3>10. \u603b\u7ed3<\/h3>\n<p>\u4e00\u4e2a\u53ef\u6267\u884c\u7684\u6743\u9650\u6a21\u578b\u81f3\u5c11\u9700\u8981\u56db\u4e2a\u90e8\u5206&#xff1a;<\/p>\n<li>\u6743\u9650\u58f0\u660e\u88ab\u5e94\u7528\u5305\u7b7e\u540d\u4fdd\u62a4&#xff1b;<\/li>\n<li>\u52a0\u8f7d\u9636\u6bb5\u53ea\u5141\u8bb8\u53d7\u63a7\u5bfc\u5165\u548c\u5185\u5b58\u7ed3\u6784&#xff1b;<\/li>\n<li>\u6bcf\u6b21 API \u8c03\u7528\u548c\u4e8b\u4ef6\u5206\u53d1\u90fd\u68c0\u67e5\u6743\u9650&#xff1b;<\/li>\n<li>\u5bf9\u6307\u4ee4\u3001\u7ed8\u56fe\u3001\u5185\u5b58\u548c\u5b58\u50a8\u7ee7\u7eed\u8bbe\u7f6e\u914d\u989d\u3002<\/li>\n<p>Manifest \u8d1f\u8d23\u63cf\u8ff0&#xff0c;\u5e73\u53f0\u8d1f\u8d23\u6267\u884c\u3002\u53ea\u6709\u4e24\u8005\u8fde\u8d77\u6765&#xff0c;permissions \u624d\u4e0d\u662f\u4e00\u6bb5\u5c55\u793a\u6587\u5b57\u3002<\/p>\n<p>\u4e0b\u4e00\u7bc7\u5c06\u7ee7\u7eed\u8ba8\u8bba\u72ec\u7acb\u5b58\u50a8&#xff1a;\u591a\u4e2a\u5e94\u7528\u5171\u7528\u4e00\u5757 Flash \u65f6&#xff0c;\u5982\u4f55\u4f7f\u7528\u5e94\u7528 ID\u3001NVS namespace\u3001\u952e\u6570\u91cf\u548c\u5199\u5165\u989d\u5ea6\u907f\u514d\u6570\u636e\u4e92\u76f8\u8986\u76d6\u3002<\/p>\n<h3>\u6807\u7b7e<\/h3>\n<p>ESP32 WebAssembly WAMR \u5d4c\u5165\u5f0f\u5f00\u53d1 \u6743\u9650\u6a21\u578b \u7cfb\u7edfAPI Manifest NVS \u8f6f\u4ef6\u67b6\u6784 \u7269\u8054\u7f51<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981<br \/>\n\u5728 ESP32 \u4e0a\u8fd0\u884c\u53ef\u72ec\u7acb\u5b89\u88c5\u7684 WebAssembly \u5c0f\u5e94\u7528\u65f6&#xff0c;\u53ea\u628a display\u3001touch\u3001storage \u5199\u8fdb Manifest&#xff0c;\u5e76\u4e0d\u80fd\u81ea\u52a8\u5f62\u6210\u5b89\u5168\u8fb9\u754c\u3002\u6743\u9650\u58f0\u660e\u5fc5\u987b\u7531\u5e94\u7528\u5305\u7b7e\u540d\u4fdd\u62a4&#xff0c;\u5e76\u5728\u5b89\u88c5\u6821\u9a8c\u3001WASM \u52a0\u8f7d\u3001\u4e8b\u4ef6\u5206\u53d1\u548c\u6bcf\u4e00\u6b21\u7cfb\u7edf API \u8c03\u7528\u4e2d\u771f\u6b63\u6267\u884c\u3002<br \/>\n\u672c\u6587\u4ecb\u7ecd ESP Mini App Platform \u5f53\u524d\u6743\u9650\u6a21\u578b\u7684\u5b9e\u73b0\u601d\u8def&#xff0c;\u5305\u62ec\u5bfc\u5165\u9650\u5236\u3001\u663e\u793a\u4e0e\u89e6\u6478\u6743\u9650\u68c0\u67e5\u3001\u5e94\u7528\u72ec\u7acb NVS \u6570\u636e\u7a7a\u95f4\u3001\u6307<\/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":[11653,270,269,220],"topic":[],"class_list":["post-109768","post","type-post","status-publish","format-standard","hentry","category-server","tag-11653","tag-270","tag-269","tag-220"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \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\/109768.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981 \u5728 ESP32 \u4e0a\u8fd0\u884c\u53ef\u72ec\u7acb\u5b89\u88c5\u7684 WebAssembly \u5c0f\u5e94\u7528\u65f6&#xff0c;\u53ea\u628a display\u3001touch\u3001storage \u5199\u8fdb Manifest&#xff0c;\u5e76\u4e0d\u80fd\u81ea\u52a8\u5f62\u6210\u5b89\u5168\u8fb9\u754c\u3002\u6743\u9650\u58f0\u660e\u5fc5\u987b\u7531\u5e94\u7528\u5305\u7b7e\u540d\u4fdd\u62a4&#xff0c;\u5e76\u5728\u5b89\u88c5\u6821\u9a8c\u3001WASM \u52a0\u8f7d\u3001\u4e8b\u4ef6\u5206\u53d1\u548c\u6bcf\u4e00\u6b21\u7cfb\u7edf API \u8c03\u7528\u4e2d\u771f\u6b63\u6267\u884c\u3002 \u672c\u6587\u4ecb\u7ecd ESP Mini App Platform \u5f53\u524d\u6743\u9650\u6a21\u578b\u7684\u5b9e\u73b0\u601d\u8def&#xff0c;\u5305\u62ec\u5bfc\u5165\u9650\u5236\u3001\u663e\u793a\u4e0e\u89e6\u6478\u6743\u9650\u68c0\u67e5\u3001\u5e94\u7528\u72ec\u7acb NVS \u6570\u636e\u7a7a\u95f4\u3001\u6307\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/109768.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-24T13:40:52+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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109768.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/109768.html\",\"name\":\"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-24T13:40:52+00:00\",\"dateModified\":\"2026-09-24T13:40:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/109768.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/109768.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109768.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d\"}]},{\"@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":"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \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\/109768.html","og_locale":"zh_CN","og_type":"article","og_title":"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981 \u5728 ESP32 \u4e0a\u8fd0\u884c\u53ef\u72ec\u7acb\u5b89\u88c5\u7684 WebAssembly \u5c0f\u5e94\u7528\u65f6&#xff0c;\u53ea\u628a display\u3001touch\u3001storage \u5199\u8fdb Manifest&#xff0c;\u5e76\u4e0d\u80fd\u81ea\u52a8\u5f62\u6210\u5b89\u5168\u8fb9\u754c\u3002\u6743\u9650\u58f0\u660e\u5fc5\u987b\u7531\u5e94\u7528\u5305\u7b7e\u540d\u4fdd\u62a4&#xff0c;\u5e76\u5728\u5b89\u88c5\u6821\u9a8c\u3001WASM \u52a0\u8f7d\u3001\u4e8b\u4ef6\u5206\u53d1\u548c\u6bcf\u4e00\u6b21\u7cfb\u7edf API \u8c03\u7528\u4e2d\u771f\u6b63\u6267\u884c\u3002 \u672c\u6587\u4ecb\u7ecd ESP Mini App Platform \u5f53\u524d\u6743\u9650\u6a21\u578b\u7684\u5b9e\u73b0\u601d\u8def&#xff0c;\u5305\u62ec\u5bfc\u5165\u9650\u5236\u3001\u663e\u793a\u4e0e\u89e6\u6478\u6743\u9650\u68c0\u67e5\u3001\u5e94\u7528\u72ec\u7acb NVS \u6570\u636e\u7a7a\u95f4\u3001\u6307","og_url":"https:\/\/www.wsisp.com\/helps\/109768.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-24T13:40:52+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/109768.html","url":"https:\/\/www.wsisp.com\/helps\/109768.html","name":"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-24T13:40:52+00:00","dateModified":"2026-09-24T13:40:52+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/109768.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/109768.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/109768.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ESP32 WebAssembly \u5c0f\u5e94\u7528\u6743\u9650\u6a21\u578b\uff1aManifest\u3001API \u68c0\u67e5\u4e0e\u8d44\u6e90\u914d\u989d"}]},{"@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\/109768","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=109768"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109768\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=109768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=109768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=109768"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=109768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}