<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[FMN#08] : MQTT - The language of IoT</title><link>/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><description>Let me start with asking you a question. How many of you uses facebook messenger in your smart phone? Most of you will. But how many of you know that you are getting your notifications through MQTT protocol? Probably not many. I came to know it just </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Sat, 31 Jan 2015 17:47:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Please pay attention that for example Ubuntu up to 14.10 (utopic) ships only a Version 3.1 compatible Version of mosquitto (0.15.something) as an MQTT Broker. In the recent MQTT Version 3.1.1 the CONNECT-Header was changed.&lt;/p&gt;&lt;p&gt;So newer Clients have problems connecting to older Server. Any mosquitto Version of at least 1.3 should be fine.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Sat, 17 Jan 2015 08:39:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>Former Member</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;Hi Vish, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for putting together this great post, it&amp;#39;s been a great help. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using the Arduino IDE 1.0.6 and found your sketch wouldn&amp;#39;t compile.&amp;nbsp; I moved four lines of code and added one line and the sketch now compiles and works fabulously on Arduino 1.0.6 using a mega 2560. I have bold and underlined the lines below for your reference.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;#include &amp;quot;Ethernet.h&amp;quot;&lt;/p&gt;&lt;p&gt;#include &amp;quot;PubSubClient.h&amp;quot;&lt;/p&gt;&lt;p&gt;#include &amp;lt;SPI.h&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;unsigned char led1Status = HIGH;&lt;/p&gt;&lt;p&gt;unsigned char led2Status = HIGH;&lt;/p&gt;&lt;p&gt;unsigned char led3Status = HIGH;&lt;/p&gt;&lt;p&gt;unsigned char led4Status = HIGH;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp; int position = 0;&lt;/p&gt;&lt;p&gt;&lt;strong style="text-decoration:underline;"&gt;&amp;nbsp; int ledId = 0;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&amp;nbsp; int D1_LED;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&amp;nbsp; int D2_LED;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&amp;nbsp; int D3_LED;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style="text-decoration:underline;"&gt;&amp;nbsp; int D4_LED;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;rest of sketch removed, as it&amp;#39;s the same as above.&lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-7ffbccef-ef20-44a3-bc35-fbe7e6af8c31/contentimage_5F00_938.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Tue, 06 Jan 2015 14:12:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice article Vish.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also tried using launchpad i got it worked fine with MSP430G2553.&lt;/p&gt;&lt;p&gt;Now i am trying with different controllers like MSP430F5438. If you can share your modified codes then i can also modify mine as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;You can mail me @ &lt;/span&gt;&lt;a class="jive-link-email-small" href="mailto:hexathlon09@gmail.com"&gt;hexathlon09@gmail.com&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &amp;amp; regards.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Thu, 30 Oct 2014 18:04:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>michaelwylie</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Vishu, for future reference, if you&amp;#39;ve chosen to reproduce from another article you have to call out the reference directly at that point and put quotes around the item copied. Otherwise people assume you wrote it. For example, in the &amp;quot;What is MQTT section?&amp;quot; you should quote most of that and then reference Valerie Lampkin&amp;#39;s article and Joab Jackson&amp;#39;s article.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;span&gt;&amp;quot;MQ Telemetry Transport (MQTT) &lt;/span&gt; is a publish/subscribe messaging protocol particularly well-suited for working with limited computational power and lean network connectivity. IBM and systems provider Eurotech first developed MQTT, and then contributed the protocol to OASIS( the Organization for the Advancement of Structured Information Standards ).&amp;quot; [1]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;quot;&lt;span&gt;The &amp;quot;MQ Integrator SCADA Device Protocol&amp;quot; is an old name for what is now known as MQTT. MQTT is designed to be open, simple and easy to implement, allowing thousands of lightweight clients to be supported by a single server. These characteristics make it ideal for use in constrained environments or low-bandwidth networks with limited processing capabilities, small memory capacities and high latency. The MQTT design minimizes network bandwidth requirements while attempting to ensure reliability of delivery&amp;quot; [2]&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[1] &lt;a class="jive-link-external-small" href="http://www.computerworld.com/article/2496621/emerging-technology/the-internet-of-things-gets-a-protocol----it-s-called-mqtt.html" rel="nofollow ugc noopener" target="_blank" title="http://www.computerworld.com/article/2496621/emerging-technology/the-internet-of-things-gets-a-protocol----it-s-called-mqtt.html"&gt;The Internet of Things gets a protocol -- it&amp;#39;s called MQTT | Computerworld&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[2] &lt;a class="jive-link-external-small" href="https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/what_is_mqtt_and_how_does_it_work_with_websphere_mq?lang=en" rel="nofollow ugc noopener" target="_blank" title="https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/what_is_mqtt_and_how_does_it_work_with_websphere_mq?lang=en"&gt;https://www.ibm.com/developerworks/community/blogs/aimsupport/entry/what_is_mqtt_and_how_does_it_work_with_websphere_mq?…&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Thu, 30 Oct 2014 17:39:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>ravi_butani</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hii Vishnu...&lt;/p&gt;&lt;p&gt;How are you?&lt;/p&gt;&lt;p&gt;I need our help in mqtt...&lt;/p&gt;&lt;p&gt;I want to setup mqtt client using GPRS (sim900) and arduino atmega328... Can I do this...how?&lt;/p&gt;&lt;p&gt;Thanx ....&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Tue, 30 Sep 2014 11:24:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Like the detailed explaination, thanks Vishnu!&lt;/p&gt;&lt;p&gt;MQTT is lightweight and really easy to setup bi-directional communication with multiple devices, well-suited for IoT. &lt;/p&gt;&lt;p&gt;We at Sierra Wireless have also implemented it in our AirVantage M2M Cloud, as we see it as one of the IoT standard protocols.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Thu, 18 Sep 2014 16:56:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Awesome post about MQTT and why it’s better for IoT than HTTP. It’s definitely more lightweight and efficient.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;What’s missing is, there are other MQTT brokers than mosquitto. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Mosquitto is ideal for running on constrained devices, because it’s very small (written in C). &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;But for enterprise cloud use cases there’s also the &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.hivemq.com/" rel="nofollow ugc noopener" target="_blank"&gt;HiveMQ&lt;/a&gt;&lt;span&gt; Broker (Java) and it works on RaspberryPi as well.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;It has an open plugin system for hooking into MQTT and adding custom behavior and integration into other services. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Other brokers are Mosca (Node.js) or RabbitMQ (Erlang).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Chris&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Wed, 17 Sep 2014 18:30:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very good post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I agree that the more efficient format gets you more messages per wifi link capacity.&lt;/p&gt;&lt;p&gt;Good detail and explanation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I look forward to see how well this approach works for you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: [FMN#08] : MQTT - The language of IoT</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/fmn-08-mqtt---the-language-of-iot</link><pubDate>Wed, 17 Sep 2014 16:02:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ffbccef-ef20-44a3-bc35-fbe7e6af8c31</guid><dc:creator>fvan</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Haven&amp;#39;t used MQTT or Facebook Messenger yet &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-7ffbccef-ef20-44a3-bc35-fbe7e6af8c31/contentimage_5F00_4751.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I should perhaps look at it ... MQTT that is ...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for the info!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Frederick&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18630&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>