{"id":98784,"date":"2024-11-04T15:12:09","date_gmt":"2024-11-04T07:12:09","guid":{"rendered":"\/\/www.viralrail.com\/?p=98784"},"modified":"2024-11-04T15:12:15","modified_gmt":"2024-11-04T07:12:15","slug":"rhdqlymmkxx-2","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/98784.html","title":{"rendered":"\u5982\u4f55\u8bfb\u53d6\u84dd\u7259mesh\u6a21\u5757\u4fe1\u606f"},"content":{"rendered":"\n
\u3000\u3000\u8981\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757<\/strong>\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<\/p>\n\n\n\n \u3000\u3000\u8fd9\u4e9b\u65b9\u6cd5\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u9014\u5f84\u6765\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757\u7684\u4fe1\u606f\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n\n\n\n \u3000\u3000\u8981\u901a\u8fc7UART Mesh COMMAND_CODE_GET_INFO\u547d\u4ee4\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757\u4fe1\u606f\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n\n\n\n \u3000\u3000\u521d\u59cb\u5316\u4e32\u53e3\u901a\u4fe1<\/strong>\uff1a\u9996\u5148\uff0c\u786e\u4fddMCU(\u5fae\u63a7\u5236\u5355\u5143)\u4e0e\u84dd\u7259Mesh\u6a21\u5757\u4e4b\u95f4\u7684\u4e32\u53e3\u901a\u4fe1\u5df2\u7ecf\u5efa\u7acb\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u8bbe\u7f6e\u6b63\u786e\u7684\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7b49\u53c2\u6570\u3002<\/p>\n\n\n\n \u3000\u3000\u6784\u5efaUART Mesh COMMAND_CODE_GET_INFO\u547d\u4ee4\u5e27<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5e27\u5934\uff1a\u4f7f\u7528\u6807\u51c6\u7684\u5e27\u5934\u683c\u5f0f\uff0c\u4f8b\u5982\u201c4F-45-6F-65\u201d\u3002<\/p>\n\n\n\n \u3000\u3000\u547d\u4ee4\u7801\uff1a\u4f7f\u75280x06\u4f5c\u4e3aUART_MESH_COMMAND_CODE_GET_INFO\u547d\u4ee4\u7684\u547d\u4ee4\u7801\u3002<\/p>\n\n\n\n \u3000\u3000\u53c2\u6570\u957f\u5ea6\uff1a\u7531\u4e8e\u6b64\u547d\u4ee4\u4e0d\u643a\u5e26\u5177\u4f53\u53c2\u6570\uff0c\u56e0\u6b64\u53c2\u6570\u957f\u5ea6\u5e94\u8bbe\u7f6e\u4e3a0x00.<\/p>\n\n\n\n \u3000\u3000\u53c2\u6570\uff1a\u65e0\u9700\u586b\u5199\uff0c\u56e0\u4e3a\u8fd9\u662f\u4e00\u4e2a\u65e0\u53c2\u6570\u547d\u4ee4\u3002<\/p>\n\n\n\n \u3000\u3000\u6821\u9a8c\u548c\uff1a\u8ba1\u7b97\u4ece\u547d\u4ee4\u7801\u5230\u53c2\u6570\u90e8\u5206\u7684\u6821\u9a8c\u548c\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u5e27\u5c3e\u3002<\/p>\n\n\n\n \u3000\u3000\u53d1\u9001\u547d\u4ee4\u5e27<\/strong>\uff1a\u5c06\u6784\u5efa\u597d\u7684\u547d\u4ee4\u5e27\u901a\u8fc7\u4e32\u53e3\u53d1\u9001\u7ed9\u84dd\u7259Mesh\u6a21\u5757\u3002\u786e\u4fdd\u5728\u53d1\u9001\u8fc7\u7a0b\u4e2d\u4fdd\u6301\u6b63\u786e\u7684\u540c\u6b65\u548c\u9519\u8bef\u68c0\u6d4b\u673a\u5236\u3002<\/p>\n\n\n\n \u3000\u3000\u63a5\u6536\u56de\u590d\u5e27<\/strong>\uff1a\u84dd\u7259Mesh\u6a21\u5757\u63a5\u6536\u5230\u547d\u4ee4\u540e\uff0c\u4f1a\u6839\u636e\u5176\u5185\u90e8\u903b\u8f91\u5904\u7406\u5e76\u8fd4\u56de\u76f8\u5173\u4fe1\u606f\u3002\u56de\u590d\u5e27\u901a\u5e38\u5305\u542b\u84dd\u7259\u5730\u5740\u3001UUID\u3001\u7f51\u7edc\u77edID\u7b49\u4fe1\u606f\u3002<\/p>\n\n\n\n \u3000\u3000\u89e3\u6790\u56de\u590d\u5e27<\/strong>\uff1a\u89e3\u6790\u63a5\u6536\u5230\u7684\u56de\u590d\u5e27\uff0c\u63d0\u53d6\u51fa\u84dd\u7259\u5730\u5740\u3001UUID\u3001\u7f51\u7edc\u77edID\u7b49\u6240\u9700\u4fe1\u606f\u3002\u8fd9\u4e9b\u4fe1\u606f\u5c06\u5e2e\u52a9\u4f60\u4e86\u89e3\u84dd\u7259Mesh\u6a21\u5757\u7684\u72b6\u6001\u548c\u914d\u7f6e\u3002<\/p>\n\n\n\n \u3000\u3000\u5904\u7406\u9519\u8bef<\/strong>\uff1a\u68c0\u67e5\u56de\u590d\u5e27\u4e2d\u7684\u9519\u8bef\u7801\uff0c\u786e\u4fdd\u901a\u4fe1\u8fc7\u7a0b\u6ca1\u6709\u51fa\u73b0\u5f02\u5e38\u3002\u5982\u679c\u5b58\u5728\u9519\u8bef\uff0c\u9700\u8981\u6839\u636e\u9519\u8bef\u7801\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u6216\u91cd\u8bd5\u3002<\/p>\n\n\n\n \u3000\u3000\u8981\u786e\u5b9a\u670d\u52a1UUID\u4e3a0xFFE0\u7684\u901a\u9053\u5e76\u83b7\u53d6\u6a21\u5757ID\u548c\u8f6f\u4ef6\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n\n\n\n \u3000\u3000\u6839\u636e\u8bc1\u636e\uff0c\u670d\u52a1UUID\u4e3a0xFFE0\u7684\u901a\u9053\u662f\u7528\u4e8e\u4e32\u53e3\u6570\u636e\u901a\u9053\uff0c\u7528\u4e8e\u5c06\u4e32\u53e3\u8f93\u5165\u8f6c\u53d1\u5230\u84dd\u7259\u8f93\u51fa\uff0c\u5e76\u652f\u6301\u5728\u6253\u5f00FFE4\u901a\u9053\u901a\u77e5\u4f7f\u80fd\u5f00\u5173\u540e\uff0c\u901a\u8fc7\u4e32\u53e3\u5411\u6a21\u5757RX\u53d1\u9001\u5408\u6cd5\u6570\u636e\u65f6\u4ea7\u751fnotify\u901a\u77e5\u4e8b\u4ef6\u3002<\/p>\n\n\n\n \u3000\u3000\u6a21\u5757ID\u53ef\u4ee5\u901a\u8fc7\u8bfb\u53d62A23\u901a\u9053\u6765\u83b7\u53d6\u3002\u8be5\u901a\u9053\u7684\u683c\u5f0f\u4e3axxxxxx0000xxxxxx\uff0c\u5176\u4e2dxx\u4e3a\u7269\u7406\u5730\u5740MAC\u3002<\/p>\n\n\n\n \u3000\u3000\u8f6f\u4ef6\u7248\u672c\u53f7\u53ef\u4ee5\u901a\u8fc7\u8bfb\u53d62A26\u901a\u9053\u6765\u83b7\u53d6\u3002\u8be5\u901a\u9053\u7684\u683c\u5f0f\u4e3aTv5.11u_xxxxxx_EP\uff0c\u5176\u4e2dxxxxxx\u4e3a\u751f\u6210\u65e5\u671f\u548cEN\u811a\u9ed8\u8ba4\u5185\u90e8\u4e0a\u62c9\u4fe1\u606f\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u4f7f\u7528 ble_mesh_provisioner_get_node_info \u51fd\u6570\u83b7\u53d6\u8282\u70b9\u8be6\u7ec6\u4fe1\u606f\u65f6\uff0c\u9700\u8981\u6ee1\u8db3\u4ee5\u4e0b\u524d\u63d0\u6761\u4ef6\u548c\u914d\u7f6e\uff1a<\/p>\n\n\n\n \u3000\u3000ble_mesh_model_get_comp_data\u51fd\u6570\u7528\u4e8e\u83b7\u53d6\u8282\u70b9\u7684Composition\u6570\u636e\uff0c\u8fd9\u4e9b\u6570\u636e\u5305\u62ec\u8282\u70b9\u4fe1\u606f\u548c\u6a21\u578b\u7ec4\u6210\u7b49\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u8fd9\u4e2a\u51fd\u6570\u7684\u4f5c\u7528\u662f\u8fd4\u56de\u5df2\u6ce8\u518c\u7684Composition\u6570\u636e\u7684\u6307\u9488\u3002\u5982\u679c\u6210\u529f\u83b7\u53d6\u5230\u6570\u636e\uff0c\u5219\u8fd4\u56de\u6307\u5411Composition\u6570\u636e\u7684\u6307\u9488;\u5982\u679c\u5931\u8d25\uff0c\u5219\u8fd4\u56deNULL\uff0c\u8868\u793aComposition\u6570\u636e\u672a\u521d\u59cb\u5316\u3002<\/p>\n\n\n\n \u3000\u3000\u8981\u89e3\u6790\u83b7\u53d6\u5230\u7684\u8282\u70b9Composition\u6570\u636e\u4ee5\u4e86\u89e3\u8282\u70b9\u4fe1\u606f\u548c\u6a21\u578b\u7ec4\u6210\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n\n\n\n \u3000\u3000btmeshcfgcompdata_get\u51fd\u6570\u662f\u7528\u4e8e\u83b7\u53d6\u8282\u70b9\u7684Composition\u6570\u636e\u7684\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u7528\u6765\u4ece\u5176\u4ed6\u8bbe\u5907\u8bfb\u53d6Composition\u6570\u636e\u98750\u7684\u4fe1\u606f\u3002\u5176\u4f7f\u7528\u65b9\u6cd5\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a<\/p>\n\n\n\n \u3000\u3000\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0cProvisioner\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u5ba2\u6237\u7aef\u6a21\u578bAPI\u6765\u8bbe\u7f6e\u53c2\u6570\uff0c\u5e76\u901a\u8fc7comp_data_get\u51fd\u6570\u83b7\u53d6\u8282\u70b9\u7684\u6784\u6210\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u8981\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u9014\u5f84\u6765\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757\u7684\u4fe1\u606f\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":97709,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[49,215],"class_list":["post-98784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m-2","tag-ly"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/98784"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=98784"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/98784\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/97709"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=98784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=98784"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=98784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\u3000\u3000\u4e00\u3001 \u5982\u4f55\u4f7f\u7528UART Mesh COMMAND_CODE_GET_INFO\u547d\u4ee4\u901a\u8fc7\u4e32\u53e3\u901a\u4fe1\u534f\u8bae\u8bfb\u53d6\u84dd\u7259Mesh\u6a21\u5757\u4fe1\u606f\u7684\u8be6\u7ec6\u6b65\u9aa4\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n
\u3000\u3000\u4e8c\u3001 \u7279\u5b9a\u7684\u84dd\u7259\u7279\u5f81\u547d\u4ee4\u7528\u4e8e\u8bfb\u53d6\u6a21\u5757\u4fe1\u606f\u65f6\uff0c\u5982\u4f55\u786e\u5b9a\u670d\u52a1UUID\u4e3a0xFFE0\u7684\u901a\u9053\u5e76\u83b7\u53d6\u6a21\u5757ID\u548c\u8f6f\u4ef6\u7248\u672c\u53f7?<\/h2>\n\n\n\n
\u3000\u3000\u4e09\u3001 \u5728\u4f7f\u7528ble_mesh_provisioner_get_node_info\u51fd\u6570\u83b7\u53d6\u8282\u70b9\u8be6\u7ec6\u4fe1\u606f\u65f6\uff0c\u9700\u8981\u54ea\u4e9b\u524d\u63d0\u6761\u4ef6\u548c\u914d\u7f6e?<\/h2>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 ble_mesh_model_get_comp_data\u51fd\u6570\u5982\u4f55\u5de5\u4f5c\uff0c\u4ee5\u53ca\u5982\u4f55\u89e3\u6790\u83b7\u53d6\u5230\u7684\u8282\u70b9Composition\u6570\u636e\u4ee5\u4e86\u89e3\u8282\u70b9\u4fe1\u606f\u548c\u6a21\u578b\u7ec4\u6210?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e94\u3001 btmeshcfgcompdata_get\u51fd\u6570\u7684\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\u662f\u4ec0\u4e48\uff0c\u4ee5\u53ca\u5982\u4f55\u901a\u8fc7\u5b83\u83b7\u53d6\u8282\u70b9\u7684Composition\u6570\u636e?<\/h2>\n\n\n\n
\n