{"id":145025,"date":"2020-06-13T15:40:02","date_gmt":"2020-06-13T22:40:02","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=145025"},"modified":"2020-06-13T16:50:27","modified_gmt":"2020-06-13T23:50:27","slug":"mqtt-publish-using-simcom-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/mqtt-publish-using-simcom-modules\/","title":{"rendered":"MQTT Publish using Simcom Modules"},"content":{"rendered":"<p>Simcom SIM7XXX modules has support for MQTT feature through the AT Commands.<\/p>\n<p>To publish MQTT with Simcom modules,<\/p>\n<ul>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/mqtt-connect-to-eclipse-public-mqtt-server-using-simcom-modules\/\">Connect to the MQTT browser<\/a><\/li>\n<li>Publish to a topic using the AT+SMPUB command.<\/li>\n<\/ul>\n<h3><strong>Related Topics<\/strong><\/h3>\n<ul>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/how-mqtt-works\/\">How MQTT works?<\/a><\/li>\n<li>MQTT \u2013 Connect to Broker\n<ul>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/mqtt-connect-to-eclipse-public-mqtt-server-using-simcom-modules\/\">Connect to Eclipse public MQTT Server<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/mqtt-publish-using-simcom-modules\/\">MQTT Publish<\/a><\/li>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/mqtt-subscribe-using-simcom-modules\/\">MQTT Subscribe<\/a><\/li>\n<\/ul>\n<p>Try <a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a> tool to test MQTT features with the Simcom Modules. In below example,<\/p>\n<ul>\n<li>With one instance of the AT Command Tester tool, a MQTT connection is established to &#8216;test.mosquitto.org&#8217; server using the Simcom SIM7080G module.<\/li>\n<li>With another instance of the AT Command Tester tool, a MQTT connection is established to &#8216;test.mosquitto.org&#8217; using the PC client.<\/li>\n<li>The MQTT client with Simcom module publishes to the topic &#8216;SensorReadings&#8217;.<\/li>\n<li>The MQTT PC client is subscribed to the topic &#8216;SensorReadings&#8217; and so receives the data published by the Simcom MQTT client.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/06\/simcom_mqtt_publish.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23375\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/06\/simcom_mqtt_publish.png\" alt=\"\" width=\"1231\" height=\"896\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/fIlBD7B5-r0\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Simcom SIM7XXX modules has support for MQTT feature through the AT Commands. To publish MQTT with Simcom modules, Connect to the MQTT browser Publish to a topic using the AT+SMPUB command. Related Topics How MQTT works? MQTT \u2013 Connect to &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/mqtt-publish-using-simcom-modules\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"software_howto.php","meta":{"footnotes":""},"class_list":["post-145025","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=145025"}],"version-history":[{"count":7,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145025\/revisions"}],"predecessor-version":[{"id":145047,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145025\/revisions\/145047"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=145025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}