{"id":79138,"date":"2024-01-03T18:30:33","date_gmt":"2024-01-03T10:30:33","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=79138"},"modified":"2024-01-03T18:30:33","modified_gmt":"2024-01-03T10:30:33","slug":"srljmfwqm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/79138.html","title":{"rendered":"\u6df1\u5165\u7406\u89e3 MQTT \u670d\u52a1\u5668 Mosquitto"},"content":{"rendered":"
MQTT \u670d\u52a1\u5668 Mosquitto \u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u3001\u5f00\u6e90\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5e38\u7528\u4e8e\u7269\u8054\u7f51\u8bbe\u5907\u95f4\u7684\u901a\u8baf\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8 MQTT \u670d\u52a1\u5668 Mosquitto \u7684\u539f\u7406\u3001\u5e94\u7528\u53ca\u4f18\u52bf\u3002<\/p>\n
MQTT \u670d\u52a1\u5668 Mosquitto \u4f5c\u4e3a\u4e00\u79cd\u57fa\u4e8e\u53d1\u5e03\/\u8ba2\u9605\u6a21\u5f0f\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5176\u5de5\u4f5c\u539f\u7406\u5305\u62ec\u6d88\u606f\u53d1\u5e03\u3001\u8ba2\u9605\u3001\u4ee3\u7406\u4e0e\u8f6c\u53d1\u7b49\u591a\u4e2a\u73af\u8282\u3002\u6211\u4eec\u5c06\u4ece\u8fd9\u4e9b\u65b9\u9762\u9010\u4e00\u63a2\u8ba8\u3002<\/p>\n
\u5728 MQTT \u4e2d\uff0c\u53d1\u5e03\u8005\u5c06\u6d88\u606f\u53d1\u5e03\u5230\u7279\u5b9a\u7684\u4e3b\u9898\uff08Topic\uff09\u4e0a\u3002Mosquitto \u670d\u52a1\u5668\u8d1f\u8d23\u63a5\u6536\u8fd9\u4e9b\u6d88\u606f\uff0c\u5e76\u5c06\u5176\u53d1\u9001\u7ed9\u8ba2\u9605\u4e86\u76f8\u540c\u4e3b\u9898\u7684\u5ba2\u6237\u7aef\u3002<\/p>\n
MQTT \u5ba2\u6237\u7aef\u53ef\u4ee5\u8ba2\u9605\u4e00\u4e2a\u6216\u591a\u4e2a\u4e3b\u9898\uff0c\u4ece\u800c\u63a5\u6536\u8fd9\u4e9b\u4e3b\u9898\u76f8\u5173\u7684\u6d88\u606f\u3002Mosquitto \u670d\u52a1\u5668\u4f1a\u5c06\u8ba2\u9605\u8005\u7684\u6d88\u606f\u53d1\u9001\u5230\u6b63\u786e\u7684\u5ba2\u6237\u7aef\u3002<\/p>\n
Mosquitto \u670d\u52a1\u5668\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u9886\u57df\uff0c\u5305\u62ec\u667a\u80fd\u5bb6\u5c45\u3001\u667a\u80fd\u5de5\u5382\u3001\u667a\u80fd\u519c\u4e1a\u7b49\u3002\u5176\u8f7b\u91cf\u7ea7\u3001\u4f4e\u529f\u8017\u7684\u7279\u6027\u4f7f\u5176\u7279\u522b\u9002\u7528\u4e8e\u5404\u7c7b\u8d44\u6e90\u53d7\u9650\u7684\u8bbe\u5907\u3002<\/p>\n
\u5728\u667a\u80fd\u5bb6\u5c45\u7cfb\u7edf\u4e2d\uff0c\u5404\u7c7b\u4f20\u611f\u5668\u3001\u667a\u80fd\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7 MQTT \u670d\u52a1\u5668 Mosquitto \u8fdb\u884c\u6570\u636e\u4ea4\u4e92\uff0c\u5b9e\u73b0\u667a\u80fd\u63a7\u5236\u3001\u8fdc\u7a0b\u76d1\u63a7\u7b49\u529f\u80fd\u3002<\/p>\n
\u5728\u5de5\u4e1a\u9886\u57df\uff0cMosquitto \u670d\u52a1\u5668\u53ef\u7528\u4e8e\u76d1\u63a7\u4f20\u611f\u5668\u6570\u636e\u3001\u8bbe\u5907\u72b6\u6001\u7b49\u4fe1\u606f\uff0c\u5b9e\u73b0\u5bf9\u751f\u4ea7\u8fc7\u7a0b\u7684\u8fdc\u7a0b\u76d1\u63a7\u4e0e\u7ba1\u7406\u3002\u8fd9\u79cd\u65b9\u5f0f\u5927\u5927\u63d0\u9ad8\u4e86\u751f\u4ea7\u6548\u7387\u548c\u8d28\u91cf\u3002<\/p>\n
MQTT \u670d\u52a1\u5668 Mosquitto \u4f5c\u4e3a\u4e00\u79cd\u9ad8\u6548\u3001\u53ef\u9760\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5bf9\u4e8e\u7269\u8054\u7f51\u8bbe\u5907\u95f4\u7684\u901a\u8baf\u8d77\u5230\u4e86\u5173\u952e\u4f5c\u7528\u3002<\/strong>\u5176\u5de5\u4f5c\u539f\u7406\u7b80\u5355\u3001\u8d44\u6e90\u6d88\u8017\u4f4e\u3001\u5e94\u7528\u5e7f\u6cdb\uff0c\u662f\u7269\u8054\u7f51\u9886\u57df\u4e0d\u53ef\u6216\u7f3a\u7684\u91cd\u8981\u4e00\u73af\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" MQTT\u670d\u52a1\u5668Mosquitto\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u3001\u5f00\u6e90\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5e38\u7528\u4e8e\u7269\u8054\u7f51\u8bbe\u5907\u95f4\u7684\u901a\u8baf\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8MQTT\u670d\u52a1\u5668Mosquitto\u7684\u539f\u7406\u3001\u5e94\u7528\u53ca\u4f18<\/p>\n","protected":false},"author":1,"featured_media":64183,"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":[46],"class_list":["post-79138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79138","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=79138"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79138\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=79138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=79138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=79138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}