{"id":189219,"date":"2021-07-03T07:28:48","date_gmt":"2021-07-03T14:28:48","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=189219"},"modified":"2021-07-03T07:28:50","modified_gmt":"2021-07-03T14:28:50","slug":"publish-with-quality-of-service-qos-1-to-mqtt-bridge-in-google-cloud-platform-gcp","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/publish-with-quality-of-service-qos-1-to-mqtt-bridge-in-google-cloud-platform-gcp\/","title":{"rendered":"Publish with Quality of Service (QoS) 1 to MQTT bridge in Google Cloud Platform (GCP)"},"content":{"rendered":"<p>When devices publish to MQTT bridge in GCP, they can set the Quality of Service to 0 or 1.\u00a0 When QoS is set to 1, the message will be delivered at least once.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>\u00a0 application provides an easy interface to set the QoS for the MQTT connection.<\/p>\n<h1>To set Quality of Service (QoS) to 1 for MQTT connection,<\/h1>\n<ul>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/add-a-device-in-google-cloud-platform-gcp-using-iot-cloud-tester\/\">Add a device to the device registry<\/a> in GCP<\/li>\n<li>In the &#8216;Publish&#8217; tab, select the value for the QoS field from the dropdown.<\/li>\n<li>Click on the &#8216;Publish&#8217; button to start publishing data for the selected device(s).<\/li>\n<\/ul>\n<p>When QoS is set to 1, the message will be acknowledged by PUBACK message after it has been successfully sent to Google Cloud.<\/p>\n<p>The Pub\/Sub monitor will show the data published by the devices.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-189220\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1.png\" alt=\"\" width=\"846\" height=\"728\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1.png 846w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1-300x258.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1-768x661.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/07\/set_qos_1-600x516.png 600w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/a><\/p>\n<ul>\n<li><\/li>\n<\/ul>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/ePGiKfDDigk?hd=1\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When devices publish to MQTT bridge in GCP, they can set the Quality of Service to 0 or 1.\u00a0 When QoS is set to 1, the message will be delivered at least once. IoT Cloud Tester\u00a0 application provides an easy &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/publish-with-quality-of-service-qos-1-to-mqtt-bridge-in-google-cloud-platform-gcp\/\">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":"iot_tutorial_template.php","meta":{"footnotes":""},"class_list":["post-189219","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/189219","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=189219"}],"version-history":[{"count":1,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/189219\/revisions"}],"predecessor-version":[{"id":189221,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/189219\/revisions\/189221"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=189219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}