<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Killer — A Night Reader on Medium]]></title>
        <description><![CDATA[Stories by Killer — A Night Reader on Medium]]></description>
        <link>https://medium.com/@killer_?source=rss-dea68ee2e8eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*acijj08HHQCHBOtVp7PUGw.jpeg</url>
            <title>Stories by Killer — A Night Reader on Medium</title>
            <link>https://medium.com/@killer_?source=rss-dea68ee2e8eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 17:22:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@killer_/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[An era of IoT — M2M communication protocols — MQTT]]></title>
            <link>https://medium.com/predict/an-era-of-iot-m2m-communication-protocols-mqtt-e68d81b93613?source=rss-dea68ee2e8eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e68d81b93613</guid>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[m2m]]></category>
            <category><![CDATA[mqtt]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Killer — A Night Reader]]></dc:creator>
            <pubDate>Fri, 12 Jul 2019 08:39:30 GMT</pubDate>
            <atom:updated>2019-07-13T13:23:14.523Z</atom:updated>
            <content:encoded><![CDATA[<h3>An era of IoT — M2M communication protocols — MQTT</h3><p><strong>Message Queuing Telemetry Transport (MQTT)</strong> is a M2M and IoT connectivity protocol. It is an open protocol specified by IBM and Eurotech, and recently it is used by the Eclipse foundation in M2M applications.</p><p>It is an <strong>application layer</strong> protocol that follows topic based <strong>Publish-Subscribe</strong> communication pattern. It is a relatively simple and lightweight messaging protocol, designed for constrained devices with limited battery, processor, and/or memory resources.</p><p>MQTT is based on <strong>TCP/IP</strong>, but in contrast, its overhead is considerably smaller. The small transport overhead (fixed length of 2 bytes) makes the MQTT an interesting solution for unreliable networks with restricted resources, such as low bandwidth and high latency.</p><p>MQTT is also used by <strong>Facebook</strong> in implementing a fast lightweight asynchronous messaging protocol.</p><h3>MQTT Message</h3><p>MQTT message contains an imperative 2-bytes fixed-length header and an optional message related variable length header and payload. In first byte of fixed 2-bytes header, contain 4 bits of Message type that indicates a variety of messages including <strong>CONNECT, PUBLISH, SUBSCRIBE</strong> and remaining 4 bits contains packet specific control flags including QoS Level for delivery assurance of Publish messages, DUP and RETAIN. From the second byte starts the remaining packet length.</p><p>However, MQTT is optimized for bandwidth constrained and unreliable networks.</p><h3>Features of MQTT</h3><p>1. Publish-Subscribe communication<br>2. Quality of Service (QoS)<br>3. Retention of messages<br>4. Last Will and Testament</p><h4>Publish-Subscribe</h4><p>The Publish-Subscribe based architecture of the MQTT communication can be seen in the following figure, where</p><ol><li>“Broker” acts as an intermediary for messages sent from a publisher to subscriber, providing one-to-many message distribution and decoupling of use case application.</li><li>When a “MQTT Publisher” publishes a message “data” to a particular “topic”, then all those “MQTT Subscriber” subscribed to the “topic” will receive the message “data”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Il7N6foXNqE8lk6jDw8pdg.png" /><figcaption>MQTT Publish-Subscribe model</figcaption></figure><h4>Communication sequence diagram</h4><p>Initially, the TCP connection created between client and broker/server.</p><p>There are 16 types of messages over which MQTT client-broker relies on sending and receiving messages and acknowledgements.</p><p>The figure shows connection establishment, session management and termination of the communication channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r_tayYbeJrDqa9Q9STvAEQ.png" /><figcaption>Illustration of MQTT communication via sequence diagram</figcaption></figure><h4>Quality of Services (QoS)</h4><p>MQTT provides another layer of reliability using three levels of QoS named as QoS level 0, QoS level 1 and QoS level 2.</p><p><strong>QoS 0: At most once (fire and forget)</strong>: A simple request is sent without expecting the response, leaving the assurance of delivery to TCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*PWrM_ChBvIEqfr-tYrg_eA.png" /><figcaption>MQTT QoS : QoS 0 — At most once</figcaption></figure><p><strong>QoS 1: At least once</strong>: At QoS level 1, the message is followed by a similar ACK response. In case of missing ACK, the message will be sent again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GIA3sMr-fwSsNbMULBD-DA.png" /><figcaption>MQTT QoS : QoS 1 — At least once</figcaption></figure><p><strong>QoS 2: Exactly once</strong>: At QoS level 2, a four-way handshake is to be established to ensure the message delivery only once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*zwe5i5gJUv4pLMDJ2sWFqA.png" /><figcaption>MQTT QoS : QoS 2 — Exactly once</figcaption></figure><h4>Retention of messages</h4><p>The MQTT server has the option to retain the last message in a topic, which is sent to a new subscriber. This characteristic of the MQTT protocol allows the server to act as a “scoreboard” which will only display the last updated value of a particular sensor reading if it is declared as a topic.</p><h4>Last Will and Testament</h4><p>The protocol also has a mechanism of wills, where clients can send a message to the broker that will only be sent to subscribers when the client is disconnected. An unexpected disconnection from a client results in the publishing of a message known as the last will, which indicates an unexpected shutdown. This functionality makes error detection an easier job by broadcasting it and allowing clients to run their error routines simultaneously, putting a load of detection on the protocol rather than the servers or clients.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e68d81b93613" width="1" height="1" alt=""><hr><p><a href="https://medium.com/predict/an-era-of-iot-m2m-communication-protocols-mqtt-e68d81b93613">An era of IoT — M2M communication protocols — MQTT</a> was originally published in <a href="https://medium.com/predict">Predict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An era of IoT— M2M communication protocols]]></title>
            <link>https://medium.com/predict/an-era-of-iot-m2m-communication-protocols-a03c396397a1?source=rss-dea68ee2e8eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a03c396397a1</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[m2m]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[communication]]></category>
            <dc:creator><![CDATA[Killer — A Night Reader]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 20:25:00 GMT</pubDate>
            <atom:updated>2018-10-01T23:10:06.825Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/predict/an-era-of-iot-machine-to-machine-communication-m2m-9a7861665b4c">Machine-to-Machine (M2M) communication</a> uses networking technologies to enable both wireless and wired systems to connect and communicate with devices of the same ability.</p><p><strong>Key applications are :</strong></p><ul><li>Connecting machines to other machines -e.g. Remote Production Environment</li><li>Connecting machines to service centers — e.g. reporting maintenance issues</li></ul><p>M2M protocols are well-defined architecture consisting of communication parameters and paradigm to exchange the data or information over the network. Each protocol defines the packet size, rules of communication, security over a network, communication requirements and other properties of the M2M network so that it will help to connect low powered, lossy devices to the world of the Internet. The structured communication scenario with system tools and processing devices at the various level of communication in IoT comprising M2M concept is well shown in the Figure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*V5qmW7uHHlqjOY6mtnWTyQ.png" /></figure><h3><strong>Protocol Classification</strong></h3><p>There are three major groups of protocols used for M2M communication:</p><ol><li><strong>Service-oriented Architectures (SOA)</strong> are used in industrial automation systems to exchange soft real-time data for instance between programmable logic controllers and supervisory, control and Data Acquisition (SCADA) systems.</li><li><strong>Representational State Transfer (REST)</strong> architecture style which defines<br>constraints to the used components, connectors, and data elements.</li><li><strong>Message Oriented Protocols</strong> supports the asynchronous data transfer between the distributed system.</li></ol><p>According to communication paradigms:</p><p>1. The <strong>Request/Response model</strong>​, commonly used in the distributed system to exchange information through message passing between a sender and receiver. This is where clients request information from a server and server responds to these requests accordingly. Examples : HTTP, CoAP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/0*dI05UOe9QZDSLJK7" /></figure><p>2. The <strong>Publish/Subscribe model</strong>​, which is based on an event broker to forward updates (notifications) to interested users (subscribers), regarding changes of senders’ (publishers’) statuses. Example: MQTT, AMQP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KFn17gnuryh1K9DGEW5zWw.jpeg" /><figcaption>Publisher-Subscriber pattern</figcaption></figure><p>This is an overview of the M2M communication protocols and its classification based on the pattern and the behavior of the data transfer over the network. In the next stories, we will draw our attention specifically towards the protocols in deep. Stay tuned, stay knowledged… :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a03c396397a1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/predict/an-era-of-iot-m2m-communication-protocols-a03c396397a1">An era of IoT— M2M communication protocols</a> was originally published in <a href="https://medium.com/predict">Predict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An era of IoT — Machine-to-Machine Communication (M2M)]]></title>
            <link>https://medium.com/predict/an-era-of-iot-machine-to-machine-communication-m2m-9a7861665b4c?source=rss-dea68ee2e8eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a7861665b4c</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[m2m]]></category>
            <category><![CDATA[future]]></category>
            <dc:creator><![CDATA[Killer — A Night Reader]]></dc:creator>
            <pubDate>Sat, 08 Sep 2018 23:28:58 GMT</pubDate>
            <atom:updated>2018-09-11T10:53:35.819Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is M2M communication?</strong></p><p>In the era of technology, people are more tend to the easy way of getting things done, the best example is having automation in every single area. This is nothing but the robot/machine controls the other machines. In order to accomplish such a zeal, there should be some interface between the two machines over which they can send and receive the messages, so is the machine-to-machine(M2M) communication.</p><p>M2M communication is the latest trend in industrial evolution that combines the information technology with machine data communication between devices or machines.</p><p>The future is already in the making for the M2M communication over the various networks via several low powered medium such as LoWPAN, ZigBee, Bluetooth (Bluetooth Low Energy).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*V5qmW7uHHlqjOY6mtnWTyQ.png" /><figcaption>M2M communication in brief</figcaption></figure><p>M2M and IoT together can be very beneficial to the plant and machine to send and receive data to/from the cloud or client system.</p><p><strong>Modern industry adaptations</strong></p><p>Over the past few decades, technologies are more concentrating on the machines production environment and trying to connect Information and Communications Technology (ICT) sector to it, which is eventually helping them by providing closeup at the data flow in the production process. It will be easy to measure and manage the system parameters and capability by connecting production environment to the Internet or Intranet.</p><p>Industry 4.0, a term shaped by representatives of German industry leaders and researchers describing how IoT will improve the industrial engineering, production, logistics, and lifecycle management processes.</p><p>The idea behind the technology is to achieve a unified communication methodology that makes one device to communicate with the other device of the same capabilities to reduce the network overhead.</p><p><strong>Targets…</strong></p><ol><li>Industry 4.0 — The modern industrial evolution</li><li>Automation</li><li>Scalability</li><li>Security</li><li>Production analysis in the big plants</li></ol><p>This is a brief overview of the M2M communication, in the coming stories I would like to draw a direction over the networking and the protocol standards that are in use to accomplish such a system….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a7861665b4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/predict/an-era-of-iot-machine-to-machine-communication-m2m-9a7861665b4c">An era of IoT — Machine-to-Machine Communication (M2M)</a> was originally published in <a href="https://medium.com/predict">Predict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An era of IoT — Web of Things (WoT)]]></title>
            <link>https://medium.com/predict/an-era-of-iot-web-of-things-wot-fac00fe9ece0?source=rss-dea68ee2e8eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fac00fe9ece0</guid>
            <category><![CDATA[future]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[m2m]]></category>
            <category><![CDATA[web-of-things]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Killer — A Night Reader]]></dc:creator>
            <pubDate>Thu, 06 Sep 2018 09:12:43 GMT</pubDate>
            <atom:updated>2018-09-09T00:12:01.783Z</atom:updated>
            <content:encoded><![CDATA[<p>Considering a low powered device which doesn’t have the ability to store much data and is not connected over TCP/IP layer but too low powered wireless infrastructure like ZigBee, Bluetooth etc. If these objects also wanted to connect to the internet then, they also require the interface to extend their reachability.</p><p>The general architecture consists of nodes on the constrained network, called Devices, that are responsible for one or more resources that may represent sensors, actuators, combinations of value, and other information.</p><ol><li>Devices send messages to change and query resources on other devices.</li><li>Devices can express their interest to receive notification about changes.</li><li>A device can also publish or be queried about its resources.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kqdZh7JolUTnLQiX" /><figcaption><strong>Web of Things</strong></figcaption></figure><p>IoT defines the connection and communication overview between IP enabled embedded devices over the Internet, which enables regular monitoring and surveillance on the device, system or machine that assigned to do some job like measurement of temperature or pressure or to measure the health status of a patient. IoT enables the communication based on the minimum two entities where one acts a sending entity while other is receiving entity on the reliable communication networking semantics.</p><p>The figure below shows an example of IoT scenario with the distributive system to acquire data from IoT devices store it into the Database and provide the queried data followed by the result processing to the remote devices over the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/0*MAMk1GhO-5CodHSs" /><figcaption><strong>Internet of Things with communication scenario</strong></figcaption></figure><h3><strong>Sharing notes…</strong></h3><p>With the baby steps, I am trying to share my research and work. As of the beginning, feedback is most important for me to evaluate my way in the future….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fac00fe9ece0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/predict/an-era-of-iot-web-of-things-wot-fac00fe9ece0">An era of IoT — Web of Things (WoT)</a> was originally published in <a href="https://medium.com/predict">Predict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>