{"id":7666,"date":"2020-11-20T13:34:54","date_gmt":"2020-11-20T05:34:54","guid":{"rendered":"https:\/\/blog.hoyo.idv.tw\/?p=7666"},"modified":"2022-06-07T10:22:47","modified_gmt":"2022-06-07T02:22:47","slug":"mqtt-0-%e5%a6%82%e6%9e%9c%e4%b8%8d%e6%98%af%e7%82%ba%e4%ba%86%e7%a0%b4%e5%a3%9e%e5%9c%b0%e7%90%83%ef%bc%8c%e6%88%91%e4%b9%9f%e4%b8%8d%e6%9c%83%e9%96%8b%e5%a7%8b%e7%94%a8","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=7666","title":{"rendered":"MQTT - 0. \u5982\u679c\u4e0d\u662f\u70ba\u4e86\u7834\u58de\u5730\u7403\uff0c\u6211\u4e5f\u4e0d\u6703\u958b\u59cb\u7528"},"content":{"rendered":"<p>--<\/p>\n<h2>\u7de3\u7531<\/h2>\n<p>\u56e0\u70ba\u00a0<a href=\"https:\/\/www.google.com\/search?q=%E7%8F%AD%E7%8F%AD%E6%9C%89%E5%86%B7%E6%B0%A3\" target=\"_blank\" rel=\"noopener\">\u73ed\u73ed\u6709\u51b7\u6c23<\/a>\u00a0\u52a0\u4e0a\u53f0\u96fb\u8981\u9650\u5236\u5c16\u5cf0\u7528\u96fb\uff0c\u9700\u8981\u914d\u5957\u9700\u91cf\u53cd\u61c9\u7684\u5378\u8f09\u6a5f\u5236\uff0c\u548c\u4e0a\u5c64\u7684\u901a\u8a0a\u4e00\u958b\u59cb\u5b9a\u7fa9\u4e86 MQTT \u6240\u4ee5\u624d\u958b\u59cb\u4e86\u89e3 (\u8981\u4e0d\u7136\u8981\u4f7f\u7528 Socket \u5230\u6b7b\u7684)<\/p>\n<p>--<\/p>\n<h2>\u7c21\u4ecb<\/h2>\n<ul>\n<li><a href=\"https:\/\/zoetrope.io\/tech-blog\/brief-practical-introduction-mqtt-protocol-and-its-application-iot\/\" target=\"_blank\" rel=\"noopener\">A Brief, but Practical Introduction to the MQTT Protocol and its Application to IoT<\/a> (<a href=\"https:\/\/www.zhihu.com\/question\/34767514\/answer\/1577194712\" target=\"_blank\" rel=\"noopener\">\u4e2d\u8b6f\u7248<\/a>)<\/li>\n<li><a href=\"https:\/\/zh.wikipedia.org\/wiki\/MQTT\" target=\"_blank\" rel=\"noopener\">MQTT - \u7dad\u57fa\u767e\u79d1\uff0c\u81ea\u7531\u7684\u767e\u79d1\u5168\u66f8<\/a><\/li>\n<li><a href=\"http:\/\/www.taichi-maker.com\/homepage\/esp8266-nodemcu-iot\/iot-tuttorial\/mqtt-tutorial\/\" target=\"_blank\" rel=\"noopener\">\u96f6\u57fa\u7840\u5165\u95e8\u5b66\u7528\u7269\u8054\u7f51 \u2013 MQTT\u57fa\u7840\u7bc7 \u2013 \u76ee\u5f55<\/a><\/li>\n<\/ul>\n<p>--<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"7666\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,163&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>-- \u7de3\u7531 \u56e0\u70ba\u00a0\u73ed\u73ed\u6709\u51b7\u6c23\u00a0...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"7666\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,163&nbsp;total views<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[319],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/7666"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7666"}],"version-history":[{"count":4,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/7666\/revisions"}],"predecessor-version":[{"id":10173,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/7666\/revisions\/10173"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}