---
title: Machine-to-Machine Connectivity with MQTT
description: MQTT is the protocol of choice for IIoT platforms, machine-to-machine connectivity and device integration.  Its proven to be efficient, secure and scalable.
image: https://www.eflexsystems.com/hubfs/eFlex-MQTT-Flow-01.jpg
---

[**Lean Manufacturing Blog](https://www.eflexsystems.com/lean-manufacturing-blog)

# Machine-to-Machine Connectivity with MQTT

by [Israel Vicars](https://www.eflexsystems.com/lean-manufacturing-blog/author/israel-vicars), on Feb 12, 2018 10:57:08 AM

![Israel3.jpg](https://www.eflexsystems.com/hs-fs/hubfs/Israel3.jpg?width=70&height=70&name=Israel3.jpg) by Israel Vicars, Software Developer at eFlex Systems

Connecting machines, people, and data in manufacturing facilities across 4 continents keeps us busy. One of the connectivity protocols that we support is MQTT (Message Queuing Telemetry Transport). Invented in 1999, the protocol has long been used in industry with rapidly increasing adoption because of its suitability for machine-to-machine, Internet of Things, and mobile applications.

You can use MQTT to connect your M2M, IOT and iOS devices over TCP/IP with SSL. Any Acronym Bingo winners yet?

To understand MQTT, we have to first talk about the Publish-Subscribe (“Pub/Sub”) design pattern. Because design patterns are thrilling.  Let’s get there by way of Twitter and text messages.

Twitter was invented as a text message that anyone could read. Instead of sending a text message directly to someone, users would send their text message to Twittr.com which would forward that text message to only those users who wanted to see it. This demonstrates the three roles of the Pub/Sub pattern: publishers send messages to a broker, the broker filters and distributes those messages to subscribers who have subscribed to a particular topic or publisher.

MQTT is an implementation of Pub/Sub-type messaging for a different kind of publisher and subscriber. Just like Twitter’s 140 character limit made it ideal for quick status updates and text message delivery, MQTT has rules and procedure that makes it optimal for a particular set of use cases. It takes very little code to run on a device. Messages have very little overhead for minimal network bandwidth. It’s bidirectional, so a device can be both publisher and subscriber. It works over TCP/IP, i.e. Internet and local area network connections. Authentication and encryption over SSL are supported for security.

![eFlex-MQTT-Flow-01.jpg](https://www.eflexsystems.com/hs-fs/hubfs/eFlex-MQTT-Flow-01.jpg?width=734&height=243&name=eFlex-MQTT-Flow-01.jpg)

At eFlex, there are a growing number of device integrations we can support without custom integrations because of MQTT. An MQTT broker runs alongside eFlex applications. Events from network-connected devices are sent to the broker which can be monitored and responded to in an application. Similarly, application commands can be sent to the broker which distributes them to a device. There’s no need for rewriting integration protocols for every machine when there’s a common protocol in place.

Topics:[Technology](https://www.eflexsystems.com/lean-manufacturing-blog/topic/technology)

### The Blog

Our team is a creative bunch that loves learning and pushing the limits to find the best solutions for today's lean manufacturers.  Internal discussions at the office might range from new features that manufacturing process control software should have to machine learning, blockchain technology, or what the future of AR on the plant floor looks like. Check out our blog for opinions, news and trends that we find interesting and think you might too! 

- [Recent](https://www.eflexsystems.com/lean-manufacturing-blog/machine-to-machine-connectivity-with-mqtt#recent)
- [Topics](https://www.eflexsystems.com/lean-manufacturing-blog/machine-to-machine-connectivity-with-mqtt#topics)
- [Archive](https://www.eflexsystems.com/lean-manufacturing-blog/machine-to-machine-connectivity-with-mqtt#archive)

- [Articles & Publications (7)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/articles-publications)
- [Connected Process Control (33)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/connected-process-control)
- [Development Process (4)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/development-process)
- [Digital Work Instructions (17)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/digital-work-instructions)
- [Educational Topics (9)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/educational-topics)
- [Events (3)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/events)
- [Food Industry (1)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/food-industry)
- [Industry 4.0 (32)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/industry-4-0)
- [Insider (9)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/insider)
- [Kitting (3)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/kitting)
- [Lean Manufacturing (42)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/lean-manufacturing)
- [Manufacturing Culture (6)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/manufacturing-culture)
- [Manufacturing Execution System (1)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/manufacturing-execution-system)
- [Manufacturing Integrated Platform (7)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/manufacturing-integrated-platform)
- [Medical (2)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/medical)
- [News (28)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/news)
- [Operator Training (2)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/operator-training)
- [Opinion (37)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/opinion)
- [Partnerships (3)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/partnerships)
- [Press (4)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/press)
- [Product Details (2)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/product-details)
- [Quality Management (20)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/quality-management)
- [Team Building (2)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/team-building)
- [Technology (23)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/technology)
- [Traceability (6)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/traceability)
- [Training (1)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/training)
- [Vehicle Assembly (3)](https://www.eflexsystems.com/lean-manufacturing-blog/topic/vehicle-assembly)

[More...](https://www.eflexsystems.com/lean-manufacturing-blog/machine-to-machine-connectivity-with-mqtt#)

- [February 2018 (6)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/02)
- [May 2018 (6)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/05)
- [September 2015 (5)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2015/09)
- [November 2016 (4)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2016/11)
- [May 2022 (4)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2022/05)
- [January 2017 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2017/01)
- [March 2017 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2017/03)
- [June 2018 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/06)
- [February 2019 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/02)
- [November 2019 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/11)
- [February 2022 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2022/02)
- [June 2023 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/06)
- [July 2023 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/07)
- [November 2023 (3)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/11)
- [February 2012 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2012/02)
- [December 2016 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2016/12)
- [March 2018 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/03)
- [April 2018 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/04)
- [March 2019 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/03)
- [July 2019 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/07)
- [September 2019 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/09)
- [January 2020 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2020/01)
- [January 2022 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2022/01)
- [March 2022 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2022/03)
- [May 2023 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/05)
- [August 2023 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/08)
- [October 2023 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/10)
- [December 2023 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/12)
- [January 2024 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/01)
- [March 2024 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/03)
- [April 2024 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/04)
- [November 2024 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/11)
- [December 2024 (2)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/12)
- [August 2012 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2012/08)
- [November 2012 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2012/11)
- [March 2013 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2013/03)
- [June 2013 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2013/06)
- [September 2013 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2013/09)
- [November 2013 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2013/11)
- [December 2013 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2013/12)
- [February 2014 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2014/02)
- [July 2014 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2014/07)
- [September 2014 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2014/09)
- [February 2015 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2015/02)
- [March 2015 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2015/03)
- [August 2016 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2016/08)
- [October 2016 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2016/10)
- [February 2017 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2017/02)
- [October 2017 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2017/10)
- [July 2018 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/07)
- [August 2018 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/08)
- [October 2018 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2018/10)
- [January 2019 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/01)
- [April 2019 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/04)
- [May 2019 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/05)
- [June 2019 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/06)
- [October 2019 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2019/10)
- [March 2020 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2020/03)
- [June 2020 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2020/06)
- [October 2020 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2020/10)
- [October 2022 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2022/10)
- [April 2023 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2023/04)
- [February 2024 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/02)
- [May 2024 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/05)
- [June 2024 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/06)
- [August 2024 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/08)
- [September 2024 (1)](https://www.eflexsystems.com/lean-manufacturing-blog/archive/2024/09)

[More...](https://www.eflexsystems.com/lean-manufacturing-blog/machine-to-machine-connectivity-with-mqtt#)

**Location

eFlex Systems - an Epicor Solution

210 W. Tienken Rd.

Rochester Hills, MI 48306

Contact Sales

**[sales@eflexsystems.com](mailto:%20sales@eflexsystems.com)

- [Request a Demo](https://www.eflexsystems.com/request-a-demo)
- [Contact Us](https://www.eflexsystems.com/contact)
- [Platform](https://www.eflexsystems.com/platform)
- [About Us](https://www.eflexsystems.com/about/about-eflex-systems)
- [Blog](https://www.eflexsystems.com/lean-manufacturing-blog)
- [Resources](https://www.eflexsystems.com/resource-library)
- [Careers](https://epicorsoftware.wd5.myworkdayjobs.com/epicorjobs)

- [Open a Ticket](https://epiccare.epicor.com/epiccare)
- [Terms of Service](https://www.epicor.com/en/company/compliance/terms/)
- [Privacy Policy](https://www.epicor.com/en/company/compliance/privacy/)
- Cookie Settings

Epicor Connected Process Control

**Copyright 2026 Epicor

[**

](https://www.linkedin.com/company/eflex-systems)[**

](https://twitter.com/eflexsystems)[**

](https://www.youtube.com/user/eFlexSystems)