<?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>SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103144/slm-2-4-0-rai</link><description>Hi, 
 We want to use RAI with SLM FW and not sure how to add it I&amp;#39;ve read some tickets regarding it but still no walkthrough. 
 Here are the steps we do now: 
 1. Receive GPS fix 
 2. Connect to out server 
 3. Send data and GPS 
 4. Check shadow 
 5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Sep 2023 06:40:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103144/slm-2-4-0-rai" /><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/447624?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 06:40:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e3c4435-479c-448b-b7e7-6f648839db6a</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Ok I will check it&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/447623?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 06:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17634c7-4da2-4109-baf5-0de5495614e1</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;If you close the socket/connection, it was working on my nRF9160, HW: B1A, MFW: 1.3.5, NCS 2.4.2.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use the SLM app nor the&amp;nbsp; XNRFCLOUD command. So I don&amp;#39;t know, if that works there.&lt;/p&gt;
&lt;p&gt;Just to mention, my experience is still: AS-RAI is only rarely supported by the network operators. Therefore the idea to test it with the UDP demo isn&amp;#39;t that bad. It may save a lot of time, if it isn&amp;#39;t supported.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/447621?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 06:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:390cb05f-72a6-4f0b-aaf1-b22cacabb9eb</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Thanks for the info Achim,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will check it later this week hopefully it will work&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So you say I don&amp;#39;t need to do setsockopt?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/447265?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 14:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60113737-fd74-429b-9c23-a121d2483b4c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;mfw 1.3.5, NCS 2.4.2&lt;/p&gt;
&lt;p&gt;Doing some comparison tests with TCP and UDP, I stumbled over a nice update to TCP/AS-RAI.&lt;/p&gt;
&lt;p&gt;If you enable AS-RAI (AT%REL14FEAT=0,1,0,0,0 + AT%RAI=1) closing the TCP socket seems to already trigger&amp;nbsp;SO_RAI_NO_DATA. In networks with AS-RAI my modem gets idle in 2-3s after closing. In networks without AS-RAI it takes about 10-12s (that depends on the network setting of the provider).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/445774?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 08:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee3ed6f8-333c-450a-a0e2-4277eab1570f</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;My understanding of that code is limited, but it seems, that connecting with XNRFCLOUD create a socket, which is then not accessible by AT#XSOCKETOPT.&lt;/p&gt;
&lt;p&gt;So, let me try to sum up my experience with AS-RAI:&lt;/p&gt;
&lt;p&gt;- AS-RAI is for no only rarely supported by the networks.&lt;/p&gt;
&lt;p&gt;- Due to the API from Nordic it&amp;#39;s not easy to see, if your network supports it. It&amp;#39;s also not easy to see, if something is done wrong, which prevents AS-RAI from working.&lt;/p&gt;
&lt;p&gt;There two things you may do:&lt;/p&gt;
&lt;p&gt;- check, if AS-RAI is supported by your network. One&amp;nbsp; way would be to use the UDP example, even if that doesn&amp;#39;t help in the end. If you device fails to use AS-RAI with that example in your network, then I guess, you don&amp;#39;t need to spend more time for now.&lt;/p&gt;
&lt;p&gt;- ask more specific, how that SLM application is intended to support AS-RAI.&lt;/p&gt;
&lt;p&gt;I guess, the complete mess around AS-RAI may be much larger than common users would expect. I would not be too surprised, if the current implementation is much behind the plans and works only in a very few special cases. But not in general, not for all apps and not for TCP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/445767?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 08:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8dddd71-3e44-4557-b899-5c7b12d30b9a</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Thanks Achim&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to use it when the connection is open after I exit data mode and before closing the connection and still ERROR.&lt;/p&gt;
&lt;p&gt;Also after exiting data mode and closing connection there is still ERROR&lt;/p&gt;
&lt;p&gt;The command&amp;nbsp;AT#XSOCKETOPT=1,50 doesn&amp;#39;t seems to work&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[13/9 10:56:06:083] AT+CEREG=5
[13/9 10:56:06:814] OK
[13/9 10:56:08:973] AT+CPSMS=1,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;10100001&amp;quot;,&amp;quot;00001010&amp;quot;
[13/9 10:56:09:858] OK
[13/9 10:56:11:033] AT+CSCON=3
[13/9 10:56:11:383] OK
[13/9 10:56:13:023] AT%REL14FEAT=0,1,0,0,0
[13/9 10:56:15:598] AT%RAI=1
[13/9 10:56:15:947] OK
[13/9 10:56:28:472] AT+CFUN=1
[13/9 10:56:29:647] OK
[13/9 10:56:31:167] +CEREG: 2,&amp;quot;198D&amp;quot;,&amp;quot;00048801&amp;quot;,7
[13/9 10:56:31:167] +CSCON: 1,7,4
[13/9 10:56:31:172] +CEREG: 5,&amp;quot;198D&amp;quot;,&amp;quot;00048801&amp;quot;,7,,,&amp;quot;00001010&amp;quot;,&amp;quot;11100000&amp;quot;
[13/9 10:56:36:177] AT#XMQTTCON=1,&amp;quot;..&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;..&amp;quot;,8883,321
[13/9 10:56:40:297] OK
[13/9 10:56:40:297] #XMQTTEVT: 0,0
[13/9 10:56:43:841] AT#XMQTTPUB=&amp;quot;..&amp;quot;,&amp;quot;&amp;quot;,1
[13/9 10:56:44:861] OK
[13/9 10:56:50:381] test
[13/9 10:56:50:951] #XMQTTEVT: 3,0
[13/9 10:56:52:056] test
[13/9 10:56:53:996] #XMQTTEVT: 3,0
[13/9 10:56:58:908] +++
[13/9 10:57:00:081] #XDATAMODE: 0
[13/9 10:57:01:857] AT#XSOCKETOPT=1,50
[13/9 10:57:03:125] ERROR
[13/9 10:57:05:225] AT#XMQTTCON=0
[13/9 10:57:06:171] #XMQTTEVT: 1,0
[13/9 10:57:06:171] OK
[13/9 10:57:07:590] AT#XSOCKETOPT=1,50
[13/9 10:57:07:765] ERROR
[13/9 10:57:11:592] AT#XSLEEP=2
[13/9 10:57:12:256] OK
[13/9 10:57:14:607] low_power&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Still takes 16-60 seconds to get RRC idle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/444922?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2023 12:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:982d69f5-2028-4275-860c-70f1d54c95a0</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I still consider, that AS-RAI requires much more user documentation. I don&amp;#39;t know, why Nordic invest in advertisement for a feature, but then leaves the user without adequate documentation.&lt;/p&gt;
&lt;p&gt;The log above shows me, that at least this user is suffering from the missing documentation.&lt;/p&gt;
&lt;p&gt;AS-RAI in difference to CP-RAI is not something, which is configured completely ahead. In CP-RAI it&amp;#39;s possible to enable &amp;quot;ONE-RESP&amp;quot; once and this gets then used until the configuration is changed. That&amp;#39;s all done with %XRAI.&lt;/p&gt;
&lt;p&gt;AS-RAI is different. It must be general enabled (using REL14FEAT and RAI), but then afterwards the application provides frequently the &amp;quot;LAST&amp;quot; or &amp;quot;NO DATA&amp;quot; via a socket option. For that socket you need to first establish the &amp;quot;connection&amp;quot;. One downside I found is, that if the HTTP server already closes the connection, no AS-RAI option can be set. If you have a connection, then using the option should work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know, if XNRFCLOUD uses an socket, which is then accessible by the XSOCKETOPT cmd. If not, I guess, XNRFCLOUD doesn&amp;#39;t support AS-RAI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/444552?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2023 14:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:979ef5d5-cc73-4674-9087-01413376db22</guid><dc:creator>Ofir_A</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a title="&amp;Oslash;yvind" href="https://devzone.nordicsemi.com/members/oys"&gt;&amp;Oslash;yvind&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry it took time&lt;/p&gt;
&lt;p&gt;I really tried to do all we can to get modem trace but it is not possible&lt;/p&gt;
&lt;p&gt;The most I can give you is this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[5/9 17:21:17:730] Ready
[5/9 17:21:19:095] [00:00:00.503,143] &#x1B;[0m&amp;lt;inf&amp;gt; nrf_modem_lib_trace: Trace thread ready&#x1B;[0m
[5/9 17:21:19:100] [00:00:00.504,699] &#x1B;[0m&amp;lt;inf&amp;gt; nrf_modem_lib_trace: Trace level override: 2&#x1B;[0m
[5/9 17:21:19:104] [00:00:00.504,730] &#x1B;[0m&amp;lt;inf&amp;gt; slm: Serial LTE Modem&#x1B;[0m
[5/9 17:21:19:110] [00:00:00.504,760] &#x1B;[0m&amp;lt;inf&amp;gt; slm_at_host: UART2 baud: 115200 d/p/s-bits: 3/0/1 HWFC: 1&#x1B;[0m
[5/9 17:21:19:119] [00:00:00.607,116] &#x1B;[0m&amp;lt;inf&amp;gt; slm_at_host: at_host init done&#x1B;[0m
[5/9 17:21:41:828] AT%REL14FEAT=0,1,0,0,0
[5/9 17:21:41:937] OK
[5/9 17:21:46:168] AT%RAI=1
[5/9 17:21:46:479] OK
[5/9 17:21:49:860] AT+CEREG=5
[5/9 17:21:51:043] OK
[5/9 17:21:55:948] AT%XBANDLOCK=2,&amp;quot;100&amp;quot;
[5/9 17:21:57:128] OK
[5/9 17:22:00:124] AT+CSCON=3
5/9 17:22:00:167] OK
[5/9 17:22:03:717] AT+CPSMS=1,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;10100001&amp;quot;,&amp;quot;00001010&amp;quot;
[5/9 17:22:04:733] OK
[5/9 17:22:08:727] AT+CFUN=1
[5/9 17:22:09:298] OK
[5/9 17:22:10:818] +CEREG: 2,&amp;quot;198D&amp;quot;,&amp;quot;00048801&amp;quot;,7
[5/9 17:22:10:822] +CSCON: 1,7,4
[5/9 17:22:12:342] +CEREG: 5,&amp;quot;198D&amp;quot;,&amp;quot;00048801&amp;quot;,7,,,&amp;quot;00001010&amp;quot;,&amp;quot;11100000&amp;quot;
[5/9 17:22:13:992] AT#XSOCKETOPT=1,50
[5/9 17:22:15:382] ERROR
[5/9 17:22:15:382] [00:00:56.883,544] &#x1B;[1;31m&amp;lt;err&amp;gt; slm_sock: setsockopt(50) error: -9&#x1B;[0m
[5/9 17:22:21:079] AT%RAI=1
[5/9 17:22:21:467] OK
[5/9 17:22:24:486] AT#XSOCKETOPT=1,50
5/9 17:22:24:512] ERROR
[5/9 17:22:26:032] [00:01:07.378,509] &#x1B;[1;31m&amp;lt;err&amp;gt; slm_sock: setsockopt(50) error: -9&#x1B;[0m
[[5/9 17:22:27:552] +CSCON: 0,7,4
[5/9 17:31:45:717] AT+CEREG?
[5/9 17:31:45:908] +CEREG: 5,5,&amp;quot;198D&amp;quot;,&amp;quot;00048801&amp;quot;,7,,,&amp;quot;00001010&amp;quot;,&amp;quot;11100000&amp;quot;
[5/9 17:31:45:912] OK
[5/9 17:31:48:583] AT+CFUN?
[5/9 17:31:48:952] +CFUN: 1
[5/9 17:31:48:952] OK
[5/9 17:32:02:597] AT#XNRFCLOUD=1
[5/9 17:32:04:167] OK
[5/9 17:32:04:167] +CSCON: 1,7,4
[5/9 17:32:06:951] AT#XSOCKETOPT=1,50
[5/9 17:32:07:212] ERROR
[5/9 17:32:07:212] [00:10:48.968,719] &#x1B;[0m&amp;lt;inf&amp;gt; slm_gnss: NRF_CLOUD_EVT_TRANSPORT_CONNECTED&#x1B;[0m
[5/9 17:32:07:216] [00:10:49.862,243] &#x1B;[1;31m&amp;lt;err&amp;gt; slm_sock: setsockopt(50) error: -9&#x1B;[0m
[5/9 17:32:08:731] #XNRFCLOUD: 1,0
[5/9 17:32:08:736] [00:10:50.305,175] &#x1B;[0m&amp;lt;inf&amp;gt; slm_gnss: NRF_CLOUD_EVT_READY&#x1B;[0m
[5/9 17:32:16:086] AT#XSOCKETOPT=1,50
[5/9 17:32:16:342] ERROR
[5/9 17:32:17:862] [00:10:58.997,436] &#x1B;[1;31m&amp;lt;err&amp;gt; slm_sock: setsockopt(50) error: -9&#x1B;[0m
5/9 17:32:25:471] +CSCON: 0,7,4
[5/9 17:32:26:152] AT+CFUN=0
[5/9 17:32:26:992] #XNRFCLOUD: 0,0
[5/9 17:32:28:516] [00:11:09.165,100] &#x1B;[0m&amp;lt;inf&amp;gt; slm_gnss: NRF_CLOUD_EVT_TRANSPORT_DISCONNECTED: status 3&#x1B;[0m
[5/9 17:32:28:521] OK
[5/9 17:32:28:521] +CSCON: 1,7,4
[5/9 17:32:28:525] +CEREG: 0
[5/9 17:32:28:525] +CSCON: 0,7,4&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443952?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 15:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e9c1024-3007-4f14-8f4f-fed05cbe30a6</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; In this case I&amp;#39;m not asking for which is supported but rather if RAI is supported in the network.&lt;/p&gt;
&lt;p&gt;There is no big difference to report &amp;quot;AS-RAI:&amp;quot; =&amp;gt; &amp;quot;supported&amp;quot; / &amp;quot;not supported&amp;quot; by the network, or &amp;quot;AS-RAI&amp;quot;, CP-RAI&amp;quot; and &amp;quot;No-RAI&amp;quot; supported by the network. But the later will help all.&lt;/p&gt;
&lt;p&gt;And for now, nothing is reported, because someone decided &amp;quot;customers do not need to&amp;quot;. But the customers here in the forum seems to need it ;-).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443936?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 13:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf3c90f2-c076-4da0-9c2f-08de10e7842b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/achimkraus"&gt;Achim Kraus&lt;/a&gt;&amp;nbsp;yes, you have been discussing this topic for a while&amp;nbsp;and we understand that you are not happy in how we handle certain aspects of our features and documents. In this case I&amp;#39;m not asking for which is supported but rather if RAI is supported in the network. For the case of our users we hope that our documentation is relevant and updated for their use-case, and we constantly providing feedback to our R&amp;amp;D department for improvements and bug fixes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443909?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 12:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a47a4943-4ee9-401f-a8b2-f623f0475e0d</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; It&amp;#39;s a little problematic with our product to get modem trace&lt;/p&gt;
&lt;p&gt;&amp;gt; Yes, that is true.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/420727"&gt;Our customers do not need to know which RAI is supported&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I guess, this is simply an wrong assumption by Nordic. Not only here or in the referenced topic, the question is frequently, if AS-RAI or CP-RAI is supported by the network.&lt;/p&gt;
&lt;p&gt;Instead of asking for traces, wouldn&amp;#39;t it be ways easier to report that to the user&amp;#39;s application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443904?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 12:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b1d7186-187e-4a9c-9afa-eb51add24fa0</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;div class="note note"&gt;&amp;gt; we don&amp;#39;t know how and where to add the socket so I can inform it is the last message.&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;
&lt;div class="note note"&gt;If you use the &amp;quot;serial_lte_modem&amp;quot; that app maintains the socket for you.&lt;/div&gt;
&lt;div class="note note"&gt;With &amp;quot;AT#XSOCKETOPT&amp;quot; (see the documentation there) you should the be able to &amp;quot;set SO_RAI_LAST&amp;quot; or &amp;quot;set SO_RAI_NO_DATA&amp;quot;.&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;
&lt;div class="note note"&gt;&amp;gt; We do send sleep=2 when we finished so I want it to send the RAI too.&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;
&lt;div class="note note"&gt;Enter &amp;quot;sleep=2&amp;quot; is not related to RAI and so that doesn&amp;#39;t set the socket opt for you.&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443903?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 11:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e54c3f6-b391-41f7-987f-dc31dca4b6bb</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Yes, that is true. Hope that you are able to get one in an easy manner. You could also the sample that I suggested with the nRF9160DK, this should at least provide information on the network when using the same SIM card.&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443875?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 10:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04ebf731-7d54-477b-b7f3-ba0f043cedef</guid><dc:creator>Ofir_A</dc:creator><description>[quote userid="77062" url="~/f/nordic-q-a/103144/slm-2-4-0-rai/443874"]Please provide a modem trace for our modem team to look at.&amp;nbsp;[/quote]
&lt;p&gt;It&amp;#39;s a little problematic with our product to get modem trace&lt;br /&gt;will check something with the SW engineer and let you know on sunday&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443874?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 10:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5e4b826-609d-403e-afd0-a4e5b34ce7d5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="Ofir_A"]It is not relevant, we use TCP[/quote]
&lt;p&gt;The test would possibly confirm that you are able to enable RAI on your device i.e. that the network does allow RAI.&amp;nbsp;&lt;/p&gt;
[quote user="Ofir_A"]I&amp;#39;ve already tried this with no effect[/quote]
&lt;p&gt;Please provide a modem trace for our modem team to look at.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&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><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443873?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 10:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c7f9327-3702-4411-b82d-d7bfca4a4e30</guid><dc:creator>Ofir_A</dc:creator><description>[quote userid="77062" url="~/f/nordic-q-a/103144/slm-2-4-0-rai/443161"]&lt;div&gt;&lt;div&gt;When we are talking about RAI we are referring to the release 14 feature (enabled by %RAI)&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;You should be able to use AT command&amp;nbsp;&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;&amp;nbsp;to enable RAI on your device&lt;/p&gt;[/quote]
&lt;p&gt;I&amp;#39;ve already tried this with no effect&lt;/p&gt;
&lt;div class="note note"&gt;we don&amp;#39;t know how and where to add the socket so I can inform it is the last message.&lt;/div&gt;
&lt;div class="note note"&gt;We do send sleep=2 when we finished so I want it to send the RAI too.&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;
&lt;div class="note note"&gt;[quote userid="77062" url="~/f/nordic-q-a/103144/slm-2-4-0-rai/443161"]And you can test this with a &lt;a href="https://github.com/charlieshao5189/udp_sample_with_buttons_control"&gt;simple sample that my colleague Charlie made here&lt;/a&gt;.[/quote]&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;
&lt;div class="note note"&gt;It is not relevant, we use TCP&lt;/div&gt;
&lt;div class="note note"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443240?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2023 15:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a8b67a-6b55-424f-961e-82c11e36830c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; We connect with MQTT (LTE-M)&lt;/p&gt;
&lt;p&gt;Using TCP makes it hard to use RAI successful. The last application message may not be the last message being transmitted with a radio message and so that doesn&amp;#39;t match RAI.&lt;/p&gt;
&lt;p&gt;&amp;gt; No, there is no good walk-through,&lt;/p&gt;
&lt;p&gt;Even that link &amp;quot;Maximizing battery &amp;quot; just shows the different resulting charts, not how to achieve them.&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;%XRAI = &amp;quot;CP-RAI&amp;quot; (&lt;strong&gt;only for NB-IoT&lt;/strong&gt;, but not a really useful feature in practice)&lt;/li&gt;
&lt;li&gt;&lt;span&gt;%RAI = &amp;quot;AS-RAI&amp;quot; (Release 14 feature, saves a lot of power consumption by skipping the rrc inactivity timer)&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My experience is exactly the opposite! If you use NB-IoT, CP-RAI works pretty good, and the API is well defined. It&amp;#39;s very useful in combination with CoAP/DTLS 1.2 CID and is one of the ways, to operate a device for months. On interest, see&amp;nbsp;&lt;a href="https://github.com/boaks/zephyr-coaps-client"&gt;zephyr-coaps-client&lt;/a&gt; . Sure, if you use LTE-M, that doesn&amp;#39;t help. And if you use TCP, it also doesn&amp;#39;t work.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you try AS-RAI, you need first to check your networks, if AS-RAI is supported. Unfortunately, Nordic decided, that there is no API to check, if AS-RAI is supported by the network. What you get is something as &amp;quot;implicitly used CP-RAI&amp;quot;, if AS-RAI is missing but requested and CP-RAI is available. Then you need to check, which RAI mode (CP and AS) supports which Options. Again remember, you don&amp;#39;t know, if it&amp;#39;s AS-RAI or CP-RAI. You will find Options working for both, options working only for CP-RAI networks and options working only for AS-RAI.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You&amp;#39;re mixed up? Welcome. Read the full story &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai"&gt;here &lt;/a&gt;. (Just to mention, the &lt;a href="https://github.com/boaks/zephyr-coaps-client"&gt;zephyr-coaps-client&lt;/a&gt; implemented RAI support, that works with both CP-RAI and AS-RAI, but it&amp;#39;s not too easy.) &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Using RAI for TCP is then additionally not easy. RAI is related to data-radio-messages, but for TCP, that doesn&amp;#39;t fit your application messages. When will you tell the modem, that this is the last data-radio-message, or that you&amp;#39;re ready? And what happens, if TCP injects some additional messages?&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So let me recommend:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; - if you want to stick to TCP, then use larger batteries and accept shorter runtime.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- if you need longer runtime, then use UDP.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or, follow the recommendation to collect data and send that once a day. Even if that doesn&amp;#39;t help, if you need to check your system health more frequently.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM 2.4.0 + RAI</title><link>https://devzone.nordicsemi.com/thread/443161?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 12:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72566463-db15-4475-8d8d-d7f6749ecc00</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello!&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;ve read some tickets regarding it but still no walkthrough.[/quote]
&lt;p&gt;No, there is no good walk-through,&amp;nbsp;there is this blog post on DevZone&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/maximizing-battery-lifetime-in-cellular-iot-an-analysis-of-edrx-psm-and-as-rai"&gt;Maximizing battery lifetime in cellular IoT: An analysis of eDRX, PSM, and AS-RAI&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
[quote user=""]We want to know how to add the RAI (in code or AT commands) that immediate after Sleep=2 the modem will go idle&amp;nbsp;[/quote]
&lt;p&gt;There are two possible ways to enable RAI:&lt;/p&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;%XRAI = &amp;quot;CP-RAI&amp;quot; (&lt;strong&gt;only for NB-IoT&lt;/strong&gt;, but not a really useful feature in practice)&lt;/li&gt;
&lt;li&gt;&lt;span&gt;%RAI = &amp;quot;AS-RAI&amp;quot; (Release 14 feature, saves a lot of power consumption by skipping the rrc inactivity timer)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;When we are talking about RAI we are referring to the release 14 feature (enabled by %RAI)&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;You should be able to use AT command&amp;nbsp;&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;&amp;nbsp;to enable RAI on your device. And you can test this with a &lt;a href="https://github.com/charlieshao5189/udp_sample_with_buttons_control"&gt;simple sample that my colleague Charlie made here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Let me know how that works for you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>