<?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>Release assistance indication %RAI with MQTT protocol</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77530/release-assistance-indication-rai-with-mqtt-protocol</link><description>Hello, 
 In the document about Release assistance indication %RAI. It says 
 
 In addition to using the %RAI command, the application must tell when the data connection is not needed anymore through the application domain data socket interface. 
 With</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Nov 2021 14:23:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77530/release-assistance-indication-rai-with-mqtt-protocol" /><item><title>RE: Release assistance indication %RAI with MQTT protocol</title><link>https://devzone.nordicsemi.com/thread/337949?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 14:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e479e0-3af0-4910-89fd-243f2a637bb9</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Refering to case &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81278/early-release-assistance-indication"&gt;#279015&lt;/a&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release assistance indication %RAI with MQTT protocol</title><link>https://devzone.nordicsemi.com/thread/337080?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 12:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87abca0b-d5d3-495e-a1a7-ced29c1282ad</guid><dc:creator>con2021</dc:creator><description>[quote userid="100109" url="~/f/nordic-q-a/77530/release-assistance-indication-rai-with-mqtt-protocol/320367#320367"]RAI should indicate early release after receiving one package, though[/quote]
&lt;p&gt;How do we know that the ack of the TCP is received, so that we can set the RAI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Release assistance indication %RAI with MQTT protocol</title><link>https://devzone.nordicsemi.com/thread/320367?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 07:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5acc8c3-cd5f-46ff-9b30-405ccbf0e210</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Leo,&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span&gt;1. Is using RAI feasible in MQTT protocol(because nrfcloud api use MQTT protocol)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, RAI is possible to use with MQTT. But since MQTT is based on TCP (which means at least two packages, one UL TCP data followed by DL TCP ACK), RAI should indicate early release after receiving one package, though.&lt;/p&gt;
[quote user=""]2. How can I tell the modem that last data packet is sent?&amp;nbsp;[/quote]
&lt;p lang="en-GB"&gt;The modem will take care of this automatically. The only thing the application has to do here, is to switch to the right socket option. The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/applications/serial_lte_modem/README.html#nrf9160-serial-lte-modem"&gt;Serial LTE modem&lt;/a&gt; application &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/applications/serial_lte_modem/src/slm_at_tcpip.c#L296"&gt;demonstrates how&lt;/a&gt; this can be done.&lt;/p&gt;
&lt;p lang="en-GB"&gt;This pull request shows the available &lt;a href="https://github.com/nrfconnect/sdk-zephyr/pull/519/files#diff-84fa1ceebef06cf77f8efd0ded68fee0f80e6bac9312b79c14a4d314f752c005R83"&gt;socket options&lt;/a&gt;.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/pull/519/files#diff-84fa1ceebef06cf77f8efd0ded68fee0f80e6bac9312b79c14a4d314f752c005R83"&gt;&lt;/a&gt;I hope this answers your questions!&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>