{"id":100311,"date":"2025-01-08T17:31:04","date_gmt":"2025-01-08T09:31:04","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=100311"},"modified":"2025-01-08T17:31:08","modified_gmt":"2025-01-08T09:31:08","slug":"zcytlymkssm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/100311.html","title":{"rendered":"\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u662f\u4ec0\u4e48"},"content":{"rendered":"\n
\u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757<\/strong>\u662f\u4e00\u79cd\u80fd\u591f\u540c\u65f6\u626e\u6f14\u4e3b\u8bbe\u5907\u548c\u4ece\u8bbe\u5907\u89d2\u8272\u7684\u84dd\u7259\u901a\u4fe1\u6a21\u5757\u3002\u8fd9\u79cd\u6a21\u5757\u5728\u84dd\u72594.1\u89c4\u8303\u4e2d\u5f15\u5165\u4e86\u201c\u94fe\u8def\u5c42\u62d3\u6251\u201d\u529f\u80fd\uff0c\u4f7f\u5f97\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u5728\u540c\u4e00\u65f6\u95f4\u4f5c\u4e3a\u4e3b\u8bbe\u5907\u4e3b\u52a8\u53d1\u8d77\u8fde\u63a5\uff0c\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u4ece\u8bbe\u5907\u88ab\u52a8\u63a5\u6536\u8fde\u63a5\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u4e3b\u4ece\u4e00\u4f53\u6a21\u5f0f\u4e0b\uff0c\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u7075\u6d3b\u5730\u5728\u4e24\u79cd\u89d2\u8272\u4e4b\u95f4\u5207\u6362\u3002\u5f53\u4f5c\u4e3a\u4ece\u8bbe\u5907\u65f6\uff0c\u5b83\u7b49\u5f85\u5176\u4ed6\u4e3b\u8bbe\u5907\u7684\u8fde\u63a5\u8bf7\u6c42;\u800c\u5f53\u9700\u8981\u4e3b\u52a8\u53d1\u8d77\u901a\u4fe1\u65f6\uff0c\u5219\u5207\u6362\u4e3a\u4e3b\u8bbe\u5907\uff0c\u5411\u5176\u4ed6\u8bbe\u5907\u53d1\u8d77\u8fde\u63a5\u8bf7\u6c42\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0d\u4ec5\u589e\u52a0\u4e86\u84dd\u7259\u6a21\u5757\u7684\u529f\u80fd\u6027\uff0c\u8fd8\u4f18\u5316\u4e86\u6210\u672c\u548c\u6613\u7528\u6027\uff0c\u4f7f\u5f97\u84dd\u7259\u6a21\u5757\u80fd\u591f\u66f4\u5e7f\u6cdb\u5730\u5e94\u7528\u4e8e\u5404\u79cd\u573a\u666f\uff0c\u5982\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u533b\u7597\u8bbe\u5907\u3001\u8f66\u8f7d\u901a\u4fe1\u7b49\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u5f15\u5165\uff0c\u4f7f\u5f97\u84dd\u7259\u8bbe\u5907\u53ef\u4ee5\u4f5c\u4e3a\u4e2d\u7ee7\u5668\uff0c\u6536\u96c6\u5916\u56f4\u8282\u70b9\u7684\u4fe1\u606f\u5e76\u4e0a\u62a5\u7ed9\u4e3b\u63a7\u7ec8\u7aef\uff0c\u5982\u667a\u80fd\u624b\u673a\u6216\u7535\u8111\uff0c\u4ece\u800c\u5b9e\u73b0\u4fe1\u606f\u7684\u96c6\u4e2d\u7ba1\u7406\u548c\u663e\u793a\u3002\u6b64\u5916\uff0c\u8fd9\u79cd\u6a21\u5757\u8fd8\u652f\u6301\u591a\u79cd\u8fd0\u884c\u6a21\u5f0f\uff0c\u5305\u62ec\u4e32\u53e3\u901a\u4fe1\u3001\u6570\u636e\u91c7\u96c6\u3001\u667a\u80fd\u63a7\u5236\u7b49\uff0c\u4f7f\u5176\u5728\u7269\u8054\u7f51\u9886\u57df\u5177\u6709\u91cd\u8981\u7684\u5e94\u7528\u4ef7\u503c\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u84dd\u72594.1\u89c4\u8303\u4e2d\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757(Dual-mode\u6216Dual-role Bluetooth Module)\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u5207\u6362\u89d2\u8272\u7684\u80fd\u529b\u4f7f\u5176\u5177\u5907\u4e86\u6781\u9ad8\u7684\u7075\u6d3b\u6027\u3002\u5b83\u80fd\u591f\u5728\u84dd\u7259\u901a\u4fe1\u4e2d\u6839\u636e\u5e94\u7528\u9700\u6c42\u52a8\u6001\u8c03\u6574\u81ea\u8eab\u4e3a\u4e3b\u8bbe\u5907(Master)\u6216\u4ece\u8bbe\u5907(Slave)\uff0c\u4ece\u800c\u5b9e\u73b0\u590d\u6742\u7684\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u6216\u591a\u8bbe\u5907\u534f\u540c\u5de5\u4f5c\u3002\u8fd9\u79cd\u89d2\u8272\u5207\u6362\u7684\u5b9e\u73b0\u4e3b\u8981\u4f9d\u8d56\u4e8e\u84dd\u7259\u534f\u8bae\u6808\u7684\u8bbe\u8ba1\u4ee5\u53ca\u6a21\u5757\u5185\u90e8\u7684\u786c\u4ef6\u548c\u8f6f\u4ef6\u652f\u6301\u3002<\/p>\n\n\n\n \u3000\u3000\u9996\u5148\uff0c\u4e3b\u4ece\u89d2\u8272\u7684\u5207\u6362\u57fa\u4e8e\u84dd\u7259\u6838\u5fc3\u534f\u8bae\u6808\u4e2d\u5173\u4e8e\u4e3b\u4ece\u89d2\u8272\u7684\u5b9a\u4e49\u3002\u4f5c\u4e3a\u4e3b\u8bbe\u5907\uff0c\u84dd\u7259\u6a21\u5757\u8d1f\u8d23\u53d1\u8d77\u8fde\u63a5\uff0c\u7ba1\u7406\u94fe\u8def\u7684\u5efa\u7acb\u548c\u7ef4\u6301\uff0c\u800c\u4ece\u8bbe\u5907\u5219\u54cd\u5e94\u4e3b\u8bbe\u5907\u7684\u8fde\u63a5\u8bf7\u6c42\u5e76\u88ab\u52a8\u63a5\u6536\u901a\u4fe1\u6307\u4ee4\u3002\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u5207\u6362\u89d2\u8272\u65f6\u9700\u8981\u91cd\u65b0\u914d\u7f6e\u94fe\u8def\u53c2\u6570\uff0c\u4f8b\u5982\u8bbe\u5907\u5730\u5740\u3001\u65f6\u949f\u504f\u79fb\u548c\u8df3\u9891\u53c2\u6570\u3002\u8fd9\u4e00\u8fc7\u7a0b\u901a\u5e38\u662f\u5728\u4e0d\u5f71\u54cd\u5f53\u524d\u8fde\u63a5\u6216\u901a\u4fe1\u8d28\u91cf\u7684\u524d\u63d0\u4e0b\u5b8c\u6210\u7684\uff0c\u56e0\u6b64\u6a21\u5757\u9700\u8981\u5177\u5907\u8f83\u9ad8\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u5904\u7406\u80fd\u529b\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u8bbe\u5907\u95f4\u7684\u89d2\u8272\u5207\u6362\u573a\u666f\u4e2d\uff0c\u84dd\u7259\u6a21\u5757\u901a\u5e38\u901a\u8fc7\u7279\u5b9a\u7684\u6307\u4ee4\u6216\u89e6\u53d1\u6761\u4ef6\u6765\u5b9e\u73b0\u52a8\u6001\u5207\u6362\u3002\u4f8b\u5982\uff0c\u5728\u4e3b\u8bbe\u5907\u9700\u8981\u5207\u6362\u4e3a\u4ece\u8bbe\u5907\u65f6\uff0c\u6a21\u5757\u53ef\u4ee5\u901a\u8fc7\u84dd\u7259\u534f\u8bae\u7684\u89d2\u8272\u4ea4\u6362(Role Switch)\u529f\u80fd\u53d1\u51fa\u8bf7\u6c42\uff0c\u4ece\u800c\u5c06\u5f53\u524d\u4e3b\u8bbe\u5907\u7684\u7ba1\u7406\u6743\u9650\u79fb\u4ea4\u7ed9\u53e6\u4e00\u8bbe\u5907\u3002\u8fd9\u4e00\u8fc7\u7a0b\u6d89\u53ca\u4e3b\u8bbe\u5907\u4e3b\u52a8\u91ca\u653e\u63a7\u5236\u6743\uff0c\u4ece\u8bbe\u5907\u63a5\u7ba1\u94fe\u8def\u7ba1\u7406\uff0c\u5e76\u91cd\u65b0\u5206\u914d\u65f6\u9699\u8d44\u6e90\u3002\u89d2\u8272\u4ea4\u6362\u673a\u5236\u7684\u5173\u952e\u5728\u4e8e\u4fdd\u8bc1\u5207\u6362\u8fc7\u7a0b\u4e2d\u94fe\u8def\u7684\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u901a\u4fe1\u4e2d\u65ad\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u8fd8\u53ef\u4ee5\u901a\u8fc7\u9884\u8bbe\u903b\u8f91\u548c\u667a\u80fd\u5316\u8c03\u5ea6\u5b9e\u73b0\u590d\u6742\u5e94\u7528\u573a\u666f\u4e0b\u7684\u89d2\u8272\u5207\u6362\u3002\u4f8b\u5982\uff0c\u5728\u84dd\u7259\u7f51\u7edc\u4e2d\uff0c\u4e00\u4e2a\u6a21\u5757\u53ef\u4ee5\u6839\u636e\u8bbe\u5907\u8d1f\u8f7d\u3001\u4fe1\u53f7\u5f3a\u5ea6\u6216\u5e94\u7528\u4f18\u5148\u7ea7\u52a8\u6001\u8c03\u6574\u89d2\u8272\u3002\u5f53\u6a21\u5757\u4f5c\u4e3a\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u4e3b\u8bbe\u5907\u540e\uff0c\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u53d8\u4e3a\u65b0\u7684\u4e3b\u8bbe\u5907\uff0c\u8fdb\u4e00\u6b65\u8fde\u63a5\u5176\u4ed6\u4ece\u8bbe\u5907\uff0c\u5f62\u6210\u94fe\u5f0f\u7f51\u7edc\u7ed3\u6784\u3002\u8fd9\u5728\u7269\u8054\u7f51\u573a\u666f\u4e2d\u5c24\u5176\u5e38\u89c1\uff0c\u4f8b\u5982\u4e00\u4e2a\u4f20\u611f\u5668\u8282\u70b9\u53ef\u4ee5\u5728\u91c7\u96c6\u6570\u636e\u540e\u5207\u6362\u89d2\u8272\uff0c\u4e3b\u52a8\u5c06\u6570\u636e\u4f20\u8f93\u5230\u5176\u4ed6\u8282\u70b9\u6216\u7f51\u5173\u8bbe\u5907\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u89d2\u8272\u5207\u6362\u4e0d\u4ec5\u9700\u8981\u5e95\u5c42\u534f\u8bae\u6808\u7684\u652f\u6301\uff0c\u8fd8\u9700\u8981\u6a21\u5757\u56fa\u4ef6\u8bbe\u8ba1\u5177\u5907\u4e00\u5b9a\u7684\u7075\u6d3b\u6027\u3002\u901a\u8fc7\u89d2\u8272\u7684\u52a8\u6001\u8c03\u6574\uff0c\u8fd9\u79cd\u6a21\u5757\u80fd\u591f\u9002\u5e94\u591a\u6837\u5316\u7684\u901a\u4fe1\u9700\u6c42\uff0c\u5728\u590d\u6742\u7f51\u7edc\u4e2d\u5b9e\u73b0\u9ad8\u6548\u534f\u540c\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u65e0\u7ebf\u6570\u636e\u4f20\u8f93\u3001\u7269\u8054\u7f51\u3001\u84dd\u7259\u97f3\u9891\u7b49\u9886\u57df\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u533b\u7597\u8bbe\u5907\u548c\u8f66\u8f7d\u901a\u4fe1\u7b49\u9886\u57df\u7684\u5e94\u7528\u6848\u4f8b\u975e\u5e38\u5e7f\u6cdb\u3002\u4ee5\u4e0b\u662f\u51e0\u4e2a\u5177\u4f53\u7684\u5e94\u7528\u6848\u4f8b\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u4e2d\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u5b9e\u73b0\u4e2d\u592e\u63a7\u5236\u5668\u4e0e\u591a\u4e2a\u4f20\u611f\u5668\u548c\u6267\u884c\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u4f8b\u5982\uff0c\u4e00\u4e2a\u4e2d\u592e\u63a7\u5236\u5668\u53ef\u4ee5\u901a\u8fc7\u4f4e\u529f\u8017\u84dd\u7259(BLE)\u8fde\u63a5\u591a\u4e2a\u6e29\u5ea6\u4f20\u611f\u5668\u3001\u5149\u7167\u4f20\u611f\u5668\u548c\u5f00\u5173\u63a7\u5236\u5668\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9\u5bb6\u5ead\u73af\u5883\u7684\u667a\u80fd\u8c03\u8282\u3002<\/p>\n\n\n\n \u3000\u3000\u53e6\u4e00\u4e2a\u5e94\u7528\u6848\u4f8b\u662f\u7a7a\u6c14\u68c0\u6d4b\u4eea\uff0c\u901a\u8fc7\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\uff0c\u4f20\u611f\u5668\u6570\u636e\u53ef\u4ee5\u4f20\u8f93\u5230\u4e2d\u592e\u5355\u5143\uff0c\u5e76\u901a\u8fc7\u624b\u673a\u7cfb\u7edf\u8fde\u63a5\u4e91\u7aef\uff0c\u5728\u5bb6\u5ead\u4e2d\u5b9e\u65f6\u76d1\u63a7\u7a7a\u6c14\u8d28\u91cf\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u751f\u4ea7\u7ebf\u4e0a\u7684\u591a\u4e2a\u4f20\u611f\u5668\u548c\u6267\u884c\u5668\u3002\u8fd9\u4e9b\u4f20\u611f\u5668\u548c\u6267\u884c\u5668\u53ef\u4ee5\u7528\u4e8e\u76d1\u6d4b\u751f\u4ea7\u7ebf\u4e0a\u7684\u5404\u79cd\u53c2\u6570\uff0c\u5e76\u6839\u636e\u9700\u8981\u81ea\u52a8\u8c03\u6574\u751f\u4ea7\u8fc7\u7a0b\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u8fd8\u53ef\u4ee5\u5e94\u7528\u4e8e\u81ea\u52a8\u5316\u6570\u636e\u91c7\u96c6\u7cfb\u7edf\uff0c\u5982\u6284\u8868\u7cfb\u7edf\uff0c\u901a\u8fc7\u65e0\u7ebf\u6284\u8868\u6280\u672f\u5b9e\u73b0\u8fdc\u7a0b\u6570\u636e\u4f20\u8f93\u548c\u7ba1\u7406\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u533b\u7597\u8bbe\u5907\u9886\u57df\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5404\u79cd\u533b\u7597\u8bbe\u5907\uff0c\u5982\u8840\u538b\u8ba1\u3001\u8840\u6c27\u4eea\u548c\u4f53\u6e29\u8ba1\u7b49\u3002\u8fd9\u4e9b\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7\u84dd\u7259\u6a21\u5757\u5b9e\u73b0\u6570\u636e\u7684\u65e0\u7ebf\u4f20\u8f93\u548c\u8fdc\u7a0b\u76d1\u63a7\uff0c\u4ece\u800c\u63d0\u9ad8\u533b\u7597\u670d\u52a1\u7684\u6548\u7387\u548c\u4fbf\u6377\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u53e6\u4e00\u4e2a\u5e94\u7528\u6848\u4f8b\u662f\u667a\u80fd\u7535\u8868\uff0c\u901a\u8fc7\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\uff0c\u7535\u8868\u53ef\u4ee5\u5b9e\u73b0\u8fdc\u7a0b\u65e0\u7ebf\u6570\u636e\u4f20\u8f93\u548c\u6284\u8868\uff0c\u964d\u4f4e\u4e86\u6539\u9020\u548c\u4f7f\u7528\u6210\u672c\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u8f66\u8f7d\u901a\u4fe1\u9886\u57df\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u8f66\u8f7d\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u548c\u901a\u4fe1\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u84dd\u7259\u6a21\u5757\uff0c\u8f66\u8f86\u5185\u90e8\u7684\u5404\u79cd\u4f20\u611f\u5668\u548c\u8bbe\u5907\u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u7684\u65e0\u7ebf\u4f20\u8f93\u548c\u5171\u4eab\uff0c\u4ece\u800c\u63d0\u9ad8\u8f66\u8f86\u7684\u667a\u80fd\u5316\u6c34\u5e73\u3002<\/p>\n\n\n\n \u3000\u3000\u8fd9\u4e9b\u5e94\u7528\u6848\u4f8b\u5c55\u793a\u4e86\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u4e0d\u540c\u9886\u57df\u7684\u5e7f\u6cdb\u5e94\u7528\u548c\u91cd\u8981\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u652f\u6301\u591a\u79cd\u8fd0\u884c\u6a21\u5f0f\uff0c\u8fd9\u4e9b\u6a21\u5f0f\u7684\u8bbe\u8ba1\u65e8\u5728\u9002\u5e94\u4e0d\u540c\u7684\u5e94\u7528\u9700\u6c42\uff0c\u5e76\u901a\u8fc7\u7075\u6d3b\u7684\u901a\u4fe1\u673a\u5236\u6ee1\u8db3\u590d\u6742\u7f51\u7edc\u73af\u5883\u4e0b\u7684\u529f\u80fd\u5b9e\u73b0\u3002\u8fd9\u4e9b\u6a21\u5f0f\u6db5\u76d6\u4e3b\u8bbe\u5907\u6a21\u5f0f(Master Mode)\u3001\u4ece\u8bbe\u5907\u6a21\u5f0f(Slave Mode)\u3001\u5e7f\u64ad\u6a21\u5f0f(Broadcast Mode)\u548c\u70b9\u5bf9\u70b9\u6a21\u5f0f(Peer-to-Peer Mode)\u7b49\uff0c\u5177\u4f53\u8fd0\u884c\u6a21\u5f0f\u7684\u9009\u62e9\u53d6\u51b3\u4e8e\u84dd\u7259\u6a21\u5757\u7684\u914d\u7f6e\u548c\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u4e3b\u8bbe\u5907\u6a21\u5f0f(Master Mode)\u4e0b\uff0c\u84dd\u7259\u6a21\u5757\u4e3b\u8981\u627f\u62c5\u53d1\u8d77\u8fde\u63a5\u548c\u7ba1\u7406\u901a\u4fe1\u94fe\u8def\u7684\u89d2\u8272\u3002\u4f5c\u4e3a\u4e3b\u8bbe\u5907\uff0c\u6a21\u5757\u53ef\u4ee5\u4e3b\u52a8\u626b\u63cf\u9644\u8fd1\u7684\u84dd\u7259\u8bbe\u5907\uff0c\u5e76\u5411\u9009\u5b9a\u7684\u4ece\u8bbe\u5907\u53d1\u9001\u8fde\u63a5\u8bf7\u6c42\u3002\u4e00\u65e6\u5efa\u7acb\u8fde\u63a5\uff0c\u4e3b\u8bbe\u5907\u8d1f\u8d23\u5206\u914d\u901a\u4fe1\u8d44\u6e90\uff0c\u4f8b\u5982\u9891\u7387\u8df3\u53d8\u548c\u65f6\u9699\u5206\u914d\uff0c\u4ece\u800c\u7ef4\u6301\u7a33\u5b9a\u7684\u6570\u636e\u4f20\u8f93\u3002\u8fd9\u79cd\u6a21\u5f0f\u5e38\u89c1\u4e8e\u9700\u8981\u4e3b\u52a8\u63a7\u5236\u7684\u573a\u666f\uff0c\u4f8b\u5982\u667a\u80fd\u624b\u673a\u4e0e\u84dd\u7259\u8033\u673a\u6216\u84dd\u7259\u97f3\u7bb1\u7684\u914d\u5bf9\u3002\u5728\u8fd9\u4e9b\u5e94\u7528\u4e2d\uff0c\u4e3b\u8bbe\u5907\u5bf9\u901a\u4fe1\u8fc7\u7a0b\u62e5\u6709\u7edd\u5bf9\u63a7\u5236\u6743\uff0c\u80fd\u591f\u5b9e\u73b0\u591a\u8bbe\u5907\u7684\u8fde\u63a5\u548c\u7ba1\u7406\u3002<\/p>\n\n\n\n \u3000\u3000\u4ece\u8bbe\u5907\u6a21\u5f0f(Slave Mode)\u662f\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u53e6\u4e00\u79cd\u5e38\u7528\u8fd0\u884c\u6a21\u5f0f\u3002\u5728\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c\u84dd\u7259\u6a21\u5757\u4f1a\u4ee5\u88ab\u52a8\u89d2\u8272\u8fd0\u884c\uff0c\u7b49\u5f85\u4e3b\u8bbe\u5907\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u5e76\u6839\u636e\u4e3b\u8bbe\u5907\u7684\u6307\u4ee4\u8fdb\u884c\u6570\u636e\u63a5\u6536\u548c\u54cd\u5e94\u3002\u4ece\u8bbe\u5907\u6a21\u5f0f\u901a\u5e38\u7528\u4e8e\u4f4e\u529f\u8017\u7684\u8bbe\u5907\u4e2d\uff0c\u4f8b\u5982\u84dd\u7259\u4f20\u611f\u5668\u6216\u667a\u80fd\u624b\u73af\uff0c\u8fd9\u4e9b\u8bbe\u5907\u901a\u8fc7\u4ece\u52a8\u89d2\u8272\u5b9e\u73b0\u4f4e\u80fd\u8017\u7684\u901a\u4fe1\u65b9\u5f0f\u3002\u6b64\u5916\uff0c\u4ece\u8bbe\u5907\u6a21\u5f0f\u652f\u6301\u591a\u79cd\u4f4e\u529f\u8017\u6280\u672f\uff0c\u4f8b\u5982\u84dd\u7259\u4f4e\u529f\u8017(BLE)\u7684\u5e7f\u64ad\u548c\u8fde\u63a5\u6a21\u5f0f\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5ef6\u957f\u7535\u6c60\u5bff\u547d\u3002<\/p>\n\n\n\n \u3000\u3000\u5e7f\u64ad\u6a21\u5f0f(Broadcast Mode)\u662f\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u652f\u6301\u7684\u4e00\u79cd\u7279\u6b8a\u6a21\u5f0f\u3002\u5728\u5e7f\u64ad\u6a21\u5f0f\u4e0b\uff0c\u84dd\u7259\u6a21\u5757\u4ee5\u4e0d\u9700\u8981\u5efa\u7acb\u70b9\u5bf9\u70b9\u8fde\u63a5\u7684\u65b9\u5f0f\u5411\u5468\u56f4\u8bbe\u5907\u53d1\u9001\u5e7f\u64ad\u6570\u636e\u3002\u8fd9\u79cd\u6a21\u5f0f\u901a\u5e38\u7528\u4e8e\u4e00\u5bf9\u591a\u7684\u573a\u666f\uff0c\u4f8b\u5982iBeacon\u6216Eddystone\u534f\u8bae\u4e0b\u7684\u4f4d\u7f6e\u4fe1\u6807\uff0c\u901a\u8fc7\u5468\u671f\u6027\u5730\u53d1\u9001\u5e7f\u64ad\u5305\uff0c\u8ba9\u5176\u4ed6\u84dd\u7259\u8bbe\u5907\u80fd\u591f\u63a5\u6536\u548c\u89e3\u6790\u5e7f\u64ad\u4fe1\u606f\u3002\u8fd9\u79cd\u6a21\u5f0f\u7684\u4f18\u52bf\u5728\u4e8e\u9ad8\u6548\u6027\u548c\u7b80\u5316\u7684\u901a\u4fe1\u6d41\u7a0b\uff0c\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u4fe1\u606f\u4f20\u9012\u548c\u8bbe\u5907\u53d1\u73b0\u3002<\/p>\n\n\n\n \u3000\u3000\u70b9\u5bf9\u70b9\u6a21\u5f0f(Peer-to-Peer Mode)\u5219\u5141\u8bb8\u4e24\u4e2a\u8bbe\u5907\u5728\u6ca1\u6709\u660e\u786e\u4e3b\u4ece\u5173\u7cfb\u7684\u60c5\u51b5\u4e0b\u8fdb\u884c\u901a\u4fe1\u3002\u8fd9\u79cd\u6a21\u5f0f\u4f9d\u8d56\u4e8e\u84dd\u7259\u534f\u8bae\u7684\u7075\u6d3b\u6027\uff0c\u4e24\u4e2a\u8bbe\u5907\u53ef\u4ee5\u5728\u901a\u4fe1\u8fc7\u7a0b\u4e2d\u52a8\u6001\u5730\u4ea4\u6362\u89d2\u8272\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u53cc\u5411\u4f20\u8f93\u3002\u70b9\u5bf9\u70b9\u6a21\u5f0f\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6587\u4ef6\u4f20\u8f93\u548c\u5b9e\u65f6\u6570\u636e\u5171\u4eab\u7684\u573a\u666f\uff0c\u4f8b\u5982\u84dd\u7259\u4f20\u8f93\u6587\u4ef6\u6216\u84dd\u7259\u804a\u5929\u5e94\u7528\uff0c\u6a21\u5757\u4e4b\u95f4\u53ef\u4ee5\u5feb\u901f\u5efa\u7acb\u8fde\u63a5\u5e76\u8fdb\u884c\u9ad8\u6548\u7684\u6570\u636e\u4ea4\u4e92\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u591a\u79cd\u8fd0\u884c\u6a21\u5f0f\u6db5\u76d6\u4e86\u70b9\u5bf9\u70b9\u901a\u4fe1\u3001\u4e00\u5bf9\u591a\u5e7f\u64ad\u4ee5\u53ca\u4f4e\u529f\u8017\u7684\u4ece\u52a8\u6a21\u5f0f\uff0c\u80fd\u591f\u6ee1\u8db3\u4ece\u6d88\u8d39\u7535\u5b50\u5230\u7269\u8054\u7f51\u7b49\u5404\u9886\u57df\u7684\u901a\u4fe1\u9700\u6c42\u3002\u8fd9\u4e9b\u6a21\u5f0f\u7684\u7075\u6d3b\u5207\u6362\u4e0d\u4ec5\u63d0\u5347\u4e86\u6a21\u5757\u7684\u9002\u7528\u6027\uff0c\u4e5f\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n \u3000\u3000\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u4e0e\u4f20\u7edf\u84dd\u7259\u6a21\u5757\u76f8\u6bd4\uff0c\u5728\u6210\u672c\u548c\u6613\u7528\u6027\u65b9\u9762\u5177\u6709\u663e\u8457\u4f18\u52bf\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\u786c\u4ef6\u9700\u6c42\u51cf\u5c11\u3001\u8bbe\u8ba1\u7075\u6d3b\u6027\u63d0\u5347\u4ee5\u53ca\u7b80\u5316\u7684\u5f00\u53d1\u8fc7\u7a0b\u3002\u8fd9\u4e9b\u7279\u70b9\u4f7f\u5f97\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u6210\u4e3a\u8bb8\u591a\u73b0\u4ee3\u5e94\u7528\u4e2d\u66f4\u4e3a\u7406\u60f3\u7684\u9009\u62e9\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u6210\u672c\u65b9\u9762\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u901a\u8fc7\u5c06\u4e3b\u8bbe\u5907\u548c\u4ece\u8bbe\u5907\u7684\u529f\u80fd\u96c6\u6210\u5728\u540c\u4e00\u786c\u4ef6\u4e2d\uff0c\u5927\u5e45\u51cf\u5c11\u4e86\u8bbe\u8ba1\u4e2d\u5bf9\u591a\u4e2a\u6a21\u5757\u7684\u9700\u6c42\u3002\u4f20\u7edf\u84dd\u7259\u89e3\u51b3\u65b9\u6848\u5f80\u5f80\u9700\u8981\u5206\u522b\u91c7\u8d2d\u4e3b\u8bbe\u5907\u548c\u4ece\u8bbe\u5907\u6a21\u5757\u4ee5\u6ee1\u8db3\u4e0d\u540c\u901a\u4fe1\u9700\u6c42\uff0c\u800c\u4e3b\u4ece\u4e00\u4f53\u6a21\u5757\u5219\u80fd\u591f\u52a8\u6001\u5207\u6362\u89d2\u8272\uff0c\u65e0\u9700\u989d\u5916\u589e\u52a0\u786c\u4ef6\u7ec4\u4ef6\u3002\u8fd9\u79cd\u9ad8\u5ea6\u96c6\u6210\u7684\u8bbe\u8ba1\u4e0d\u4ec5\u964d\u4f4e\u4e86\u8bbe\u5907\u7684\u7269\u6599\u6210\u672c(BOM)\uff0c\u8fd8\u51cf\u5c11\u4e86\u786c\u4ef6\u5e03\u5c40\u7684\u590d\u6742\u6027\uff0c\u4ece\u800c\u8fdb\u4e00\u6b65\u964d\u4f4e\u4e86\u751f\u4ea7\u548c\u7ef4\u62a4\u7684\u6210\u672c\u3002\u6b64\u5916\uff0c\u6a21\u5757\u7684\u9ad8\u5ea6\u96c6\u6210\u4e5f\u610f\u5473\u7740\u66f4\u4f4e\u7684\u529f\u8017\u548c\u66f4\u5c0f\u7684\u4f53\u79ef\uff0c\u8fd9\u5bf9\u4fbf\u643a\u5f0f\u548c\u5d4c\u5165\u5f0f\u8bbe\u5907\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n\n\n\n \u3000\u3000\u6613\u7528\u6027\u662f\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u53e6\u4e00\u5927\u4f18\u52bf\u3002\u5728\u4f20\u7edf\u84dd\u7259\u6a21\u5757\u4e2d\uff0c\u5f00\u53d1\u8005\u9700\u8981\u5728\u8bbe\u8ba1\u9636\u6bb5\u660e\u786e\u8bbe\u5907\u7684\u4e3b\u4ece\u89d2\u8272\uff0c\u5e76\u4e3a\u4e0d\u540c\u7684\u901a\u4fe1\u573a\u666f\u51c6\u5907\u5bf9\u5e94\u7684\u786c\u4ef6\u548c\u56fa\u4ef6\u3002\u800c\u4e3b\u4ece\u4e00\u4f53\u6a21\u5757\u901a\u8fc7\u5185\u7f6e\u7684\u89d2\u8272\u5207\u6362\u529f\u80fd\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u8fd0\u884c\u65f6\u6839\u636e\u5e94\u7528\u9700\u6c42\u52a8\u6001\u8c03\u6574\u89d2\u8272\u3002\u8fd9\u79cd\u7075\u6d3b\u6027\u4e0d\u4ec5\u51cf\u5c11\u4e86\u5f00\u53d1\u524d\u671f\u7684\u89c4\u5212\u5de5\u4f5c\uff0c\u8fd8\u4f7f\u5f97\u6a21\u5757\u80fd\u591f\u9002\u5e94\u590d\u6742\u591a\u53d8\u7684\u5e94\u7528\u573a\u666f\uff0c\u4f8b\u5982\u5728\u7269\u8054\u7f51\u7f51\u7edc\u4e2d\u540c\u65f6\u5145\u5f53\u6570\u636e\u91c7\u96c6\u7aef\u548c\u63a7\u5236\u7aef\u3002\u8fd9\u79cd\u7279\u6027\u6781\u5927\u5730\u7b80\u5316\u4e86\u5f00\u53d1\u6d41\u7a0b\uff0c\u63d0\u9ad8\u4e86\u4ea7\u54c1\u5f00\u53d1\u6548\u7387\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u901a\u5e38\u63d0\u4f9b\u66f4\u5b8c\u5584\u7684\u534f\u8bae\u6808\u652f\u6301\u548c\u7528\u6237\u53cb\u597d\u7684\u5f00\u53d1\u63a5\u53e3\u3002\u4f8b\u5982\uff0c\u8fd9\u4e9b\u6a21\u5757\u901a\u5e38\u5e26\u6709\u9884\u5148\u914d\u7f6e\u7684AT\u6307\u4ee4\u96c6\u6216\u53ef\u7f16\u7a0b\u7684API\uff0c\u4f7f\u5f00\u53d1\u8005\u65e0\u9700\u6df1\u5165\u4e86\u89e3\u84dd\u7259\u534f\u8bae\u7684\u590d\u6742\u7ec6\u8282\u5373\u53ef\u5b9e\u73b0\u6a21\u5757\u7684\u5feb\u901f\u96c6\u6210\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u4f20\u7edf\u84dd\u7259\u6a21\u5757\u5728\u529f\u80fd\u6269\u5c55\u548c\u517c\u5bb9\u6027\u4e0a\u53ef\u80fd\u66f4\u4e3a\u5c40\u9650\uff0c\u5f00\u53d1\u8005\u5f80\u5f80\u9700\u8981\u82b1\u8d39\u66f4\u591a\u65f6\u95f4\u5728\u5e95\u5c42\u534f\u8bae\u8c03\u8bd5\u4e0a\u3002\u8fd9\u79cd\u7b80\u5316\u7684\u5f00\u53d1\u4f53\u9a8c\uff0c\u4e0d\u4ec5\u964d\u4f4e\u4e86\u6280\u672f\u95e8\u69db\uff0c\u8fd8\u7f29\u77ed\u4e86\u4ea7\u54c1\u4e0a\u5e02\u7684\u65f6\u95f4\u3002<\/p>\n\n\n\n \u3000\u3000\u603b\u4f53\u800c\u8a00\uff0c\u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u901a\u8fc7\u964d\u4f4e\u786c\u4ef6\u9700\u6c42\u3001\u63d0\u4f9b\u7075\u6d3b\u7684\u89d2\u8272\u5207\u6362\u529f\u80fd\u4ee5\u53ca\u7b80\u5316\u5f00\u53d1\u8fc7\u7a0b\uff0c\u5b9e\u73b0\u4e86\u6210\u672c\u548c\u6613\u7528\u6027\u7684\u53cc\u91cd\u4f18\u5316\u3002\u8fd9\u4e9b\u4f18\u52bf\u4f7f\u5176\u5728\u7269\u8054\u7f51\u8bbe\u5907\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u667a\u80fd\u5bb6\u5c45\u7b49\u9886\u57df\u4e2d\u5f97\u5230\u4e86\u5e7f\u6cdb\u5e94\u7528\uff0c\u6210\u4e3a\u4f20\u7edf\u84dd\u7259\u6a21\u5757\u7684\u6709\u6548\u66ff\u4ee3\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u7684\u5f15\u5165\uff0c\u4f7f\u5f97\u84dd\u7259\u8bbe\u5907\u53ef\u4ee5\u4f5c\u4e3a\u4e2d\u7ee7\u5668\uff0c\u6536\u96c6\u5916\u56f4\u8282\u70b9\u7684\u4fe1\u606f\u5e76\u4e0a\u62a5\u7ed9\u4e3b\u63a7\u7ec8\u7aef\uff0c\u5982\u667a\u80fd\u624b\u673a\u6216\u7535\u8111\uff0c\u4ece\u800c\u5b9e\u73b0\u4fe1\u606f\u7684\u96c6\u4e2d\u7ba1\u7406\u548c\u663e\u793a<\/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":[434],"class_list":["post-100311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-bluetoothmodule"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/100311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=100311"}],"version-history":[{"count":1,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/100311\/revisions"}],"predecessor-version":[{"id":100312,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/100311\/revisions\/100312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/97709"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=100311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=100311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=100311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u84dd\u72594.1\u89c4\u8303\u4e2d\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e8c\u3001 \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5982\u4f55\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u5207\u6362\u89d2\u8272?<\/h2>\n\n\n\n
\u3000\u3000\u4e09\u3001 \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u5728\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u533b\u7597\u8bbe\u5907\u548c\u8f66\u8f7d\u901a\u4fe1\u7b49\u9886\u57df\u7684\u5e94\u7528?<\/h2>\n\n\n\n
\u3000\u30001. \u667a\u80fd\u5bb6\u5c45<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u5de5\u4e1a\u81ea\u52a8\u5316<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u533b\u7597\u8bbe\u5907<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u8f66\u8f7d\u901a\u4fe1<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u56db\u3001 \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u652f\u6301\u7684\u591a\u79cd\u8fd0\u884c\u6a21\u5f0f\u5177\u4f53\u5305\u62ec\u54ea\u4e9b?<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u4e3b\u4ece\u4e00\u4f53\u84dd\u7259\u6a21\u5757\u4e0e\u4f20\u7edf\u84dd\u7259\u6a21\u5757\u76f8\u6bd4\uff0c\u5728\u6210\u672c\u548c\u6613\u7528\u6027\u65b9\u9762\u6709\u54ea\u4e9b\u4f18\u52bf?<\/h2>\n\n\n\n