{"id":107312,"date":"2026-09-19T11:24:48","date_gmt":"2026-09-19T03:24:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107312.html"},"modified":"2026-09-19T11:24:48","modified_gmt":"2026-09-19T03:24:48","slug":"matter-%e7%82%b9%e7%81%af%e5%ae%9e%e6%88%98%ef%bc%9alight_bulb-%e6%a0%b7%e4%be%8b%e4%bb%8e-main-%e5%88%b0-led-%e5%85%a8%e9%93%be%e8%b7%af%e6%ba%90%e7%a0%81%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107312.html","title":{"rendered":"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790"},"content":{"rendered":"<p>\u4e0a\u4e00\u7bc7\u628a\u6570\u636e\u6a21\u578b\u548c ZAP \u751f\u6210\u8bb2\u6e05\u695a\u4e86&#xff0c;\u8fd9\u4e00\u7bc7\u5c31\u987a\u7740\u90a3\u6761\u7ebf\u5f80\u4e0b\u8d70&#xff1a;\u4e00\u4e2a Matter \u706f\u6ce1\u6837\u4f8b\u8dd1\u8d77\u6765\u4e4b\u540e&#xff0c;\u4ece main() \u5230\u677f\u4e0a LED \u4eae\u8d77\u6765&#xff0c;\u4e2d\u95f4\u5230\u5e95\u7ecf\u8fc7\u54ea\u4e9b\u73af\u8282\u3002<\/p>\n<p>\u6837\u4f8b\u662f NCS v3.3.0 \u7684 nrf\/samples\/matter\/light_bulb\u3002\u5efa\u8bae\u8fb9\u770b\u6587\u7ae0\u8fb9\u628a\u5de5\u7a0b\u6253\u5f00&#xff0c;\u5bf9\u7740\u6e90\u7801\u8d70\u4e00\u904d&#xff0c;\u6bd4\u5e72\u8bfb\u5f3a\u5f97\u591a\u3002<\/p>\n<h3 id=\"_1\">\u5148\u770b\u5de5\u7a0b\u957f\u4ec0\u4e48\u6837<\/h3>\n<p>\u76ee\u5f55\u7ed3\u6784\u4e0d\u957f&#xff1a;<\/p>\n<p>light_bulb\/<br \/>\n\u251c\u2500\u2500 prj.conf \/ prj_release.conf \/ sysbuild.conf<br \/>\n\u251c\u2500\u2500 CMakeLists.txt<br \/>\n\u251c\u2500\u2500 pm_static_nrf54l15dk_nrf54l15_cpuapp.yml   \u2190 \u5206\u533a\u8868<br \/>\n\u251c\u2500\u2500 sample.yaml                                 \u2190 \u652f\u6301\u7684\u677f<br \/>\n\u2514\u2500\u2500 src\/<br \/>\n    \u251c\u2500\u2500 main.cpp                \u2190 \u5165\u53e3<br \/>\n    \u251c\u2500\u2500 app_task.h\/.cpp          \u2190 \u5e94\u7528\u4efb\u52a1<br \/>\n    \u251c\u2500\u2500 zcl_callbacks.cpp        \u2190 \u96c6\u7fa4\u56de\u8c03&#xff08;\u6838\u5fc3&#xff09;<br \/>\n    \u251c\u2500\u2500 chip_project_config.h    \u2190 \u9879\u76ee\u914d\u7f6e<br \/>\n    \u2514\u2500\u2500 default_zap\/<br \/>\n        \u251c\u2500\u2500 light_bulb.zap       \u2190 ZAP \u914d\u7f6e<br \/>\n        \u251c\u2500\u2500 light_bulb.matter    \u2190 \u751f\u6210\u7684 IDL<br \/>\n        \u2514\u2500\u2500 zap-generated\/       \u2190 \u751f\u6210\u7684\u4ee3\u7801<\/p>\n<p>\u4e0a\u4e00\u7bc7\u8bb2\u8fc7\u7684 default_zap\/ \u5c31\u5728\u8fd9\u91cc&#xff0c;zcl_callbacks.cpp \u662f\u672c\u7bc7\u7684\u4e3b\u89d2\u3002<\/p>\n<p><img decoding=\"async\" alt=\"light_bulb \u5de5\u7a0b\u4e24\u6761\u4e3b\u7ebf\uff1a\u542f\u52a8\u7ebf\u4e0e\u6570\u636e\u7ebf\u6c47\u5230 zcl_callbacks.cpp\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032444-6aae007c20b1e.png\" \/><\/p>\n<h3 id=\"main\">\u542f\u52a8&#xff1a;main() \u53ea\u662f\u4e2a\u5f15\u5b50<\/h3>\n<p>src\/main.cpp \u5e72\u7684\u4e8b\u5c11\u5f97\u53ef\u7591&#xff1a;<\/p>\n<p>int main()<br \/>\n{<br \/>\n    \/\/ &#8230; \u786c\u4ef6\u521d\u59cb\u5316 &#8230;<br \/>\n    return AppTask::Instance().StartApp();   \/\/ \u8fdb\u5165\u5e94\u7528\u4efb\u52a1<br \/>\n}<\/p>\n<p>\u771f\u6b63\u7684\u5185\u5bb9\u5728 AppTask::StartApp() \u91cc&#xff0c;\u5b83\u8c03\u4e86\u4e09\u4e2a NCS \u7684\u5c01\u88c5\u51fd\u6570&#xff1a;<\/p>\n<p>Nrf::Matter::PrepareServer();        \/\/ \u521d\u59cb\u5316 Matter \u6808<br \/>\nNrf::Matter::RegisterEventHandler(); \/\/ \u6ce8\u518c\u4e8b\u4ef6\u5904\u7406\u5668<br \/>\nNrf::Matter::StartServer();          \/\/ \u542f\u52a8 Server&#xff08;\u5f00\u59cb BLE \u5e7f\u544a&#xff09;<\/p>\n<p>\u8fd9\u4e09\u884c\u5c31\u662f Nordic \u7ed9 Matter \u5e94\u7528\u5b9a\u4e0b\u7684\u542f\u52a8\u8303\u5f0f\u3002PrepareServer \u8d1f\u8d23\u628a\u534f\u8bae\u6808\u548c\u5e73\u53f0\u62bd\u8c61\u5c42\u62c9\u8d77\u6765&#xff0c;StartServer \u4e4b\u540e\u8bbe\u5907\u5c31\u5f00\u59cb BLE \u5e7f\u64ad&#xff0c;\u7b49\u7740\u88ab\u914d\u7f51&#xff08;\u7b2c 5 \u7bc7\u5c55\u5f00\u914d\u7f51\u7ec6\u8282&#xff09;\u3002<\/p>\n<p>\u5230\u8fd9\u91cc\u4e3a\u6b62&#xff0c;\u8fd8\u6ca1\u6709\u4efb\u4f55&#034;\u706f&#034;\u7684\u903b\u8f91\u3002\u706f\u662f\u5728\u96c6\u7fa4\u56de\u8c03\u91cc\u70b9\u4eae\u7684\u3002<\/p>\n<h3 id=\"_2\">\u96c6\u7fa4\u56de\u8c03&#xff1a;\u6846\u67b6\u8ddf\u4f60\u7684\u552f\u4e00\u63a5\u53e3<\/h3>\n<p>src\/zcl_callbacks.cpp \u91cc\u7684 MatterPostAttributeChangeCallback \u662f\u6574\u4e2a\u6837\u4f8b\u7684\u7075\u9b42&#xff0c;\u7b2c 9.1 \u8282\u4e94\u79cd\u63a5\u5165\u65b9\u5f0f\u91cc\u6700\u5e38\u7528\u7684\u4e00\u79cd&#xff1a;<\/p>\n<p>void MatterPostAttributeChangeCallback(<br \/>\n    const chip::app::ConcreteAttributePath &amp;attributePath,<br \/>\n    uint8_t type, uint16_t size, uint8_t *value)<br \/>\n{<br \/>\n    ClusterId clusterId &#061; attributePath.mClusterId;<br \/>\n    AttributeId attributeId &#061; attributePath.mAttributeId;<\/p>\n<p>    if (clusterId &#061;&#061; OnOff::Id &amp;&amp; attributeId &#061;&#061; OnOff::Attributes::OnOff::Id)<br \/>\n    {<br \/>\n        \/\/ OnOff \u5c5e\u6027\u53d8\u66f4 \u2192 \u63a7\u5236 LED<br \/>\n        Nrf::GetBoard().GetLED(Nrf::DeviceLeds::LED2).Set(*value);<br \/>\n    }<br \/>\n    else if (clusterId &#061;&#061; LevelControl::Id &amp;&amp;<br \/>\n             attributeId &#061;&#061; LevelControl::Attributes::CurrentLevel::Id)<br \/>\n    {<br \/>\n        \/\/ \u4eae\u5ea6\u53d8\u66f4 \u2192 PWM<br \/>\n    }<br \/>\n}<\/p>\n<p>\u6574\u4e2a\u51fd\u6570\u5c31\u4e00\u4e2a\u6a21\u5f0f&#xff1a;\u62ff\u5230 clusterId \u548c attributeId&#xff0c;\u5224\u65ad\u662f\u4e0d\u662f\u81ea\u5df1\u5173\u5fc3\u7684\u90a3\u4e2a\u5c5e\u6027&#xff0c;\u662f\u5c31\u5e72\u6d3b\u3002<\/p>\n<p>\u4e0a\u4e00\u7bc7\u8bf4\u8fc7&#xff0c;\u63a7\u5236\u5668\u53d1\u6765\u7684 Invoke \u547d\u4ee4\u6700\u7ec8\u4f1a\u843d\u5230 src\/app\/clusters\/ \u91cc\u7684\u96c6\u7fa4\u5b9e\u73b0&#xff0c;OnOff \u96c6\u7fa4\u5b9e\u73b0\u6539\u5b8c OnOff \u5c5e\u6027\u540e&#xff0c;\u5c31\u8c03\u7528\u8fd9\u4e2a\u56de\u8c03\u901a\u77e5\u5e94\u7528\u3002\u6240\u4ee5\u4f60\u7684\u5e94\u7528\u4ee3\u7801\u4e0d\u9700\u8981\u78b0\u534f\u8bae\u6808&#xff0c;\u53ea\u9700\u8981\u5728\u56de\u8c03\u91cc\u6309&#034;\u54ea\u4e2a\u96c6\u7fa4\u7684\u54ea\u4e2a\u5c5e\u6027\u53d8\u4e86&#034;\u6765\u5206\u53d1\u2014\u2014\u8fd9\u8ddf Zephyr \u91cc bt_conn_cb \u90a3\u5957\u56de\u8c03\u601d\u8def\u662f\u76f8\u901a\u7684\u3002<\/p>\n<p>\u4e00\u4e2a\u5bb9\u6613\u5ffd\u7565\u7684\u7ec6\u8282&#xff1a;value \u6307\u5411\u7684\u6570\u636e\u5728\u56de\u8c03\u8fd4\u56de\u540e\u5c31\u4e0d\u4fdd\u8bc1\u6709\u6548\u4e86\u3002\u8981\u7559\u7740\u7528\u5c31\u5148\u62f7\u51fa\u6765&#xff0c;\u522b\u53ea\u5b58\u6307\u9488\u3002\u6837\u4f8b\u91cc *value \u76f4\u63a5\u53d6\u4e86\u5e03\u5c14\u503c&#xff0c;\u6b63\u597d\u6ca1\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<h3 id=\"_3\">\u96c6\u7fa4\u521d\u59cb\u5316\u56de\u8c03&#xff1a;\u65ad\u7535\u91cd\u542f\u540e\u706f\u8fd8\u662f\u90a3\u4e2a\u72b6\u6001<\/h3>\n<p>\u540c\u4e00\u4e2a\u6587\u4ef6\u5f80\u4e0b\u770b&#xff0c;\u8fd8\u6709\u4e2a emberAfOnOffClusterInitCallback&#xff1a;<\/p>\n<p>void emberAfOnOffClusterInitCallback(EndpointId endpoint)<br \/>\n{<br \/>\n    bool storedValue;<br \/>\n    if (Attributes::OnOff::Get(endpoint, &amp;storedValue) &#061;&#061; Status::Success)<br \/>\n    {<br \/>\n        \/\/ \u4ece\u6301\u4e45\u5316\u5b58\u50a8\u6062\u590d LED \u72b6\u6001<br \/>\n        Nrf::GetBoard().GetLED(Nrf::DeviceLeds::LED2).Set(storedValue);<br \/>\n    }<br \/>\n    AppTask::Instance().UpdateClusterState();<br \/>\n}<\/p>\n<p>\u96c6\u7fa4\u521d\u59cb\u5316\u65f6\u88ab\u8c03&#xff08;\u901a\u8fc7 GENERATED_FUNCTION_ARRAYS \u6ce8\u518c&#xff09;&#xff0c;\u5e72\u7684\u4e8b\u662f\u4ece\u6301\u4e45\u5316\u5b58\u50a8\u91cc\u628a\u4e0a\u6b21\u4fdd\u5b58\u7684 OnOff \u72b6\u6001\u8bfb\u56de\u6765&#xff0c;\u76f4\u63a5\u5237\u5230 LED \u4e0a\u3002\u4e5f\u5c31\u662f\u8bf4\u4f60\u5173\u706f\u518d\u4e0a\u7535&#xff0c;\u706f\u8fd8\u662f\u5173\u7684&#xff0c;\u4e0d\u4f1a&#034;\u590d\u6d3b&#034;\u3002<\/p>\n<p>\u8fd9\u4e24\u4e2a\u56de\u8c03\u5206\u5de5\u5f88\u6e05\u695a&#xff1a;Init \u56de\u8c03\u7ba1&#034;\u5f00\u673a\u6062\u590d&#034;&#xff0c;PostAttributeChange \u56de\u8c03\u7ba1&#034;\u8fd0\u884c\u4e2d\u54cd\u5e94&#034;\u3002\u5199\u81ea\u5df1\u7684\u5e94\u7528\u65f6\u628a\u8fd9\u4e24\u4ef6\u4e8b\u5206\u5f00\u60f3&#xff0c;\u7ed3\u6784\u81ea\u7136\u5c31\u5bf9\u4e86\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\u4e24\u4e2a\u56de\u8c03\u7684\u5206\u5de5\uff1a\u5f00\u673a\u6062\u590d\u4e0e\u8fd0\u884c\u4e2d\u54cd\u5e94\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032445-6aae007d310b0.png\" \/><\/p>\n<h3 id=\"accessor\">\u5e94\u7528\u4e3b\u52a8\u8bfb\u5199\u5c5e\u6027&#xff1a;Accessor \u51fd\u6570<\/h3>\n<p>\u56de\u8c03\u662f\u6846\u67b6\u627e\u4f60&#xff0c;Accessor \u662f\u4f60\u627e\u6846\u67b6\u3002\u751f\u6210\u7684\u4ee3\u7801\u91cc\u6bcf\u4e2a\u5c5e\u6027\u90fd\u5e26 Get\/Set&#xff1a;<\/p>\n<p>\/\/ \u5199<br \/>\nClusters::OnOff::Attributes::OnOff::Set(kLightEndpointId, value);<br \/>\nClusters::LevelControl::Attributes::CurrentLevel::Set(kLightEndpointId, level);<\/p>\n<p>\/\/ \u8bfb<br \/>\nbool storedValue;<br \/>\nClusters::OnOff::Attributes::OnOff::Get(endpoint, &amp;storedValue);<br \/>\nuint8_t minLevel;<br \/>\nClusters::LevelControl::Attributes::MinLevel::Get(kLightEndpointId, &amp;minLevel);<\/p>\n<p>\u4ec0\u4e48\u65f6\u5019\u7528 Set&#xff1f;\u6bd4\u5982\u8bbe\u5907\u4e0a\u6709\u7269\u7406\u6309\u952e\u60f3\u76f4\u63a5\u63a7\u706f&#xff1a;\u6309\u952e\u56de\u8c03\u91cc\u8c03 Set()&#xff0c;\u6846\u67b6\u4f1a\u66f4\u65b0\u5c5e\u6027\u503c\u3001\u901a\u77e5\u8ba2\u9605\u65b9&#xff0c;\u8fd8\u4f1a\u89e6\u53d1 MatterPostAttributeChangeCallback\u2014\u2014\u4f60\u81ea\u5df1\u7684 LED \u63a7\u5236\u903b\u8f91\u5199\u5728\u8fd9\u4e00\u5904\u5c31\u591f\u4e86&#xff0c;\u9065\u63a7\u548c\u672c\u5730\u6309\u952e\u8d70\u540c\u4e00\u6761\u8def&#xff0c;\u4e0d\u4f1a\u51fa\u73b0&#034;\u672c\u5730\u6309\u4e86\u706f\u4f46 App \u4e0d\u540c\u6b65&#034;\u7684\u88c2\u7f1d\u3002<\/p>\n<h3 id=\"deferred-5\">\u5c5e\u6027\u6301\u4e45\u5316&#xff1a;Deferred \u7684 5 \u79d2\u54f2\u5b66<\/h3>\n<p>\u8c03\u4eae\u5ea6\u662f\u4e2a\u9ad8\u9891\u64cd\u4f5c&#xff0c;\u7528\u6237\u6309\u4f4f\u6ed1\u5757\u4e00\u8def\u62d6&#xff0c;CurrentLevel \u5c5e\u6027\u6bcf\u51e0\u5341\u6beb\u79d2\u5199\u4e00\u6b21\u3002\u6bcf\u6b21\u5199\u90fd\u7acb\u523b\u5237 Flash \u7684\u8bdd&#xff0c;\u51e0\u4e2a\u56de\u5408\u5c31\u628a Flash \u78e8\u51fa\u95ee\u9898\u3002\u6837\u4f8b\u7684\u505a\u6cd5&#xff1a;<\/p>\n<p>\/\/ app_task.cpp<br \/>\nDefaultAttributePersistenceProvider gSimpleAttributePersistence;<br \/>\nDeferredAttributePersistenceProvider gDeferredAttributePersister(<br \/>\n    gSimpleAttributePersistence,<br \/>\n    Span&lt;DeferredAttribute&gt;(&amp;gCurrentLevelPersister, 1),<br \/>\n    System::Clock::Milliseconds32(5000));   \/\/ \u5ef6\u8fdf 5 \u79d2\u6301\u4e45\u5316<\/p>\n<p>\/\/ Init()<br \/>\napp::SetAttributePersistenceProvider(&amp;gDeferredAttributePersister);<br \/>\ngSimpleAttributePersistence.Init(Nrf::Matter::GetPersistentStorageDelegate());<\/p>\n<p>DeferredAttributePersistenceProvider \u7684\u903b\u8f91\u662f&#xff1a;CurrentLevel \u53d8\u66f4\u5148\u6512\u7740&#xff0c;5 \u79d2\u5185\u6ca1\u6709\u65b0\u53d8\u66f4\u624d\u771f\u6b63\u843d\u76d8\u3002\u4e00\u8def\u62d6\u6ed1\u5757\u5c31\u4e00\u8def\u63a8\u8fdf&#xff0c;\u505c\u4e0b\u6765 5 \u79d2\u540e\u5199\u4e00\u6b21\u3002<\/p>\n<p>\u4ee3\u4ef7\u8981\u60f3\u6e05\u695a&#xff1a;\u8fd9 5 \u79d2\u7a97\u53e3\u91cc\u65ad\u7535&#xff0c;\u6700\u540e\u4e00\u6b21\u4eae\u5ea6\u5c31\u4e22\u4e86\u3002\u5bf9\u706f\u6765\u8bf4\u4e22\u4e00\u6b21\u4eae\u5ea6\u65e0\u4f24\u5927\u96c5&#xff0c;\u6240\u4ee5\u8fd9\u91cc\u662f\u4e2a\u6559\u79d1\u4e66\u5f0f\u7684&#034;\u6309\u4e1a\u52a1\u9009\u6301\u4e45\u5316\u7b56\u7565&#034;\u7684\u4f8b\u5b50\u2014\u2014\u5982\u679c\u6362\u6210\u95e8\u9501\u72b6\u6001\u8fd9\u79cd\u5c5e\u6027&#xff0c;\u4f60\u5927\u6982\u7387\u4e0d\u6562\u7528 Deferred\u3002<\/p>\n<p><img decoding=\"async\" alt=\"Deferred \u6301\u4e45\u5316\uff1a\u8fde\u7eed\u5199\u5165\u91cd\u7f6e 5 \u79d2\u5b9a\u65f6\u5668\uff0c\u6700\u7ec8\u53ea\u843d\u76d8\u4e00\u6b21\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032445-6aae007dcd49b.png\" \/><\/p>\n<h3 id=\"prjconf\">prj.conf \u91cc\u7684\u5173\u952e\u914d\u7f6e<\/h3>\n<p>\u6837\u4f8b\u7684 prj.conf \u503c\u5f97\u9010\u884c\u770b&#xff0c;\u6311\u51e0\u6761\u8ddf\u884c\u4e3a\u76f4\u63a5\u76f8\u5173\u7684&#xff1a;<\/p>\n<p>CONFIG_CHIP&#061;y<br \/>\nCONFIG_CHIP_PROJECT_CONFIG&#061;&#034;src\/chip_project_config.h&#034;<br \/>\nCONFIG_CHIP_DEVICE_PRODUCT_NAME&#061;&#034;Matter Light Bulb&#034;<br \/>\nCONFIG_NCS_SAMPLE_MATTER_ZAP_FILE_PATH&#061;&#034;${APPLICATION_CONFIG_DIR}\/src\/default_zap\/light_bulb.zap&#034;<br \/>\nCONFIG_CHIP_DEVICE_PRODUCT_ID&#061;32773            # 0x8005<br \/>\nCONFIG_CHIP_ENABLE_PAIRING_AUTOSTART&#061;y          # \u542f\u52a8\u5373\u914d\u7f51<br \/>\nCONFIG_CHIP_BLE_EXT_ADVERTISING&#061;y<br \/>\nCONFIG_CHIP_BLE_ADVERTISING_DURATION&#061;60         # 60 \u5206\u949f<br \/>\nCONFIG_BT_DEVICE_NAME&#061;&#034;MatterLight&#034;<br \/>\nCONFIG_CHIP_LIB_SHELL&#061;y<br \/>\nCONFIG_CHIP_FACTORY_DATA&#061;y<br \/>\nCONFIG_CHIP_FACTORY_DATA_BUILD&#061;y<\/p>\n<p>\u51e0\u6761\u5404\u6709\u542b\u4e49\u3002ZAP_FILE_PATH \u6307\u5b9a\u7528\u54ea\u4e2a .zap \u6587\u4ef6\u505a\u4ee3\u7801\u751f\u6210&#xff0c;\u4e5f\u5c31\u662f\u4e0a\u4e00\u7bc7\u8bf4\u7684\u6784\u5efa\u5165\u53e3&#xff1b;PAIRING_AUTOSTART \u8ba9\u8bbe\u5907\u542f\u52a8\u5c31\u8fdb\u5165\u53ef\u914d\u7f51\u72b6\u6001\u5e76\u5f00\u59cb BLE \u5e7f\u544a&#xff1b;ADVERTISING_DURATION&#061;60 \u8bbe\u5b9a\u5e7f\u64ad\u65f6\u957f 60 \u5206\u949f&#xff0c;\u8d85\u65f6\u5c31\u4e0d\u518d\u53ef\u53d1\u73b0&#xff0c;\u60f3\u518d\u914d\u7f51\u5f97\u624b\u52a8\u89e6\u53d1&#xff1b;PRODUCT_ID&#061;32773&#xff08;0x8005&#xff09;\u8981\u5728 Matter \u5b98\u65b9\u7684 VID\/PID \u6570\u636e\u5e93\u91cc\u767b\u8bb0\u8fc7\u624d\u80fd\u987a\u5229\u8fc7\u8ba4\u8bc1\u751f\u6001&#xff0c;\u81ea\u7528\u6d4b\u8bd5\u65e0\u6240\u8c13&#xff1b;FACTORY_DATA \u4e24\u9879\u662f\u51fa\u5382\u6570\u636e\u6784\u5efa\u5f00\u5173&#xff0c;\u7b2c 5 \u7bc7\u8bb2\u8bc1\u4e66\u548c SPAKE2&#043; \u65f6\u4f1a\u56de\u5934\u7ec6\u770b\u8fd9\u4e00\u5757\u3002<\/p>\n<p>CHIP_LIB_SHELL \u6253\u5f00\u7684\u5c31\u662f Matter Shell&#xff0c;\u4e0b\u4e00\u7bc7\u7684\u4e3b\u89d2&#xff0c;\u8fd9\u91cc\u5148\u6309\u4e0b\u4e0d\u8868\u3002<\/p>\n<p><img decoding=\"async\" alt=\"prj.conf \u5173\u952e\u914d\u7f6e\u9879\u5404\u81ea\u5f71\u54cd\u4ec0\u4e48\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032446-6aae007e73331.png\" \/><\/p>\n<h3 id=\"_4\">\u63a5\u5165\u65b9\u5f0f\u4e0d\u6b62\u4e00\u79cd<\/h3>\n<p>MatterPostAttributeChangeCallback \u548c ClusterInit \u56de\u8c03\u8986\u76d6\u4e86\u6807\u51c6\u96c6\u7fa4\u7684\u5e38\u89c4\u9700\u6c42&#xff0c;\u4f46 Matter \u6846\u67b6\u4e00\u5171\u7ed9\u4e86\u4e94\u79cd\u63a5\u5165\u65b9\u5f0f&#xff08;\u7b2c 9.1 \u8282&#xff09;&#xff0c;\u540e\u4e24\u79cd\u9762\u5411\u81ea\u5b9a\u4e49\u96c6\u7fa4&#xff1a;<\/p>\n<p>\u2460 MatterPostAttributeChangeCallback\u2014\u2014\u5c5e\u6027\u53d8\u66f4\u603b\u56de\u8c03&#xff0c;\u6700\u5e38\u7528 \u2461 emberAf&lt;Cluster&gt;ClusterInitCallback\u2014\u2014\u96c6\u7fa4\u521d\u59cb\u5316&#xff0c;\u6062\u590d\u72b6\u6001 \u2462 AttributeAccessInterface\u2014\u2014\u62e6\u622a\u81ea\u5b9a\u4e49\u96c6\u7fa4\u7684\u5c5e\u6027\u8bfb\u5199 \u2463 CommandHandlerInterface\u2014\u2014\u5904\u7406\u81ea\u5b9a\u4e49\u96c6\u7fa4\u547d\u4ee4 \u2464 Nordic \u7684 NRF_MATTER_CLUSTER_INIT \u5b8f\u2014\u2014v3.3.0 \u7684 code-driven \u6ce8\u518c&#xff0c;\u7528 STRUCT_SECTION_ITERABLE \u628a\u521d\u59cb\u5316\u56de\u8c03\u653e\u8fdb\u94fe\u63a5\u5668 section&#xff0c;\u8ddf BT_CONN_CB_DEFINE \u4e00\u4e2a\u673a\u5236&#xff0c;nrf_matter_cluster_init_run_all() \u904d\u5386\u6267\u884c<\/p>\n<p>\u2462\u2463\u2464 \u7b2c 7 \u7bc7\u81ea\u5b9a\u4e49\u96c6\u7fa4\u65f6\u4f1a\u5b9e\u9645\u7528\u5230&#xff0c;\u672c\u7bc7\u5148\u628a\u2460\u2461\u7528\u719f\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\u5e94\u7528\u63a5\u5165\u96c6\u7fa4\u7684\u4e94\u79cd\u65b9\u5f0f\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032447-6aae007f299b5.png\" \/><\/p>\n<h3 id=\"_5\">\u5c0f\u7ed3<\/h3>\n<p>\u4e00\u6761\u94fe\u8def\u4e32\u8d77\u6765&#xff1a;main() \u8fdb StartApp()&#xff0c;\u4e09\u884c\u5c01\u88c5\u62c9\u8d77\u534f\u8bae\u6808\u5e76\u5f00\u59cb BLE \u5e7f\u544a&#xff1b;\u63a7\u5236\u5668&#xff08;\u6216\u672c\u5730\u6309\u952e&#xff09;\u6539\u5c5e\u6027&#xff0c;\u96c6\u7fa4\u5b9e\u73b0\u56de\u8c03 MatterPostAttributeChangeCallback&#xff0c;\u4f60\u5728\u91cc\u9762\u628a\u5c5e\u6027\u503c\u5237\u5230 LED&#xff1b;Init \u56de\u8c03\u8d1f\u8d23\u5f00\u673a\u6062\u590d&#xff1b;Accessor \u8ba9\u5e94\u7528\u4e3b\u52a8\u8bfb\u5199&#xff1b;Deferred \u628a\u9ad8\u9891\u5c5e\u6027\u5199\u5408\u5e76\u6210 5 \u79d2\u4e00\u6b21\u7684\u843d\u76d8\u3002<\/p>\n<p>\u5230\u8fd9\u91cc&#xff0c;&#034;\u70b9\u4e00\u76cf Matter \u706f&#034;\u7684\u5168\u8c8c\u5df2\u7ecf\u6709\u4e86\u3002\u4e0b\u4e00\u7bc7\u6362\u4e2a\u89c6\u89d2\u2014\u2014\u7ad9\u5728\u63a7\u5236\u5668\u90a3\u4e00\u4fa7&#xff0c;\u7528 chip-tool \u548c Matter Shell \u628a\u8fd9\u76cf\u706f\u5f53\u9776\u5b50\u6253&#xff0c;\u770b\u770b\u8c03\u8bd5\u73af\u5883\u600e\u4e48\u642d\u3002<\/p>\n<p>\u5199\u8fc7\u5176\u4ed6\u534f\u8bae\u6808\u7684\u8bfb\u8005\u53ef\u4ee5\u5bf9\u6bd4\u4e0b&#xff1a;\u8fd9\u5957&#034;\u56de\u8c03 &#043; Accessor&#034;\u7684\u5206\u5c42&#xff0c;\u8ddf\u4f60\u7528\u8fc7\u7684\u54ea\u4e9b\u6846\u67b6\u795e\u4f3c&#xff1f;\u8bc4\u8bba\u533a\u804a\u804a\u3002<\/p>\n<hr \/>\n<p>\u8bf4\u660e&#xff1a;\u672c\u6587\u57fa\u4e8e nRF Connect SDK v3.3.0 \u6e90\u7801\u4e0e\u300aMatter \u534f\u8bae\u6808\u5f00\u53d1\u6307\u5357\u300b\u6574\u7406\u3002\u6587\u4e2d\u56de\u8c03\u51fd\u6570\u7b7e\u540d\u3001prj.conf \u914d\u7f6e\u9879\u5747\u4ee5 v3.3.0 \u5b9e\u9645\u6e90\u7801\u4e3a\u51c6&#xff1b;\u4ee3\u7801\u7247\u6bb5\u4e3a\u8bb2\u89e3\u9700\u8981\u505a\u4e86\u5220\u51cf&#xff0c;\u5b8c\u6574\u5b9e\u73b0\u4ee5\u4ed3\u5e93\u4e3a\u51c6\u3002\u5e7f\u544a\u65f6\u957f\u4e0e Product ID \u7684\u751f\u6001\u7ea6\u675f\u5c5e\u4e8e\u6211\u7684\u7406\u89e3&#xff0c;\u5982\u4e0e\u5b98\u65b9\u6587\u6863\u51fa\u5165&#xff0c;\u4ee5\u5b98\u65b9\u4e3a\u51c6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u4e00\u7bc7\u628a\u6570\u636e\u6a21\u578b\u548c ZAP \u751f\u6210\u8bb2\u6e05\u695a\u4e86&#xff0c;\u8fd9\u4e00\u7bc7\u5c31\u987a\u7740\u90a3\u6761\u7ebf\u5f80\u4e0b\u8d70&#xff1a;\u4e00\u4e2a Matter \u706f\u6ce1\u6837\u4f8b\u8dd1\u8d77\u6765\u4e4b\u540e&#xff0c;\u4ece main() \u5230\u677f\u4e0a LED \u4eae\u8d77\u6765&#xff0c;\u4e2d\u95f4\u5230\u5e95\u7ecf\u8fc7\u54ea\u4e9b\u73af\u8282\u3002\u6837\u4f8b\u662f NCS v3.3.0 \u7684 nrf\/samples\/matter\/light_bulb\u3002\u5efa\u8bae\u8fb9\u770b\u6587\u7ae0\u8fb9\u628a\u5de5\u7a0b\u6253\u5f00&#xff0c;\u5bf9\u7740\u6e90\u7801\u8d70\u4e00\u904d&#xff0c;\u6bd4\u5e72\u8bfb\u5f3a\u5f97\u591a\u3002\u5148\u770b\u5de5\u7a0b\u957f\u4ec0\u4e48\u6837\u76ee\u5f55\u7ed3\u6784\u4e0d\u957f&#xff1a;light_bulb\/<br \/>\n\u251c\u2500\u2500<\/p>\n","protected":false},"author":2,"featured_media":107307,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[12186,12185,12184,2896],"topic":[],"class_list":["post-107312","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-matter","tag-nordic","tag-nrf","tag-2896"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \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\/107312.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e0a\u4e00\u7bc7\u628a\u6570\u636e\u6a21\u578b\u548c ZAP \u751f\u6210\u8bb2\u6e05\u695a\u4e86&#xff0c;\u8fd9\u4e00\u7bc7\u5c31\u987a\u7740\u90a3\u6761\u7ebf\u5f80\u4e0b\u8d70&#xff1a;\u4e00\u4e2a Matter \u706f\u6ce1\u6837\u4f8b\u8dd1\u8d77\u6765\u4e4b\u540e&#xff0c;\u4ece main() \u5230\u677f\u4e0a LED \u4eae\u8d77\u6765&#xff0c;\u4e2d\u95f4\u5230\u5e95\u7ecf\u8fc7\u54ea\u4e9b\u73af\u8282\u3002\u6837\u4f8b\u662f NCS v3.3.0 \u7684 nrf\/samples\/matter\/light_bulb\u3002\u5efa\u8bae\u8fb9\u770b\u6587\u7ae0\u8fb9\u628a\u5de5\u7a0b\u6253\u5f00&#xff0c;\u5bf9\u7740\u6e90\u7801\u8d70\u4e00\u904d&#xff0c;\u6bd4\u5e72\u8bfb\u5f3a\u5f97\u591a\u3002\u5148\u770b\u5de5\u7a0b\u957f\u4ec0\u4e48\u6837\u76ee\u5f55\u7ed3\u6784\u4e0d\u957f&#xff1a;light_bulb\/ \u251c\u2500\u2500\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107312.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-19T03:24:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032444-6aae007c20b1e.png\" \/>\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\/107312.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107312.html\",\"name\":\"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-19T03:24:48+00:00\",\"dateModified\":\"2026-09-19T03:24:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107312.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107312.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107312.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790\"}]},{\"@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":"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \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\/107312.html","og_locale":"zh_CN","og_type":"article","og_title":"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e0a\u4e00\u7bc7\u628a\u6570\u636e\u6a21\u578b\u548c ZAP \u751f\u6210\u8bb2\u6e05\u695a\u4e86&#xff0c;\u8fd9\u4e00\u7bc7\u5c31\u987a\u7740\u90a3\u6761\u7ebf\u5f80\u4e0b\u8d70&#xff1a;\u4e00\u4e2a Matter \u706f\u6ce1\u6837\u4f8b\u8dd1\u8d77\u6765\u4e4b\u540e&#xff0c;\u4ece main() \u5230\u677f\u4e0a LED \u4eae\u8d77\u6765&#xff0c;\u4e2d\u95f4\u5230\u5e95\u7ecf\u8fc7\u54ea\u4e9b\u73af\u8282\u3002\u6837\u4f8b\u662f NCS v3.3.0 \u7684 nrf\/samples\/matter\/light_bulb\u3002\u5efa\u8bae\u8fb9\u770b\u6587\u7ae0\u8fb9\u628a\u5de5\u7a0b\u6253\u5f00&#xff0c;\u5bf9\u7740\u6e90\u7801\u8d70\u4e00\u904d&#xff0c;\u6bd4\u5e72\u8bfb\u5f3a\u5f97\u591a\u3002\u5148\u770b\u5de5\u7a0b\u957f\u4ec0\u4e48\u6837\u76ee\u5f55\u7ed3\u6784\u4e0d\u957f&#xff1a;light_bulb\/ \u251c\u2500\u2500","og_url":"https:\/\/www.wsisp.com\/helps\/107312.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-19T03:24:48+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919032444-6aae007c20b1e.png"}],"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\/107312.html","url":"https:\/\/www.wsisp.com\/helps\/107312.html","name":"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-19T03:24:48+00:00","dateModified":"2026-09-19T03:24:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107312.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107312.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107312.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Matter \u70b9\u706f\u5b9e\u6218\uff1alight_bulb \u6837\u4f8b\u4ece main() \u5230 LED \u5168\u94fe\u8def\u6e90\u7801\u89e3\u6790"}]},{"@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\/107312","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=107312"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107312\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/107307"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107312"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}