{"id":97086,"date":"2024-08-22T15:12:36","date_gmt":"2024-08-22T07:12:36","guid":{"rendered":"\/\/www.viralrail.com\/?p=97086"},"modified":"2024-08-22T15:12:45","modified_gmt":"2024-08-22T07:12:45","slug":"lnzrwfsgaq","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/97086.html","title":{"rendered":"LoRa\u54ea\u79cd\u5165\u7f51\u65b9\u5f0f\u66f4\u5b89\u5168"},"content":{"rendered":"\n
\u3000\u3000LoRa\u8bbe\u5907<\/strong>\u53ef\u4ee5\u901a\u8fc7\u4e24\u79cd\u4e3b\u8981\u65b9\u5f0f\u63a5\u5165LoRaWAN\u7f51\u7edc\uff1aOTAA\uff08Over-The-Air Activation\uff09\u548cABP\uff08Activation By Personalization\uff09<\/strong>\u3002\u8fd9\u4e24\u79cd\u65b9\u5f0f\u5404\u6709\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000\u63cf\u8ff0<\/strong>\uff1aOTAA\u662f\u4e00\u79cd\u52a8\u6001\u5165\u7f51\u65b9\u5f0f\uff0c\u8bbe\u5907\u901a\u8fc7\u4e0eLoRaWAN\u7f51\u7edc\u670d\u52a1\u5668\u8fdb\u884c\u63e1\u624b\u548c\u534f\u5546\uff0c\u751f\u6210\u552f\u4e00\u7684\u5165\u7f51\u5bc6\u94a5\u548c\u4f1a\u8bdd\u5bc6\u94a5\u3002\u8fd9\u4e9b\u5bc6\u94a5\u7528\u4e8e\u52a0\u5bc6\u548c\u89e3\u5bc6\u6570\u636e\u4f20\u8f93\uff0c\u786e\u4fdd\u901a\u4fe1\u5b89\u5168\u3002\u6bcf\u6b21\u8bbe\u5907\u91cd\u542f\u6216\u91cd\u65b0\u5165\u7f51\u65f6\uff0c\u90fd\u4f1a\u91cd\u65b0\u751f\u6210\u5bc6\u94a5\u3002<\/p>\n\n\n\n \u3000\u3000\u6d41\u7a0b<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u8bbe\u5907\u53d1\u9001\u5165\u7f51\u8bf7\u6c42(Join Request)\u7ed9LoRaWAN\u7f51\u7edc\u3002<\/p>\n\n\n\n \u3000\u3000\u7f51\u7edc\u670d\u52a1\u5668\u9a8c\u8bc1\u8bbe\u5907\u8eab\u4efd\u540e\uff0c\u53d1\u9001\u52a0\u5165\u63a5\u53d7\u6d88\u606f(Join Accept)\uff0c\u5e76\u63d0\u4f9b\u7f51\u7edc\u53c2\u6570\u3002<\/p>\n\n\n\n \u3000\u3000\u8bbe\u5907\u6536\u5230\u6d88\u606f\u540e\uff0c\u751f\u6210\u4f1a\u8bdd\u5bc6\u94a5\u5e76\u5b8c\u6210\u5165\u7f51\u3002<\/p>\n\n\n\n \u3000\u3000\u4f18\u70b9<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5b89\u5168\u6027\u9ad8<\/strong>\uff1a\u6bcf\u6b21\u5165\u7f51\u751f\u6210\u65b0\u7684\u4f1a\u8bdd\u5bc6\u94a5\uff0c\u63d0\u5347\u4e86\u901a\u4fe1\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u52a8\u6001\u914d\u7f6e<\/strong>\uff1a\u53ef\u4ee5\u6839\u636e\u7f51\u7edc\u60c5\u51b5\u81ea\u52a8\u8c03\u6574\u53c2\u6570\uff0c\u9002\u5e94\u6027\u5f3a\u3002<\/p>\n\n\n\n \u3000\u3000\u7f3a\u70b9<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5ef6\u8fdf<\/strong>\uff1a\u5165\u7f51\u8fc7\u7a0b\u4e2d\u9700\u8981\u8fdb\u884c\u63e1\u624b\u548c\u5bc6\u94a5\u4ea4\u6362\uff0c\u53ef\u80fd\u5bfc\u81f4\u4e00\u5b9a\u7684\u5ef6\u8fdf\u3002<\/p>\n\n\n\n \u3000\u3000\u590d\u6742\u6027<\/strong>\uff1a\u914d\u7f6e\u548c\u7ba1\u7406\u76f8\u5bf9\u590d\u6742\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u521d\u59cb\u8bbe\u7f6e\u3002<\/p>\n\n\n\n \u3000\u3000\u63cf\u8ff0<\/strong>\uff1aABP\u662f\u4e00\u79cd\u9759\u6001\u5165\u7f51\u65b9\u5f0f\uff0c\u8bbe\u5907\u7684\u7f51\u7edc\u53c2\u6570(\u5982DevAddr\u3001NwkSKey\u3001AppSKey\u7b49)\u5728\u51fa\u5382\u6216\u90e8\u7f72\u65f6\u5df2\u7ecf\u9884\u5148\u914d\u7f6e\u597d\uff0c\u4e0d\u9700\u8981\u901a\u8fc7\u7a7a\u4e2d\u6fc0\u6d3b\u6d41\u7a0b\u3002\u8fd9\u4e9b\u53c2\u6570\u5728\u8bbe\u5907\u751f\u547d\u5468\u671f\u5185\u4fdd\u6301\u4e0d\u53d8\uff0c\u8bbe\u5907\u53ef\u4ee5\u7acb\u5373\u8fde\u63a5\u5230LoRaWAN\u7f51\u7edc\uff0c\u65e0\u9700\u8fdb\u884c\u5165\u7f51\u8bf7\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000\u6d41\u7a0b<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u8bbe\u5907\u51fa\u5382\u6216\u90e8\u7f72\u65f6\uff0c\u9884\u5148\u914d\u7f6e\u597d\u7f51\u7edc\u53c2\u6570\u3002<\/p>\n\n\n\n \u3000\u3000\u8bbe\u5907\u76f4\u63a5\u4f7f\u7528\u8fd9\u4e9b\u53c2\u6570\u8fdb\u884c\u6570\u636e\u901a\u4fe1\uff0c\u65e0\u9700\u91cd\u65b0\u5165\u7f51\u3002<\/p>\n\n\n\n \u3000\u3000\u4f18\u70b9<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u4f4e\u5ef6\u8fdf<\/strong>\uff1a\u65e0\u9700\u63e1\u624b\u8fc7\u7a0b\uff0c\u8bbe\u5907\u53ef\u4ee5\u7acb\u5373\u5f00\u59cb\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u914d\u7f6e\u7b80\u5355\uff0c\u9002\u5408\u5feb\u901f\u90e8\u7f72\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000\u7f3a\u70b9<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5b89\u5168\u6027\u8f83\u4f4e<\/strong>\uff1a\u4f7f\u7528\u56fa\u5b9a\u7684\u5bc6\u94a5\uff0c\u5b58\u5728\u5bc6\u94a5\u6cc4\u9732\u98ce\u9669\uff0c\u65e0\u6cd5\u52a8\u6001\u66f4\u65b0\u3002<\/p>\n\n\n\n \u3000\u3000\u7075\u6d3b\u6027\u5dee<\/strong>\uff1a\u7f51\u7edc\u53c2\u6570\u56fa\u5b9a\uff0c\u65e0\u6cd5\u6839\u636e\u7f51\u7edc\u60c5\u51b5\u52a8\u6001\u8c03\u6574\u3002<\/p>\n\n\n\n \u3000\u3000OTAA<\/strong> \u9002\u5408\u5bf9\u5b89\u5168\u6027\u8981\u6c42\u8f83\u9ad8\u3001\u9700\u8981\u52a8\u6001\u8c03\u6574\u7f51\u7edc\u53c2\u6570\u7684\u5e94\u7528\u573a\u666f\uff0c\u5982\u5927\u89c4\u6a21\u90e8\u7f72\u6216\u73af\u5883\u53d8\u5316\u9891\u7e41\u7684\u7269\u8054\u7f51\u8bbe\u5907\u3002<\/p>\n\n\n\n \u3000\u3000ABP<\/strong> \u5219\u66f4\u9002\u5408\u5bf9\u90e8\u7f72\u901f\u5ea6\u8981\u6c42\u9ad8\u3001\u5bf9\u5b89\u5168\u6027\u548c\u7075\u6d3b\u6027\u8981\u6c42\u8f83\u4f4e\u7684\u573a\u666f\uff0c\u5982\u5c0f\u89c4\u6a21\u90e8\u7f72\u6216\u56fa\u5b9a\u73af\u5883\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n \u3000\u3000OTAA\u5165\u7f51\u65b9\u5f0f\u76f8\u8f83\u4e8eABP\u5165\u7f51\u65b9\u5f0f\u66f4\u4e3a\u5b89\u5168\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u5b89\u5168\u6027\u548c\u9632\u6b62\u5bc6\u94a5\u6cc4\u9732\u7684\u5e94\u7528\u573a\u666f\u4e2d\u3002\u56e0\u6b64\uff0c\u5728\u9009\u62e9LoRa\u5165\u7f51\u65b9\u5f0f\u65f6\uff0c\u5efa\u8bae\u4f18\u5148\u8003\u8651\u4f7f\u7528OTAA\u65b9\u5f0f\u4ee5\u63d0\u9ad8\u6574\u4f53\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n \u3000\u3000LoRa OTAA\u548cABP\u6a21\u5f0f\u7684\u5177\u4f53\u5b89\u5168\u6f0f\u6d1e\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000OTAA\u6a21\u5f0f\u867d\u7136\u88ab\u8ba4\u4e3a\u662f\u6700\u5b89\u5168\u7684\u6fc0\u6d3b\u65b9\u6cd5\uff0c\u4f46\u4ecd\u5b58\u5728\u4e00\u4e9b\u5982\u91cd\u653e\u3001\u6bd4\u7279\u7ffb\u8f6c\u548cACK\u6b3a\u9a97\u7b49\u6f0f\u6d1e\u3002\u800cABP\u6a21\u5f0f\u5219\u56e0\u4e3a\u4f7f\u7528\u56fa\u5b9a\u5bc6\u94a5\uff0c\u5728\u8bbe\u5907\u4e22\u5931\u6216\u88ab\u76d7\u540e\u9762\u4e34\u66f4\u5927\u7684\u5b89\u5168\u98ce\u9669\uff0c\u5e76\u4e14\u4e5f\u5bb9\u6613\u53d7\u5230\u6570\u636e\u5305\u91cd\u653e\u548c\u7a83\u542c\u7b49\u653b\u51fb\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u8bc4\u4f30LoRa OTAA\u4e0eABP\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u6027\u80fd\u548c\u5b89\u5168\u6027\u65f6\uff0c\u9700\u8981\u4ece\u591a\u4e2a\u65b9\u9762\u8fdb\u884c\u5206\u6790\u3002<\/p>\n\n\n\n \u3000\u3000\u5165\u7f51\u6d41\u7a0b\u590d\u6742\u5ea6<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000OTAA(Over-The-Air Activation)\u7684\u7ec8\u7aef\u5165\u7f51\u6d41\u7a0b\u76f8\u5bf9\u6bd4\u8f83\u590d\u6742\uff0c\u56e0\u4e3a\u5b83\u9700\u8981\u6267\u884c\u4e00\u6b21\u5b8c\u6574\u7684\u5165\u7f51\u8fc7\u7a0b\uff0c\u5305\u62ec\u52a8\u6001\u751f\u6210\u5bc6\u94a5\u548c\u5730\u5740\u3002<\/p>\n\n\n\n \u3000\u3000ABP(Activation By Personalization)\u5219\u7b80\u5316\u4e86\u5165\u7f51\u6d41\u7a0b\uff0c\u56e0\u4e3a\u5b83\u7684\u5bc6\u94a5\u5728\u51fa\u5382\u65f6\u5df2\u7ecf\u914d\u7f6e\u597d\uff0c\u7ec8\u7aef\u53ea\u9700\u901a\u8fc7\u4e2a\u6027\u5316\u4fe1\u606f\u6fc0\u6d3b\u5373\u53ef\u3002\u8fd9\u4f7f\u5f97ABP\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u66f4\u4e3a\u9ad8\u6548\u548c\u4fbf\u6377\u3002<\/p>\n\n\n\n \u3000\u3000\u80fd\u8017\u7ba1\u7406<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000ABP\u65b9\u5f0f\u53ef\u4ee5\u5b9e\u73b0\u4e0a\u7535\u4f11\u7720\u8282\u80fd\uff0c\u9002\u5408\u5bf9\u80fd\u8017\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u76f8\u6bd4\u4e4b\u4e0b\uff0cOTAA\u65b9\u5f0f\u5728\u6bcf\u6b21\u901a\u4fe1\u524d\u90fd\u9700\u8981\u91cd\u65b0\u534f\u5546\u5bc6\u94a5\u548c\u5730\u5740\uff0c\u53ef\u80fd\u4f1a\u589e\u52a0\u4e00\u5b9a\u7684\u80fd\u8017\u3002<\/p>\n\n\n\n \u3000\u3000\u5bc6\u94a5\u7ba1\u7406<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000OTAA\u65b9\u5f0f\u7684\u5b89\u5168\u6027\u66f4\u9ad8\uff0c\u56e0\u4e3a\u5176\u5bc6\u94a5\u662f\u5728\u7a7a\u4e2d\u63e1\u624b\u7684\u65f6\u5019\u751f\u6210\uff0c\u5e76\u4e14\u53ef\u4ee5\u5b9a\u671f\u66f4\u65b0\u3002\u8fd9\u79cd\u65b9\u5f0f\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u5b89\u5168\u4fdd\u969c\uff0c\u80fd\u591f\u6709\u6548\u9632\u6b62\u88ab\u653b\u51fb\u8005\u7a83\u53d6\u6216\u91cd\u653e\u52a0\u5bc6\u6570\u636e\u3002<\/p>\n\n\n\n \u3000\u3000ABP\u65b9\u5f0f\u7684\u5bc6\u94a5\u662f\u56fa\u5b9a\u914d\u7f6e\u7684\uff0c\u5728\u6574\u4e2a\u8bbe\u5907\u751f\u547d\u5468\u671f\u5185\u4e0d\u4f1a\u6539\u53d8\uff0c\u56e0\u6b64\u65e0\u6cd5\u52a8\u6001\u66f4\u65b0\u5bc6\u94a5\uff0c\u5b89\u5168\u6027\u8f83\u4f4e\u3002<\/p>\n\n\n\n \u3000\u3000\u7aef\u5230\u7aef\u52a0\u5bc6\u548c\u8ba4\u8bc1<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000LoRa\u6280\u672f\u5177\u5907\u7aef\u5230\u7aef\u52a0\u5bc6\u3001\u53cc\u5411\u8ba4\u8bc1\u548c\u5b8c\u6574\u6027\u4fdd\u62a4\u7b49\u7279\u6027\uff0c\u8fd9\u4e9b\u7279\u6027\u5728OTAA\u65b9\u5f0f\u4e2d\u5f97\u5230\u4e86\u66f4\u597d\u7684\u5229\u7528\uff0c\u4ece\u800c\u589e\u5f3a\u4e86\u6574\u4f53\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n \u3000\u3000ABP\u65b9\u5f0f\u7531\u4e8e\u5bc6\u94a5\u56fa\u5b9a\uff0c\u867d\u7136\u4e5f\u652f\u6301\u57fa\u672c\u7684\u52a0\u5bc6\u548c\u8ba4\u8bc1\uff0c\u4f46\u5728\u52a8\u6001\u66f4\u65b0\u548c\u7075\u6d3b\u6027\u4e0a\u4e0d\u5982OTAA\u3002<\/p>\n\n\n\n \u3000\u3000\u5e94\u7528\u573a\u666f\u9002\u5e94\u6027<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8e\u9700\u8981\u9ad8\u5b89\u5168\u6027\u7684\u5e94\u7528\uff0c\u5982\u91d1\u878d\u652f\u4ed8\u3001\u667a\u80fd\u7535\u7f51\u7b49\uff0c\u63a8\u8350\u4f7f\u7528OTAA\u65b9\u5f0f\u3002<\/p>\n\n\n\n \u3000\u3000\u800c\u5bf9\u4e8e\u4e00\u4e9b\u5bf9\u80fd\u8017\u8981\u6c42\u8f83\u9ad8\u4e14\u5bf9\u5b89\u5168\u6027\u8981\u6c42\u4e0d\u662f\u7279\u522b\u9ad8\u7684\u5e94\u7528\uff0c\u5982\u73af\u5883\u76d1\u6d4b\u3001\u519c\u4e1a\u4f20\u611f\u7b49\uff0cABP\u65b9\u5f0f\u53ef\u80fd\u66f4\u52a0\u5408\u9002\u3002<\/p>\n\n\n\n \u3000\u3000\u603b\u4f53\u800c\u8a00\uff0cOTAA\u65b9\u5f0f\u5728\u5b89\u5168\u6027\u65b9\u9762\u5177\u6709\u660e\u663e\u4f18\u52bf\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u52a8\u6001\u66f4\u65b0\u5bc6\u94a5\u548c\u5730\u5740\u7684\u573a\u666f\u4e0b\u3002\u7136\u800c\uff0c\u5728\u67d0\u4e9b\u7279\u5b9a\u7684\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u5982\u5bf9\u80fd\u8017\u6709\u4e25\u683c\u8981\u6c42\u7684\u8bbe\u5907\uff0cABP\u65b9\u5f0f\u5219\u663e\u5f97\u66f4\u4e3a\u9ad8\u6548\u548c\u5b9e\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u5728LoRa OTAA\u6fc0\u6d3b\u6d41\u7a0b\u4e2d\uff0c\u4e3a\u4e86\u6709\u6548\u9632\u6b62\u5bc6\u94a5\u6cc4\u9732\u548c\u4fdd\u62a4\u8bbe\u5907\u5b89\u5168\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728LoRaWAN\u4e2d\uff0c\u9488\u5bf9OTAA(Over-The-Air Activation)\u548cABP(Activation By Personalization)\u7684\u5b89\u5168\u6700\u4f73\u5b9e\u8df5\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528\u72ec\u7acb\u7684\u968f\u673a\u6570\u53d1\u751f\u5668<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u786e\u4fdd\u4f2a\u968f\u673a\u6570\u53d1\u751f\u5668\u7684\u201c\u79cd\u5b50\u201d\u503c\u4e0d\u4f1a\u6cc4\u9732\u3002\u8fd9\u662f\u4e3a\u4e86\u9632\u6b62\u653b\u51fb\u8005\u901a\u8fc7\u9884\u6d4b\u6216\u91cd\u653e\u653b\u51fb\u6765\u83b7\u53d6\u8bbe\u5907\u7684\u4f1a\u8bdd\u5bc6\u94a5\u3002<\/p>\n\n\n\n \u3000\u3000\u4fdd\u62a4\u7f51\u7edc\u4f1a\u8bdd\u5bc6\u94a5\u548c\u5e94\u7528\u4f1a\u8bdd\u5bc6\u94a5<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728OTAA\u6d41\u7a0b\u5b8c\u6210\u4e4b\u540e\uff0c\u8282\u70b9\u751f\u6210\u7684\u7f51\u7edc\u4f1a\u8bdd\u5bc6\u94a5(NwkSKey)\u548c\u5e94\u7528\u4f1a\u8bdd\u5bc6\u94a5(AppSKey)\u9700\u8981\u4fdd\u5b58\u5728\u8282\u70b9\u6a21\u7ec4\u4e2d\uff0c\u5e76\u4e14\u4e0d\u8981\u901a\u8fc7AT\u6307\u4ee4\u96c6\u6216\u5176\u4ed6MCU\u95f4\u901a\u4fe1\u534f\u8bae\u5728UART\/SPI\u7b49\u63a5\u53e3\u4e0a\u660e\u6587\u4f20\u8f93\u8fd9\u4e9b\u5bc6\u94a5\u3002<\/p>\n\n\n\n \u3000\u3000\u52a0\u5bc6\u548c\u5b8c\u6574\u6027\u4fdd\u62a4<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000LoRaWAN\u63d0\u4f9b\u4e86\u52a0\u5bc6\u548c\u5b8c\u6574\u6027\u4fdd\u62a4MIC(Message Integrity Check)\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u907f\u514d\u4f7f\u7528ABP\u6a21\u5f0f<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u539f\u5219\u4e0a\uff0cABP\u6a21\u5f0f\u5728\u5b89\u5168\u6027\u4e0a\u5f31\u4e8eOTAA\u6a21\u5f0f\uff0c\u56e0\u6b64\u5e76\u4e0d\u63a8\u8350\u8282\u70b9\u7528ABP\u6a21\u5f0f\u8fdb\u884c\u5165\u7f51\u3002<\/p>\n\n\n\n \u3000\u3000\u9884\u914d\u7f6e\u548c\u5b58\u50a8\u5173\u952e\u4fe1\u606f<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000ABP\u6a21\u5f0f\u4e0b\uff0c\u7ec8\u7aef\u8bbe\u5907\u4e0d\u9700\u8981\u8fd0\u884c\u52a0\u5165\u7a0b\u5e8f\uff0c\u5176\u4e2a\u522b\u7ec6\u8282\u5305\u62ecDevAddr\u3001NwkSKey\u548cAppSKey\u4f1a\u8bdd\u5bc6\u94a5\u662f\u9884\u5148\u914d\u7f6e\u5e76\u5b58\u50a8\u5728\u7ec8\u7aef\u8bbe\u5907\u4e2d\u7684\u3002\u8fd9\u4e9b\u4fe1\u606f\u4e5f\u9700\u8981\u4e0eLoRaWAN\u7f51\u7edc\u670d\u52a1\u5668\u6ce8\u518c\u3002<\/p>\n\n\n\n \u3000\u3000\u4fdd\u62a4LoRaWAN\u7f51\u5173<\/strong>\uff1a<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8e\u751f\u4ea7\u90e8\u7f72\uff0c\u9884\u671fLoRaWAN\u7f51\u5173\u5e94\u4fdd\u62a4LoRaWAN\u6d41\u91cf\u548c\u7f51\u7edc\u7ba1\u7406\u53ca\u64cd\u4f5c\u7684\u56de\u4f20\u94fe\u8def\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u4f20\u7edf\u7684VPN\u548cIPsec\u5b9e\u73b0\u3002<\/p>\n\n\n\n \u3000\u3000\u867d\u7136ABP\u6a21\u5f0f\u9002\u7528\u4e8e\u5feb\u901f\u90e8\u7f72\u6216\u9891\u7e41\u66f4\u6362\u8bbe\u5907\u573a\u666f\uff0c\u4f46\u7531\u4e8e\u5176\u8f83\u4f4e\u7684\u5b89\u5168\u6027\uff0c\u901a\u5e38\u4e0d\u88ab\u63a8\u8350\u4f7f\u7528\u3002\u76f8\u53cd\uff0cOTAA\u6a21\u5f0f\u7531\u4e8e\u5176\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\uff0c\u66f4\u9002\u5408\u9700\u8981\u4e25\u683c\u5b89\u5168\u63aa\u65bd\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000\u9488\u5bf9LoRa OTAA\u548cABP\u7684\u5b89\u5168\u5a01\u80c1\uff0c\u4e1a\u754c\u76ee\u524d\u91c7\u53d6\u4e86\u591a\u79cd\u89e3\u51b3\u65b9\u6848\u548c\u6539\u8fdb\u63aa\u65bd\u3002\u8fd9\u4e9b\u63aa\u65bd\u4e3b\u8981\u96c6\u4e2d\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528\u5bf9\u79f0\u52a0\u5bc6\u6765\u4fdd\u62a4\u6570\u636e\u7684\u4fdd\u5bc6\u6027\u548c\u5b8c\u6574\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528\u52a0\u5bc6\u7b97\u6cd5\u5bf9LoRa\u901a\u4fe1\u8fdb\u884c\u4fdd\u62a4\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u5b9a\u671f\u66f4\u65b0\u4e3b\u5bc6\u94a5\u4ee5\u9632\u6b62\u52a0\u5bc6\u5bc6\u94a5\u88ab\u7834\u89e3\u3002<\/p>\n\n\n\n \u3000\u3000\u63d0\u4f9b\u5b89\u5168\u7684\u5bc6\u94a5\u914d\u7f6e\uff0c\u5982CryptoAuthentication\u2122 \u8bbe\u5907\u548c\u6258\u7ba1\u7684LoRa\u52a0\u5165\u670d\u52a1\u5668\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u90e8\u7f72\u5b89\u5168\u8fde\u63a5\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n\n\n\n \u3000\u3000LoRaWAN 1.1\u7248\u672c\u6539\u8fdb\u4e86\u6570\u636e\u5305\u4f2a\u9020\u9632\u62a4\uff0c\u5c3d\u7ba1\u4ecd\u5b58\u5728\u98ce\u9669\u3002<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528\u6d88\u606f\u8eab\u4efd\u7801(MIC)\u6765\u9a8c\u8bc1\u6570\u636e\u5305\u7684\u771f\u5b9e\u6027\uff0c\u5e76\u901a\u8fc7\u66b4\u529b\u7834\u89e3MIC\u6765\u9632\u6b62\u6570\u636e\u5305\u4f2a\u9020\u3002<\/p>\n\n\n\n \u3000\u3000\u786e\u4fdd\u8bbe\u5907\u6807\u7b7e\u88ab\u79fb\u9664\u5e76\u66f4\u6539\u51fa\u5382\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u4ee5\u9632\u6b62\u901a\u8fc7\u7269\u7406\u8bbf\u95ee\u8282\u70b9\u3001\u7f51\u5173\u6216\u670d\u52a1\u5668\u5165\u4fb5\u8bbe\u5907\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u539f\u6709LoRa\u7f51\u5173\u53ca\u7f51\u7edc\u67b6\u6784\u8fdb\u884c\u6539\u8fdb\uff0c\u8bbe\u8ba1\u5168\u65b0\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u63d0\u51fa\u4ece\u7269\u7406\u5c42\u5b9e\u73b0LoRa\u7f51\u7edc\u5b89\u5168\u7684\u65b9\u6848\u3002<\/p>\n\n\n\n \u3000\u3000\u4f7f\u7528\u591a\u5929\u7ebf\u7cfb\u7edf\u3001Successive Interference Cancellation(SIC)\u7b49\u65b9\u6cd5\u6765\u89e3\u51b3\u78b0\u649e\u548c\u5e72\u6270\u95ee\u9898\uff0c\u4ece\u800c\u63d0\u9ad8\u7f51\u7edc\u6027\u80fd\u3002<\/p>\n\n\n\n \u3000\u3000\u63d0\u51fa\u57fa\u4e8e\u5c04\u9891\u6307\u7eb9\u7684LoRa\u7f51\u7edc\u5b89\u5168\u65b9\u6848\uff0c\u4ece\u7269\u7406\u5c42\u5b9e\u73b0\u66f4\u9ad8\u7ea7\u522b\u7684\u5b89\u5168\u4fdd\u62a4\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u8054\u76df\u5728LoRaWAN\u89c4\u8303\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u59cb\u7ec8\u5c06\u5b89\u5168\u653e\u5728\u9996\u4f4d\uff0c\u5e76\u4e14\u5bf9\u534f\u8bae\u7684\u5b89\u5168\u529f\u80fd\u9ad8\u5ea6\u900f\u660e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" OTAA\u5165\u7f51\u65b9\u5f0f\u76f8\u8f83\u4e8eABP\u5165\u7f51\u65b9\u5f0f\u66f4\u4e3a\u5b89\u5168\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u5b89\u5168\u6027\u548c\u9632\u6b62\u5bc6\u94a5\u6cc4\u9732\u7684\u5e94\u7528\u573a\u666f\u4e2d\u3002\u56e0\u6b64\uff0c\u5728\u9009\u62e9LoRa\u5165\u7f51\u65b9\u5f0f\u65f6<\/p>\n","protected":false},"author":1,"featured_media":95849,"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":[54],"class_list":["post-97086","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-l-2"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97086"}],"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=97086"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97086\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/95849"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=97086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=97086"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=97086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 LoRa\u7684\u4e24\u79cd\u5165\u7f51\u65b9\u5f0fOTAA\u548cABP\u5bf9\u6bd4<\/h2>\n\n\n\n
\u3000\u30001. OTAA\uff08Over-The-Air Activation\uff0c\u7a7a\u4e2d\u6fc0\u6d3b\uff09<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30002. ABP\uff08Activation By Personalization\uff0c\u4e2a\u6027\u5316\u6fc0\u6d3b\uff09<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u603b\u7ed3\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e8c\u3001 LoRa OTAA\u548cABP\u6a21\u5f0f\u7684\u5177\u4f53\u5b89\u5168\u6f0f\u6d1e\u6709\u54ea\u4e9b?<\/h2>\n\n\n\n
\u3000\u30001. OTAA\u6a21\u5f0f\u7684\u5b89\u5168\u6f0f\u6d1e<\/strong>\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30002. ABP\u6a21\u5f0f\u7684\u5b89\u5168\u6f0f\u6d1e<\/strong>\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 LoRa OTAA\u4e0eABP\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u6027\u80fd\u548c\u5b89\u5168\u6027<\/h2>\n\n\n\n
\u3000\u30001. \u6027\u80fd\u6bd4\u8f83<\/h3>\n\n\n\n
\u3000\u30002. \u5b89\u5168\u6027\u6bd4\u8f83<\/h3>\n\n\n\n
\u3000\u30003. \u7ed3\u8bba<\/h3>\n\n\n\n
\u3000\u3000\u56db\u3001 LoRa OTAA\u6fc0\u6d3b\u6d41\u7a0b\u4e2d\uff0c\u5982\u4f55\u6709\u6548\u9632\u6b62\u5bc6\u94a5\u6cc4\u9732\u548c\u4fdd\u62a4\u8bbe\u5907<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e94\u3001 \u5728LoRaWAN\u4e2d\uff0c\u9488\u5bf9OTAA\u548cABP\u7684\u5b89\u5168\u6700\u4f73\u5b9e\u8df5<\/h2>\n\n\n\n
\u3000\u30001. OTAA\u7684\u6700\u4f73\u5b9e\u8df5<\/h3>\n\n\n\n
\u3000\u30002. ABP\u7684\u6700\u4f73\u5b9e\u8df5<\/h3>\n\n\n\n
\u3000\u30003. \u603b\u7ed3<\/h3>\n\n\n\n
\u3000\u3000\u516d\u3001 \u9488\u5bf9LoRa OTAA\u548cABP\u7684\u5b89\u5168\u5a01\u80c1\uff0c\u4e1a\u754c\u76ee\u524d\u6709\u54ea\u4e9b\u89e3\u51b3\u65b9\u6848<\/h2>\n\n\n\n
\u3000\u30001. \u52a0\u5bc6\u7b97\u6cd5\u7684\u5e94\u7528<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u5bc6\u94a5\u7ba1\u7406<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u6570\u636e\u5305\u9a8c\u8bc1\u548c\u9632\u62a4<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u7269\u7406\u5b89\u5168\u7b56\u7565<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30005. \u7f51\u7edc\u67b6\u6784\u6539\u8fdb<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30006. \u591a\u5929\u7ebf\u7cfb\u7edf\u548c\u5176\u4ed6\u6280\u672f<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30007. \u57fa\u4e8e\u5c04\u9891\u6307\u7eb9\u7684\u65b9\u6848<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30008. LoRa\u8054\u76df<\/strong>\uff1a<\/h3>\n\n\n\n