<?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>Serial LTE Modem - Release Assistance</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77356/serial-lte-modem---release-assistance</link><description>How can we use RAI in SLM please ? 
 I was not able to find corresponding commands alike in Modem Shell: 
 sock rai --rai_enable
sock rai -i 0 --rai_last</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jul 2021 06:55:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77356/serial-lte-modem---release-assistance" /><item><title>RE: Serial LTE Modem - Release Assistance</title><link>https://devzone.nordicsemi.com/thread/319929?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 06:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbfc9966-81b7-45c3-bd87-deb805f730c9</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello again Michal,&lt;/p&gt;
&lt;p lang="en-GB"&gt;this is not supported by the Serial LTE modem application yet, but the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/applications/serial_lte_modem/src/slm_at_tcpip.c#L297"&gt;functionality&lt;/a&gt; was recently added to the master branch.&lt;/p&gt;
&lt;p lang="en-GB"&gt;The test sequence will look like below:&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%RAI=1
AT+CSCON=1
&amp;lt;attach&amp;gt;
at#xsocket=1,2,0
at#xsocketopt=1,52
at#xsendto=&amp;lt;url&amp;gt;,&amp;lt;port&amp;gt;[,&amp;lt;data&amp;gt;]&lt;/pre&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;52 is one uplink packet and one downlink packet, then release RRC connection. The server listed above is an ECHO server, we open a UDP packet, send something to it, get the echoed packet. The +CSCON will report when RRC is released.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Our developers have verified this working in a few NB-IoT networks.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;span lang="en-GB"&gt;You can also check the &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/5067"&gt;pull request&lt;/a&gt;,&amp;nbsp;&lt;/span&gt;&lt;span lang="en-GB"&gt;which comes with a nice doc&lt;/span&gt;&lt;span lang="en-GB"&gt;umentation&lt;/span&gt;&lt;span lang="en-GB"&gt; for &lt;/span&gt;&lt;span lang="en-GB"&gt;the&lt;/span&gt;&lt;span lang="en-GB"&gt; &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK_dev/doc/PR-5067/nrf/applications/serial_lte_modem/doc/SOCKET_AT_commands.html"&gt;socket service&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;I hope this answers your question!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Markus&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem - Release Assistance</title><link>https://devzone.nordicsemi.com/thread/319761?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 11:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2875e06-3f65-4b04-ae0f-d67b8446bf8e</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Michal,&lt;/p&gt;
&lt;p lang="en-GB"&gt;I’m not sure if the Serial LTE modem application has native support for this. I have to check with our developers!&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: Serial LTE Modem - Release Assistance</title><link>https://devzone.nordicsemi.com/thread/319565?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 10:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b13120a6-18dc-46e6-87f8-27418f6364f9</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>&lt;p&gt;With %RAI&lt;span&gt;&amp;nbsp;set I need then to notice modem about last TX datagram or wait for one RX datagram.&lt;br /&gt;&lt;br /&gt;I can find AT command in SLM whit implementation alike&amp;nbsp;sock_rai_option_set and&amp;nbsp;sock_rai&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/nrf9160/modem_shell/src/sock/sock.c#L1192"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/nrf9160/modem_shell/src/sock/sock.c#L1192&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is stated at&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/rai.html"&gt;infocenter.nordicsemi.com/.../rai.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;In addition to using the&amp;nbsp;&lt;span class="keyword cmdname"&gt;%RAI&lt;/span&gt;&amp;nbsp;command, the application must tell when the data connection is not needed anymore through the application domain data socket interface.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I do that in SLM please ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards, Michal&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial LTE Modem - Release Assistance</title><link>https://devzone.nordicsemi.com/thread/319564?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 10:50:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca0883c-62e2-4d4a-acc0-82600c7534ec</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Michal,&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/rai.html"&gt;Release assistance indication %RAI&lt;/a&gt;&lt;/span&gt;&amp;nbsp;AT command in SLM.&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>