摘要(Abstract)

物联网 (IoT) 不只是新技术, 还是与旧技术的集成,其关键在于通信。 可用的通信方法各不相同,但是,各种不同的协议在将海量“事物”连接到互联网时发挥着重要的作用。 本文介绍了两种物联网补充协议: 用于短距离设备连接的本地协议 Modbus 以及支持物联网进行全局通信的可扩展互联网协议“消息队列遥测传输 (MQTT)”。 Modbus 是一个串行通信协议,首次出现于 1979 年,是连接行业设备实际使用的标准协议。 MQTT 早在 20 年前便已出现,但是将这两个协议结合在一起使用,能够为深度嵌入式设备提供物联网的规模和连接性。 图 1 展示了这些协议之间的一般关系,同时介绍了连接的支持解决方案:物联网网关。 MQTT 是一个开放的轻量级机器对机器协议,专为物联网交互设计。 MQTT 网络包含一个 MQTT 经纪人 (broker),负责协调 MQTT 代理之间的交互。 代理是发布器,负责发布供用户使用的信息 Modbus 的核心是一个串行通信协议,采用主从模式。 主机向从机发送请求,从机予以回复。 在标准 Modbus 网络中,有一台主机以及最多 247 台从机(但是,如果采用 2 字节寻址,则可显著提高这一界限)。 连接 断开连接 发布 订阅 退订


主题(Topic)

项目(Project)
RobotControlWin PieChar-Control-WPF DesktopLock Screen-Color-Picker dhruvsingh/basics-mqtt luofeng1/egg-emqtt MqttDemo DevExpress-Examples/how-to-use-the-wizardservice-t387258 DevExpress-Examples/how-to-create-a-wizard-based-on-a-collection-of-view-models-t415475 DevExpress-Examples/how-to-create-a-wizard-with-pages-defined-in-xaml-t415416 DevExpress-Examples/how-to-specify-a-path-for-a-carouselcontrol-e1706 DevExpress-Examples/how-to-specify-a-distribution-function-for-positions-of-items-along-the-path-e1906 DevExpress-Examples/how-to-anchor-a-carousels-items-to-specific-points-e1707 DevExpress-Examples/how-to-handle-the-click-event-for-the-carousel-item-e1799 DevExpress-Examples/how-to-bind-the-accordioncontrol-to-data-using-the-hierarchicaldata-template-t596852 DevExpress-Examples/how-to-customize-accordion-appearance DevExpress-Examples/how-to-create-a-simple-application-with-the-accordioncontrol-t597312 DevExpress-Examples/how-to-bind-the-accordioncontrol-to-data-using-the-childrenpath-property-t596666 DevExpress-Examples/how-to-bind-the-accordioncontrol-to-data-using-the-childrenselector-property-t596779 DevExpress-Examples/how-to-bind-accordioncontrol-to-hierarchical-data-structure-t508360 DevExpress-Examples/how-to-bind-dictionaries-to-the-spell-checker-in-mvvm-applications-t604129 DevExpress-Examples/dxspellchecker-getting-started-e2631 DevExpress-Examples/how-to-configure-the-dxspellchecker-behavior-for-the-textedit-control-t572386 DevExpress-Examples/how-to-check-spelling-of-an-active-grid-cell-t598294 DevExpress-Examples/how-to-check-spelling-within-the-rich-edit-control-e2640 DevExpress-Examples/dxspellcheker-how-to-load-dictionaries-t471320 DevExpress-Examples/how-to-customize-treemap-tooltips-t308914 DevExpress-Examples/how-to-color-tree-map-items-using-the-range-colorizer-t307568 DevExpress-Examples/how-to-manually-provide-data-to-the-treemap-t308324 DevExpress-Examples/how-to-implement-a-custom-layout-algorithm-t312662 全部项目