<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Cloud and the nRF 9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100786/nrf-cloud-and-the-nrf-9160</link><description>Is there a way to send custom MQTT messages from the Nordic Cloud to an nRF9160 running the Asset Tracker 2 firmware?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jun 2023 15:02:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100786/nrf-cloud-and-the-nrf-9160" /><item><title>RE: nRF Cloud and the nRF 9160</title><link>https://devzone.nordicsemi.com/thread/431070?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 15:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:581f8272-460b-4f7d-a445-492a5ea1d93e</guid><dc:creator>JackW</dc:creator><description>&lt;p&gt;OK.&amp;nbsp; Looks like we will have to do our own AWS cloud implementation and then use the MQTT API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud and the nRF 9160</title><link>https://devzone.nordicsemi.com/thread/430916?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 08:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a04cf6f-84c8-4386-a749-98b39632e660</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there a way to send custom MQTT messages from the Nordic Cloud to an nRF9160 running the Asset Tracker 2 firmware?[/quote]
&lt;p&gt;No, unfortunately, the nRF Cloud solution does not support custom MQTT messages. From the &lt;a href="https://docs.nrfcloud.com/APIs/MQTT/MQTTIntro/"&gt;nRF Cloud documentation on MQTT API&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html" rel="noopener noreferrer" target="_blank"&gt;MQTT&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is a lightweight publish-subscribe protocol for exchanging messages. nRF Cloud is built on AWS and uses the MQTT broker in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-gs.html" rel="noopener noreferrer" target="_blank"&gt;AWS IoT Core&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to process MQTT messages sent and received over&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/topics.html" rel="noopener noreferrer" target="_blank"&gt;MQTT topics&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The publish-subscribe process over MQTT is as follows:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;blockquote&gt;A device, or the MQTT client running in the modem, connects to the nRF Cloud MQTT endpoint.&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;blockquote&gt;The device publishes a JSON message on a topic.&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;blockquote&gt;The MQTT broker receives the message. If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html" rel="noopener noreferrer" target="_blank"&gt;rule&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is specified, the rule is run, and if the rule&amp;#39;s criteria are met, it triggers an action. Typical actions might include storing a message in a database or republishing a subset of the data to another topic.&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;See more &lt;a href="https://docs.nrfcloud.com/APIs/APIOverview/"&gt;information on the nRF Cloud API overview&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is also possible to use nRF Cloud as a cloud-to-cloud solution, where you can use your cloud solution to communicate with nRF Cloud using the REST API.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Let me know if anything is unclear.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>