{"id":1047,"date":"2024-03-16T00:25:27","date_gmt":"2024-03-15T16:25:27","guid":{"rendered":"http:\/\/www.ccwifi.cc\/blogs\/?p=1047"},"modified":"2024-03-16T00:25:27","modified_gmt":"2024-03-15T16:25:27","slug":"nordic%e5%8d%9a%e6%96%87%e5%88%86%e4%ba%ab%e7%b3%bb%e5%88%97%e8%af%a6%e8%a7%a3ble%e7%a9%ba%e4%b8%ad%e5%8c%85%e6%a0%bc%e5%bc%8f%e5%85%bcblelinkla","status":"publish","type":"post","link":"https:\/\/www.ccwifi.cc\/blogs\/2024\/03\/16\/nordic%e5%8d%9a%e6%96%87%e5%88%86%e4%ba%ab%e7%b3%bb%e5%88%97%e8%af%a6%e8%a7%a3ble%e7%a9%ba%e4%b8%ad%e5%8c%85%e6%a0%bc%e5%bc%8f%e5%85%bcblelinkla\/","title":{"rendered":"[Nordic \u535a\u6587\u5206\u4eab\u7cfb\u5217] \u8be6\u89e3BLE \u7a7a\u4e2d\u5305\u683c\u5f0f\u2014\u517cBLE Link la"},"content":{"rendered":"<div>\n<p>\u5728\u7ebfwifi\u8dd1\u5305 \u91d1\u521a\u5305\u8dd1\u5305 cap\u8dd1\u5305 hccapx ewsa\u5728\u7ebf \u5c31\u6765 <strong><a href=\"https:\/\/ccwifi.cc\" target=\"_blank\" rel=\"noopener\">\u63e1\u624b\u5305\u8dd1\u5305<\/a><\/strong><\/p>\n<p>\u5404\u4f4d\u597d \u53c8\u89c1\u9762\u4e86 \u6211\u662f\u66f9\u64cd \u4eca\u5929\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7\u65b0\u7684\u6559\u7a0b<\/p>\n<p>\u5e0c\u671b\u5404\u4f4d\u7ec6\u5fc3\u5b66\u4e60 \u4f4e\u8c03\u7528\u7f51<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_0.jpg\" alt=\"cap\u5305\u89e3\u6790\"><\/p>\n<p>\u4e3a\u4e86\u63d0\u9ad8\u6587\u7ae0\u7684SEO\u6548\u679c\uff0c\u6211\u5c06\u91cd\u65b0\u6784\u5efa\u4ee5\u4e0b\u5185\u5bb9\uff0c\u4fdd\u6301\u539f\u6709\u4fe1\u606f\u7684\u57fa\u7840\u4e0a\uff0c\u786e\u4fdd\u6587\u7ae0\u7684\u76f8\u4f3c\u5ea6\u4f4e\u4e8e30%\u3002<\/p>\n<p>BLE\u7684\u7a7a\u4e2d\u5305\u683c\u5f0f\u6709\u591a\u79cd\uff0c\u5176\u4e2d\u5e38\u89c1\u7684PDU\u547d\u4ee4\u5305\u62ec\u6570\u636e\u5305\u3001\u5e7f\u64ad\u5305\u548c\u63a7\u5236\u5305\u3002PDU\u548cMTU\u4e4b\u95f4\u7684\u533a\u522b\u5728\u4e8e\uff0cPDU\u662f\u84dd\u7259\u6570\u636e\u4fe1\u9053\u4e0a\u7684\u4f20\u8f93\u5355\u5143\uff0c\u800cMTU\u662fATT\u5c42\u4e0eL2CAP\u5c42\u4e4b\u95f4\u7684\u6700\u5927\u6570\u636e\u957f\u5ea6\u9650\u5236\u3002\u6b64\u5916\uff0cDLE\u662f\u6307Data Length Extension\uff0c\u5b83\u5141\u8bb8\u5728BLE\u8fde\u63a5\u5efa\u7acb\u540e\u52a8\u6001\u66f4\u6539\u6570\u636e\u957f\u5ea6\u3002<\/p>\n<p>\u5728BLE\u4e2d\uff0c\u91cd\u4f20\u662f\u901a\u8fc7BLE ACK\u673a\u5236\u5b9e\u73b0\u7684\u3002\u5f53Master\u53d1\u9001\u6570\u636e\u5305\u7ed9Slave\u65f6\uff0c\u901a\u8fc7\u6bd4\u8f83\u524d\u9762\u4f20\u8f93\u7684\u6570\u636e\u5305\u7684\u5e8f\u5217\u53f7\uff08SN\uff09\u548c\u4e0b\u4e00\u4e2a\u671f\u671b\u63a5\u6536\u7684\u6570\u636e\u5305\u7684\u5e8f\u5217\u53f7\uff08NESN\uff09\uff0c\u6765\u786e\u5b9a\u662f\u5426\u9700\u8981\u91cd\u4f20\u3002\u5982\u679cSN\u548cNESN\u4e0d\u5339\u914d\uff0c\u8868\u793aSlave\u5df2\u7ecf\u6536\u5230\u4e86\u524d\u4e00\u4e2a\u6570\u636e\u5305\uff0cMaster\u4f1a\u589e\u52a0SN\u5e76\u53d1\u9001\u65b0\u7684\u6570\u636e\u5305\uff1b\u5982\u679cSN\u548cNESN\u5339\u914d\uff0c\u8868\u793aSlave\u672a\u6536\u5230\u524d\u4e00\u4e2a\u6570\u636e\u5305\uff0cMaster\u9700\u8981\u8fdb\u884c\u91cd\u4f20\u3002<\/p>\n<p>\u5bf9\u4e8e\u7a7a\u5305\u548c\u666e\u901a\u6570\u636e\u5305\u7684\u683c\u5f0f\uff0c\u7a7a\u5305\u7684payload\u4e3a\u7a7a\uff0c\u800c\u666e\u901a\u6570\u636e\u5305\u5305\u542bData header\u548cLL header\u3002LL header\u4e2d\u5b9a\u4e49\u4e86Link layer\u652f\u6301\u7684control PDU\u3002\u5728\u6570\u636e\u5305\u7684\u4f20\u8f93\u8fc7\u7a0b\u4e2d\uff0c\u901a\u8fc7\u6bd4\u8f83\u76f8\u90bb\u6570\u636e\u5305\u7684NESN\u548cSN\u7684\u503c\uff0c\u53ef\u4ee5\u786e\u5b9a\u4e0b\u4e00\u4e2a\u6570\u636e\u5305\u7684NESN\u548cSN\u3002<\/p>\n<p>Payload Length\u6216Data Length\u662f\u6307\u6570\u636e\u5305\u4e2d\u4fe1\u606f\u8d1f\u8f7d\u7684\u957f\u5ea6\u3002\u5728\u84dd\u72594.0\/4.1\u4e2d\uff0c\u4e00\u4e2a\u5305\u7684\u957f\u5ea6\u9650\u5236\u4e3a20\u4e2a\u5b57\u8282\u3002\u800c\u5728\u84dd\u72594.2\u4e4b\u540e\uff0cPayload Length\u5b57\u6bb5\u4f7f\u75288\u4f4d\u6765\u8868\u793a\u957f\u5ea6\uff0c\u6700\u5927\u53ef\u8fbe251\u5b57\u8282\u3002\u6b64\u5916\uff0cBLE\u8fde\u63a5\u5efa\u7acb\u540e\u53ef\u4ee5\u901a\u8fc7Data Length Extension\uff08DLE\uff09\u6765\u52a8\u6001\u6539\u53d8\u6570\u636e\u957f\u5ea6\u3002<\/p>\n<p>\u53e6\u5916\uff0cL2CAP length\u5b57\u6bb5\u8868\u793a\u540e\u9762\u4fe1\u606f\u8d1f\u8f7d\u7684\u957f\u5ea6\uff0c\u800cMTU\u662fATT\u5c42\u4e0eL2CAP\u5c42\u4e4b\u95f4\u53ef\u4ee5\u4ea4\u4e92\u7684\u6700\u5927\u6570\u636e\u957f\u5ea6\u3002\u84dd\u7259\u89c4\u8303\u4e2d\u5b9a\u4e49\u4e86LL data length\u548cL2CAP length\u4e24\u4e2a\u957f\u5ea6\u5b57\u6bb5\uff0c\u53ef\u4ee5\u901a\u8fc7\u76f8\u5e94\u7684\u547d\u4ee4\u6765\u52a8\u6001\u6539\u53d8LL data length\u548cMTU size\uff0c\u800cL2CAP length\u65e0\u6cd5\u52a8\u6001\u6539\u53d8\u3002<\/p>\n<p>\u5728BLE\u4e2d\uff0cL2CAP CID\u662f\u903b\u8f91\u901a\u9053\u7684\u6807\u8bc6\u7b26\uff0cBLE\u4f7f\u7528\u56fa\u5b9a\u7684\u901a\u9053\u7f16\u53f7\u3002BLE L2CAP Signaling Channel\u652f\u6301\u7684PDU\u547d\u4ee4\u5305\u62ecSecurity Manager Protocol\uff08SMP\uff09\u548cAttribute Protocol\uff08ATT\uff09\u3002SMP\u7528\u4e8e\u914d\u5bf9\u548c\u5bc6\u94a5\u5206\u53d1\uff0c\u800cATT\u7528\u4e8e\u5e94\u7528\u5c42\u6570\u636e\u4f20\u8f93\u3002<\/p>\n<p>\u4ee5\u4e0a\u662f\u5173\u4e8eBLE\u7a7a\u4e2d\u5305\u7684\u89e3\u6790\uff0c\u63a5\u4e0b\u6765\u7684\u5e94\u7528\u5c42\u6570\u636e\u89e3\u6790\u5c06\u6d89\u53ca\u5230GATT\u548cprofile\u7684\u5b9a\u4e49\u3002\u8bf7\u6ce8\u610f\uff0c\u4e0b\u9762\u662f\u4e00\u4e2a\u771f\u5b9e\u6570\u636e\u5305\u793a\u4f8b\uff0c\u5176\u4e2dBLE\u7a7a\u4e2d\u5305\u91c7\u7528\u5c0f\u7aef\u6a21\u5f0f\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_1.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_3.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_4.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_5.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_6.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_7.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_9.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_10.jpg\" alt=\"cap\u5305\u89e3\u6790\"><img decoding=\"async\" src=\"http:\/\/www.ccwifi.cc\/blogs\/wp-content\/uploads\/2024\/03\/1710519908374_11.jpg\" alt=\"cap\u5305\u89e3\u6790\"><!-- \u6587\u7ae0\u6765\u6e90:https:\/\/www.sohu.com\/a\/278833757_749240 --><\/p>\n<p>\u5e0c\u671b\u8fd9\u6b21\u7684\u590d\u8ff0\u6ee1\u8db3\u4e86\u60a8\u7684\u8981\u6c42\u3002\u5982\u679c\u8fd8\u6709\u5176\u4ed6\u9700\u8981\u4fee\u6539\u7684\u5730\u65b9\uff0c\u8bf7\u968f\u65f6\u544a\u8bc9\u6211\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Nordic \u535a\u6587\u5206\u4eab\u7cfb\u5217] \u8be6\u89e3BLE \u7a7a\u4e2d\u5305\u683c\u5f0f\u2014\u517cBLE Link laBLE\u6709\u51e0\u79cd\u7a7a\u4e2d\u5305\u683c\u5f0f\uff1f\u5e38\u89c1\u7684PDU\u547d\u4ee4\u6709\u54ea\u4e9b\uff1fPDU\u548cMTU\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1fDLE\u53c8\u662f\u4ec0\u4e48\uff1fBLE\u600e\u4e48\u5b9e\u73b0\u91cd\u4f20\u7684\uff1fBLE ACK\u673a\u5236\u539f\u7406\u662f\u4ec0\u4e48\uff1f\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u4f60\u56de\u7b54\u4ee5\u4e0a\u95ee\u9898\u3002<\/p>\n","protected":false},"author":1,"featured_media":1048,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-1047","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/1047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/comments?post=1047"}],"version-history":[{"count":0,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/1047\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media\/1048"}],"wp:attachment":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media?parent=1047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/categories?post=1047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/tags?post=1047"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/topic?post=1047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}