<?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 custom MQTT topics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97156/nrf-cloud-custom-mqtt-topics</link><description>Hey! 
 
 I am currently working on a device that will produce quite a large amount of data. We are talking 100Hz continuous sampling of 6 sensors + timestamps, so we have a custom data format to reduce the size a bit and we end up producing about 4-5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Mar 2023 10:19:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97156/nrf-cloud-custom-mqtt-topics" /><item><title>RE: nRF Cloud custom MQTT topics</title><link>https://devzone.nordicsemi.com/thread/413206?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 10:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a05b146-8f07-4760-a08a-e5a729cf8501</guid><dc:creator>Oskar</dc:creator><description>&lt;p&gt;Okay, I see!&lt;/p&gt;
&lt;p&gt;Thank you for your time, I will do some experiments and see how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud custom MQTT topics</title><link>https://devzone.nordicsemi.com/thread/413200?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 10:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1425f470-1ea1-4dcd-9298-ef5fb8c98231</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The amount of data you would want to send to nRF Cloud is quite big, and it is currently not supported.&lt;br /&gt; &lt;br /&gt;Messages sent to any topic would need to be prefixed with&amp;nbsp;&lt;span&gt;${mqttTopicPrefix}/m.&amp;nbsp;&lt;/span&gt;Therefore, you would need to adjust your topic to ${mqttTopicPrefix}/m/&lt;span&gt;:device_id/:data_format_version/measurements, and probably send data in chunks less than about 350 KB.&lt;br /&gt; &lt;br /&gt;There is currently no official support for binary data, and there are no guarantees how this would work in your case. If you want to go this way, you would need to experiment.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud custom MQTT topics</title><link>https://devzone.nordicsemi.com/thread/412895?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 07:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e8e5ed4-51bc-4c15-971f-626bb1ca9f40</guid><dc:creator>Oskar</dc:creator><description>&lt;p&gt;So I can use any custom topic with the nRF Cloud and it is considered a device message?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think this is quite clear from the documentation as it states: &lt;em&gt;Topics that begin with &lt;code&gt;$aws&lt;/code&gt; are &lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/reserved-topics.html" rel="noopener noreferrer" target="_blank"&gt;AWS reserved topics&lt;/a&gt;. All other topics are custom-defined by nRF Cloud.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From how I interpret your response I can set up my devices to transmit to, for example, &lt;em&gt;04267166-5df8-541d-8dd9-44492dd4af9d/2/measurements&lt;/em&gt; and that would work fine, with the possibility of data loss as mentioned in the documentation.&lt;/p&gt;
&lt;p&gt;Is this correct?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And on the topic of data loss, I assume the data is only lost from storage and all messages should be received by any subscriber to the MQTT topic(given a correctly configured MQTT QoS)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Cloud custom MQTT topics</title><link>https://devzone.nordicsemi.com/thread/412814?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 16:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa1c786f-c2ce-4dd9-8797-a6ed33755443</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Device messages can be sent either by&amp;nbsp;&lt;a href="https://docs.nrfcloud.com/Devices/Messages/DeviceMessages/#rest-api-1"&gt;REST API&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://docs.nrfcloud.com/Devices/Messages/DeviceMessages/#mqtt-api-1"&gt;MQTT API&lt;/a&gt;. Please be aware of potential data loss that can happen in situations mentioned in&amp;nbsp;&lt;a href="https://docs.nrfcloud.com/Devices/Messages/DeviceMessages/#sending-device-messages"&gt;sending device messages&lt;/a&gt;. If your intention is to store data in nRF Cloud, then you should use MQTT&amp;nbsp;&lt;a href="https://docs.nrfcloud.com/APIs/MQTT/Topics/#message-topics"&gt;Message topics&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>