{"id":10817,"date":"2020-05-08T14:58:50","date_gmt":"2020-05-08T17:58:50","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=10817"},"modified":"2020-05-08T16:06:44","modified_gmt":"2020-05-08T19:06:44","slug":"using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/","title":{"rendered":"Using MQTT driver to communicate with devices connected to The Things Network."},"content":{"rendered":"<p>In this article, we will show you how to use <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/drivers-en\/mqtt-driver\/\" target=\"_blank\" rel=\"noopener noreferrer\">MQTT driver<\/a> to establish communication between Elipse E3 and devices connected to The Things Network.<\/p>\n<p><a href=\"https:\/\/www.thethingsnetwork.org\/\">The Things Network<\/a> is an open network whose goal is to enable the Internet of Things (IoT). Specified for low power, wide area, the network is being built by communities around the world that install gateways to which the devices can connect at no cost.<\/p>\n<p>The information in this article about the integration between The Things Network and MQTT can be found at <a href=\"https:\/\/www.thethingsnetwork.org\/docs\/applications\/mqtt\/api.html\" target=\"_blank\" rel=\"noopener noreferrer\">their official documentation<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h3>Network Settings<\/h3>\n<p>The Things Network allows low power devices to use wide area gateways to connect to an open, decentralized network, through which they can connect to applications. Similarly, it&#8217;s also possible to establish a private network. This article will illustrate how to use an open network, also called community network; however, you can use the same principles shown here to configure the driver to use a private network.<\/p>\n<p>In order to manage your devices and applications in the community network, you will need to use the\u00a0 <em><a href=\"https:\/\/console.thethingsnetwork.org\/\">Console<\/a><\/em> supplied by The Things Network via browser. If required, you&#8217;ll need to log in or create an account. After that, click <em>Applications<\/em> to manage your applications. In this context, an application manages devices and their interactions. Select the application to which you want to communicate, or create a new one. The next page, displayed at Figure 1, shows an overview of the application and indicates some important information for setting up the MQTT driver:<\/p>\n<ul>\n<li><strong><em>Application ID<\/em><\/strong> &#8211; unique name that identifies this application.<\/li>\n<li><strong><em>Handler<\/em><\/strong> &#8211; service responsible for directing messages from multiple applications.<\/li>\n<li><strong><em>Access Key<\/em><\/strong> &#8211; the application&#8217;s access key; use this for establishing communication with this application.<\/li>\n<\/ul>\n<figure id=\"attachment_10552\" style=\"width: 1375px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10552 size-full\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Application-Overview.png\" alt=\"\" width=\"1375\" height=\"1331\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 1<\/strong>: The Things Network Console: <em>Application Overview<\/em>.<\/figcaption><\/figure>\n<p>Next, click <em>Devices<\/em> on the upper menu. Select the device to which you want to communicate with, or create a new one. The next page, as seen below at Figure 2, shows the device&#8217;s general information. Additionally, the page allows sending messages to the device (<em>downlink<\/em>) or simulating messages from the device (<em>uplink<\/em>). To set up the driver, use the following data:<\/p>\n<ul>\n<li><strong><em>Device ID<\/em><\/strong> &#8211; unique name in the application that identifies the device.<\/li>\n<\/ul>\n<figure id=\"attachment_10553\" style=\"width: 1389px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"size-full wp-image-10553\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Device-Overview.png\" alt=\"\" width=\"1389\" height=\"1731\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 2<\/strong>: The Things Network Console: <em>Device Overview<\/em>.<\/figcaption><\/figure>\n<h3><\/h3>\n<h3>Driver Settings<\/h3>\n<p>At <a href=\"https:\/\/www.elipse.com.br\/en\/produto\/elipse-e3\/\" target=\"_blank\" rel=\"noopener noreferrer\">Elipse E3<\/a>, open the MQTT driver&#8217;s settings window. Then, access <strong>Setup <\/strong>tab and make sure the physical layer selected is Ethernet.<\/p>\n<p>After that, access <strong>Ethernet <\/strong>tab, and supply the IP address and the port to which the driver needs to connect. On the TTN community network, the IP address is associated to the handler:\u00a0 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[region].thethings.network<\/code>, where <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[region]<\/code> is the handler&#8217;s final bit. In the example, the handler is <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">ttn-handler-brazil<\/code>; therefore, the address is<code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">brazil.thethings.network<\/code>. When using a private network, the address needs to be supplied by the network&#8217;s administrator.\u00a0 By default, the MQTT protocol uses port 1883. Likewise, make sure you set up the transport layer as\u00a0 TCP\/IP.<\/p>\n<figure id=\"attachment_10557\" style=\"width: 400px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10557\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Driver-EthernetSetup.png\" alt=\"\" width=\"400\" height=\"273\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 3<\/strong>: MQTT driver: Settings window, Ethernet tab.<\/figcaption><\/figure>\n<p>Finally, go to <strong>General <\/strong>tab and then set up the access to your application. For <strong>Client ID <\/strong>field, inform the name that this driver will use to sign in with the MQTT broker; this name should be unique for all the broker&#8217;s connection. At <strong>User<\/strong>, add your application&#8217;s <em>Application ID<\/em> and, at <strong>Password<\/strong>, add your <em>Access Key<\/em>. This data was previously retrieved at the network&#8217;s configuration, as seen above.<\/p>\n<figure id=\"attachment_10558\" style=\"width: 400px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10558\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Driver-GeneralSetup.png\" alt=\"\" width=\"400\" height=\"273\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 4<\/strong>: MQTT driver: Settings window, General tab.<\/figcaption><\/figure>\n<h3><\/h3>\n<h3>Receiving Data<\/h3>\n<p>At The Things Network, the messages sent by devices to the applications are called <em>uplinks<\/em>. The broker publishes these messages in a topic called: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[AppID]\/devices\/[DevID]\/up<\/code>, where <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[AppID]<\/code> is the <em>Application ID<\/em> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[DevID]<\/code> is the <em>Device ID<\/em>. In our example, the topic would be <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">beal-app\/devices\/beal-dvc\/up<\/code>.<\/p>\n<p>These messages are sent in JSON format. For example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-linenumbers=\"false\">{\r\n  \"app_id\":\"beal-app\",\r\n  \"dev_id\":\"beal-dvc\",\r\n  \"hardware_serial\":\"00001111AAAAFFFF\",\r\n  \"port\":1,\r\n  \"counter\":0,\r\n  \"payload_raw\":\"AQEB\",\r\n  \"metadata\":\r\n  {\r\n    \"time\":\"2020-04-09T16:58:41.105992752Z\"\r\n  }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h4>Declaring templates<\/h4>\n<p>The MQTT driver allows declaring templates in different formats, which help decode the received messages. In order to declare a template, open the settings window and access the <strong>Templates <\/strong>tab. Then check the option &#8220;Apply local timezone to timestamps&#8221; so that the timestamp shows your local timezone. Moreover, add a name to the template, select JSON format, and click <strong>Add<\/strong> to create it. Last, click <strong>Edit<\/strong> to open the template&#8217;s edition window. For further information on how to use templates, check out the driver&#8217;s documentation.<\/p>\n<figure id=\"attachment_10562\" style=\"width: 400px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10562\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Driver-TemplatesSetup.png\" alt=\"\" width=\"400\" height=\"273\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 5<\/strong>: MQTT driver: Settings window, Templates tab.<\/figcaption><\/figure>\n<p>Finally, there is a template for the example application. This template provides the values from three different fields of the received message: &#8220;payload_raw&#8221;, &#8220;counter&#8221; and &#8220;port&#8221;. Additionally, the template reads the message&#8217;s timestamp and uses it as the timestamp for the I\/O tag.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-linenumbers=\"false\">{\r\n  \"payload_raw\":\"V1\",\r\n  \"counter\":\"V2\",\r\n  \"port\":\"V3\",\t\r\n  \"metadata\":\r\n  {\r\n    \"time\":\"TS_TEXT(%Y-%m-%dT%H:%M:%S.%fZ)\"\r\n  }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<h4>At Elipse E3<\/h4>\n<p>In order to receive data at Elipse E3, create an I\/O tag or block and set it up as <strong>read only<\/strong>: check the option <strong>Read<\/strong> (<em>AllowRead<\/em> property as <strong>True<\/strong>) and uncheck the option <strong>Write<\/strong> (<em>AllowWrite<\/em> property as <strong>False<\/strong>). At <strong>Item<\/strong>, add the name of the topic that will be accessed, followed by the name of the template, separated by a &#8220;;&#8221; (semi-colon). You can express a specific value for the template by adding another &#8220;;&#8221; (semi-colon) and the identifier of the field used by the template (for example, V1). At Figure 6, you can see different ways of retrieving the values received by I\/O tags or blocks at Elipse E3.<\/p>\n<figure id=\"attachment_10760\" style=\"width: 837px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10760 size-full\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/05\/10545\/TTN-Reading2.png\" alt=\"\" width=\"837\" height=\"197\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 6<\/strong>: E3 Studio: Examples of Read I\/O Tags and Blocks.<\/figcaption><\/figure>\n<p>Figure 6 displays a message that was sent by simulating an uplink via the device&#8217;s general information at <em>Console<\/em>, as previously seen at Figure 2. Notice that in this case, the payload is informed as hexadecimal, but transmitted and received as base64 enconding. When using an actual device, you can, via Console, create a decoder that translates the bytes sent by the device to a JSON object, thus facilitating data interpretation.<\/p>\n<h3><\/h3>\n<h3>Sending Data<\/h3>\n<p>At The Things Network, the messages sent from an application to a device are called <em>downlinks<\/em>. For that, they must be published at the broker in a topic called: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[AppID]\/devices\/[DevID]\/down<\/code>, where <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[AppID]<\/code> is the <em>Application ID<\/em> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">[DevID]<\/code> is the <em>Device ID<\/em>. In our example, the topic would be <code class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">beal-app\/devices\/beal-dvc\/down<\/code>.<\/p>\n<p>In order to send data from Elipse E3, create an I\/O tag and set it up as <strong>write only<\/strong>:\u00a0 uncheck the option <strong>Read<\/strong> (<em>AllowRead<\/em> property as <strong>False<\/strong>) and check the option <strong>Write<\/strong> (<em>AllowWrite<\/em> property as <strong>True<\/strong>). At <strong>Item<\/strong>, add the name of the topic you want to access, as seen above.<\/p>\n<p>Make sure you send the messages through the driver in the proper JSON format, otherwise the handler can&#8217;t send them to the device. As you can see below, there are two possible formats for that. We suggest you create the package to be sent via scripts.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-linenumbers=\"false\">{\r\n  \"port\":1,                \/\/ Port at the device\r\n  \"confirmed\":false,       \/\/ Should device confirm reception?\r\n  \"payload_raw\":\"AQIDBA==\" \/\/ 64-based payload: [0x01, 0x02, 0x03, 0x04]\r\n}<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-linenumbers=\"false\" data-enlighter-language=\"json\">{\r\n  \"port\":1,          \/\/ Port at the device\r\n  \"confirmed\":false, \/\/ Should device confirm reception?\r\n  \"payload_fields\":  \/\/ JSON-format payload \r\n  {\r\n    \"led\": true\r\n  }\r\n}<\/pre>\n<p>You can check that messages are being received correctly via Console, by accessing the <em>Data<\/em> menu from inside the device. Figure 7 shows how it acknowledges receiving the two messages above, sent via Elipse E3.<\/p>\n<figure id=\"attachment_10564\" style=\"width: 1382px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-10564 size-full\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Device-Data-Downlink.png\" alt=\"\" width=\"1382\" height=\"434\" \/><figcaption class=\"wp-caption-text\"><strong>Figure 7<\/strong> : The Things Network Console: <em>Device Data<\/em>.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show you how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network. The Things Network is an&hellip;<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[977],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Communication between MQTT driver and The Things Network.<\/title>\n<meta name=\"description\" content=\"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Communication between MQTT driver and The Things Network.\" \/>\n<meta property=\"og:description\" content=\"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-08T17:58:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-08T19:06:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Application-Overview.png\" \/>\n<meta name=\"author\" content=\"Guilherme de Paoli Beal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Guilherme de Paoli Beal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\"},\"author\":{\"name\":\"Guilherme de Paoli Beal\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6\"},\"headline\":\"Using MQTT driver to communicate with devices connected to The Things Network.\",\"datePublished\":\"2020-05-08T17:58:50+00:00\",\"dateModified\":\"2020-05-08T19:06:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\"},\"wordCount\":2523,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"MQTT Driver\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\",\"name\":\"Communication between MQTT driver and The Things Network.\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2020-05-08T17:58:50+00:00\",\"dateModified\":\"2020-05-08T19:06:44+00:00\",\"description\":\"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using MQTT driver to communicate with devices connected to The Things Network.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6\",\"name\":\"Guilherme de Paoli Beal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g\",\"caption\":\"Guilherme de Paoli Beal\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/beal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Communication between MQTT driver and The Things Network.","description":"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/","og_locale":"en_US","og_type":"article","og_title":"Communication between MQTT driver and The Things Network.","og_description":"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.","og_url":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2020-05-08T17:58:50+00:00","article_modified_time":"2020-05-08T19:06:44+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/04\/10545\/Application-Overview.png"}],"author":"Guilherme de Paoli Beal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Guilherme de Paoli Beal","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/"},"author":{"name":"Guilherme de Paoli Beal","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6"},"headline":"Using MQTT driver to communicate with devices connected to The Things Network.","datePublished":"2020-05-08T17:58:50+00:00","dateModified":"2020-05-08T19:06:44+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/"},"wordCount":2523,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["MQTT Driver"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/","url":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/","name":"Communication between MQTT driver and The Things Network.","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2020-05-08T17:58:50+00:00","dateModified":"2020-05-08T19:06:44+00:00","description":"This article illustrates how to use MQTT driver to establish communication between Elipse E3 and devices connected to The Things Network.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/using-mqtt-driver-to-communicate-with-devices-connected-to-the-things-network\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Using MQTT driver to communicate with devices connected to The Things Network."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6","name":"Guilherme de Paoli Beal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g","caption":"Guilherme de Paoli Beal"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/beal\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10817"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=10817"}],"version-history":[{"count":16,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10817\/revisions"}],"predecessor-version":[{"id":10833,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10817\/revisions\/10833"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=10817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=10817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=10817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}