<?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>Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai</link><description>Knowing, that the AS-RAI implementation is experimental, I would still prefer to have more documentation about the details. 
 I already asked for these details in an other issue (see Details of AS-RAI and CP-RAI fallback ) but for me there are still some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Apr 2025 15:37:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai" /><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/532229?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2025 15:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d595bc8e-068c-4558-a58e-66c3ba143ec5</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Just to mention:&lt;/p&gt;
&lt;p&gt;In the meantime, the modem firmware 2.0.2 for the nRF9161/51 reports, if the network supports CP-RAI and/or AS-RAI. Very helpful, as in too many case too much time is lost in tests and the network is just not supporting RAI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/447370?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 07:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d45ca0c8-7752-4c0b-94a1-619d7399d11f</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Good question. I usually don&amp;#39;t close it so I don&amp;#39;t have the answer. When I do some testing again, I will check it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/447362?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 07:16:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c3df1ca-df06-4872-84fe-474b023897f5</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>&lt;p&gt;Thanks for update.&lt;br /&gt;Does it apply to closing UDP socket also?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/447268?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 14:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f664651-e965-4489-8ea2-ccf3d8498981</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Just an update:&lt;/p&gt;
&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: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/427747?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 10:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d63fa6-a2a9-42e6-ba81-7577414d7af3</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/michalm"&gt;Michal Mühlpachr&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;gt; E.g. if you send UDP packet using socket API, you will not get an error in all cases, when the packet was not sent by the device.&lt;/p&gt;
&lt;p&gt;Just if you are still interested in this topic:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99009/bug-report-non-blocking-send-fails-with-ewouldblock-even-though-poll-returned-pollout/427743"&gt;Bug report: Non-blocking send fails with EWOULDBLOCK even though poll returned POLLOUT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There in a comment of today:&lt;/p&gt;
&lt;p&gt;&amp;gt; Yes, EAGAIN is returned even for DGRAM sockets. In any case, I am not aware of any situations where the messages are &amp;quot;swallowed up&amp;quot; by the modem and never get sent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421899?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2023 16:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11a7578d-05dc-41b9-8d27-f9cbe50b84ee</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; Does queue based socket API layer have any insight into immediate link layer properties?&lt;/p&gt;
&lt;p&gt;My understanding of that implementation was, that it &amp;quot;couples the layers&amp;quot;. You pass two messages via &amp;quot;sendto&amp;quot; and then &amp;quot;SO_RAI_NO_DATA&amp;quot;, then the two messages are sent and SO_RAI_NO_DATA is applied afterwards (I think, that was somewhere written here in the forum). Not sure, what actually happens. My experience is focused on the&amp;nbsp; coap request/response pattern and so I use SO_RAI_ONE_RESP. And since updating my implementation using SO_RAI_NO_DATA additionally, it works also for Vodafone/Germany 26202 LTE-M/AS-RAI. For my use-cases (at least this year), that&amp;#39;s fine and already an improvement.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems to be the next question to add details about that relation of the messages and the &amp;quot;SO_RAI&amp;quot; options to the documentation :-).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421897?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2023 14:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12e61a71-ea70-4039-934e-874ebae0a6ab</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421890"]In my experience from other systems, that helps a lot for congestion control. It prevents the system from dropping messages internally. [/quote]
&lt;p&gt;Of course, but it does not address all states.&lt;/p&gt;
[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421890"] An error code may have a better chance.[/quote]
&lt;p&gt;Does queue based socket API layer have any insight into immediate link layer properties?&lt;/p&gt;
&lt;p&gt;It is not a good API pattern to intermix queue and immediate approach in one API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421890?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2023 07:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef6e81d-1f46-41f0-ab31-63a3367b0e00</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; in other systems (e.g. Linux) you get only info regarding socket buffer (SOCK_DGRAM in case of UDP) is ready for another send with poll/POLLOUT, but that is not info regarding datagram was actually sent.&lt;/p&gt;
&lt;p&gt;In my experience from other systems, that helps a lot for congestion control. It prevents the system from dropping messages internally. I don&amp;#39;t know, if that is implemented by the modems socket implementation. Unfortunately, such stuff is missing in the documentation.&lt;/p&gt;
&lt;p&gt;&amp;gt; One option can be to add LTE link layer API&lt;/p&gt;
&lt;p&gt;My impression about such extensions and redesigns is more, that they don&amp;#39;t happen. At least not without a huge commercial project requesting it. Therefore, as I wrote, I would be happy if it starts with reporting errors, even if that has also still some drawbacks.&lt;/p&gt;
&lt;p&gt;I guess, even a more complete documentation will take several weeks. And I don&amp;#39;t see, that a redesign will happen this year. An error code may have a better chance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421879?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 13:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126c4a2c-533f-4fe8-8549-cbbc1f41f631</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421874"]In other cases/systems, using &amp;quot;poll&amp;quot; with POLLOUT does the job[/quote]
&lt;p&gt;In other systems (e.g. Linux) you get only info regarding socket buffer (SOCK_DGRAM in case of UDP) is ready for another send with poll/POLLOUT, but that is not info regarding datagram was actually sent.&lt;/p&gt;
&lt;p&gt;DGRAM socket API is not suitable for link layer control.&lt;/p&gt;
[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421874"]Without an alternative proposal I don&amp;#39;t see, that a discussion about the weakness and flaws helps.[/quote]
&lt;p&gt;It helps to make clear what are the flaws and what is missing. In other words, what should be handled by extended API.&lt;/p&gt;
&lt;p&gt;One option can be to add LTE link layer API (it could be made also with socket approach by adding special socket type aka LTE link layer or just add special LTE link layer API exposing all LTE under the hood details) and bring control, status info, events, data transport capabilities there.&lt;/p&gt;
&lt;p&gt;It would not break the current higher-level TCP/UDP API and it will bring lower link-level control to applications, that can implement energy-efficient data transport.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421874?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 08:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06cd7c5a-a990-4343-8623-f0eff6a44e39</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; I agree, but socket API does not have that general quality and so such an approach would require wider API redesign.&lt;/p&gt;
&lt;p&gt;Yes, it has some flaws. They are caused by a compromise not to block calls for an actual later outcome. But that seems to be more common. I&amp;#39;m not sure, if the modem&amp;#39;s &amp;quot;nrf specific socket&amp;quot; API returns errors on poll, but on other implementations that works.&lt;/p&gt;
&lt;p&gt;The point with a &amp;quot;redesign&amp;quot; would be the timeline. I would guess, it will take that long, that for many it will never come ;-). And I still miss an alternative proposal.&lt;/p&gt;
&lt;p&gt;&amp;gt; why you are asking for notifications about packets&amp;nbsp;actually sent.&lt;/p&gt;
&lt;p&gt;No, I don&amp;#39;t ask. I tired to explain, why RRC idle will not help for your bulk transfer. But for now I don&amp;#39;t plan to use a bulk-transfer over UDP. In other cases/systems, using &amp;quot;poll&amp;quot; with POLLOUT does the job, but I don&amp;#39;t know, if that is implemented in the &amp;quot;nrf socket&amp;quot;. Maybe, once in the future, I would try to switch NSTART-2 or 4 for a coap blockwise FOTA, but not for now and not with more pending messages as a small couple.&lt;/p&gt;
&lt;p&gt;So all in all:&lt;/p&gt;
&lt;p&gt;Without an alternative proposal I don&amp;#39;t see, that a discussion about the weakness and flaws helps. At least in my awareness quite a lot are common to that and will benefit from the error codes more then they suffer from things, which are not working with that approach.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421863?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 22:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30bc1f49-3aba-45ec-9a44-adc6c1352428</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421850"]But to return error, if something doesn&amp;#39;t work as expected, is for me a well API designed. And that fix should not be blocked by a single application.[/quote]
&lt;p&gt;I agree, but socket API does not have that general quality and so such an approach would require wider API redesign.&lt;/p&gt;
&lt;p&gt;E.g. if you send UDP packet using socket API, you will not get an error in all cases, when the packet was not sent by the device.&lt;/p&gt;
&lt;p&gt;Overloading socket API by passing signalization regarding L2 Link Layer over L3 Network Layer API is not a good approach.&lt;/p&gt;
&lt;p&gt;Socket API insufficiency is also the reason, why you are asking for notifications about packets&amp;nbsp;actually sent.&lt;br /&gt;But there is a catch, because there could be more than one UDP packet sent (on the way in modem), so you would need to identify to what exact packet is a notification about&amp;nbsp;&lt;span&gt;packets&amp;nbsp;&lt;/span&gt;&lt;span&gt;actually sent related.&lt;br /&gt;And there is not any packet id that could be used for that.&lt;/span&gt;&lt;/p&gt;
[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421850"]I guess you request a different API.[/quote]
&lt;p&gt;Yes, because there is a mix of layers in one API (socket API overloading).&lt;/p&gt;
&lt;p&gt;SO_RAI_* is Link layer related,&amp;nbsp;&lt;span&gt;SO_SILENCE_ALL is also not related to UDP or TCP either, etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The current socket API is also the reason, why there is no reasonable way, how to provide the information required for bulk transfer timing implementation - power consumption optimized congestion control.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421851?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 19:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c847f5b-8bca-4344-a8ad-b4c93cb72290</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; if it is a breaking error (e.g. socket is not connected)&lt;/p&gt;
&lt;p&gt;In combination with setsockopt SO_RAI_NO_DATA it&amp;#39;s not breaking. In that case it is not applied, but the other functions are working. It is very much the same, as if it doesn&amp;#39;t work, because Rel 13 CP-RAI is used implicit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421850?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 19:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d213994-903a-441b-b14a-6cc96373e56a</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;That affects only SLM. And for that it&amp;#39;s very easy, to keep the wrong OK, even if setsockopt returns an error.&lt;/p&gt;
&lt;p&gt;But to return error, if something doesn&amp;#39;t work as expected, is for me a well API designed. And that fix should not be blocked by a single application.&lt;/p&gt;
&lt;p&gt;I guess you request a different API. Without an alternative proposals, I don&amp;#39;t see, that this would be available soon. But return an error for setsockopt should be not too hard, even if SLM will then not benefit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421846?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 18:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81827d52-9003-40bd-a71c-435d80ed7e90</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421845"]I assume, you mean at the AT-cmd level of that application?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421845"]I don&amp;#39;t use the &amp;quot;Serial LTE Modem&amp;quot;, so if other feel, that an error causes trouble there, then it should be very easy to swallow a returned error in that application.[/quote]
&lt;p&gt;SLM returns just OK or ERROR. In case of ERROR it would not be clear if it is a breaking error (e.g. socket is not connected) or a non-breaking error like a feature is not supported by the network.&lt;/p&gt;
&lt;p&gt;So there would not be an easy way how to distinguish whether to swallow or not swallow error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421845?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 18:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4379a608-9074-450b-8d41-0132f8bb14c8</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; Serial LTE Modem&lt;/p&gt;
&lt;p&gt;That&amp;#39;s one application among a lot.&lt;/p&gt;
&lt;p&gt;&amp;gt; there is no easy way to distinguish breaking/non-breaking error&lt;/p&gt;
&lt;p&gt;I assume, you mean at the AT-cmd level of that application?&lt;/p&gt;
&lt;p&gt;AS-RAI uses &amp;quot;setsockopt&amp;quot;, which already defines to return errors. The current implementation actually returns error codes, e.g. if the UDP socket is not connected, you get a -1 and errno of 121 (EDESTADDRREQ) for SO_RAI_NO_DATA. Returning an error in cases, where the selected RAI option is not supported by the network is more a bugfix according the expected behavior then an API break.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use the &amp;quot;Serial LTE Modem&amp;quot;, so if other feel, that an error causes trouble there, then it should be very easy to swallow a returned error in that application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421839?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 17:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4dc97ce-7e56-4733-aef7-f5c4d85d248c</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/421818"]In my opinion it is not &amp;quot;the best possible way&amp;quot; to swallow a SO_RAI_ONE_RESP or SO_RAI_NO_DATA in the case it is not supported. Either returning an error code[/quote]
&lt;p&gt;Error code would trigger AT command flow redesign for Serial LTE Modem application since there is no easy way to distinguish breaking/non-breaking error. I understand, that for API level it is not an issue, but a feasible solution should consider broader use cases than just API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421818?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 15:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:444fc0ee-ac26-4523-93f2-22b46ba94349</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;To mention what works and what works not in the documentation would have saved a lot of time, at least for me.&lt;/p&gt;
&lt;p&gt;In my opinion it is not &amp;quot;the best possible way&amp;quot; to swallow a SO_RAI_ONE_RESP or SO_RAI_NO_DATA in the case it is not supported. Either returning an error code or the actual RAI mode supported by the network would enable users to write better applications and understand the network features.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/421808?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 14:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5946a6d0-2599-4113-a241-7499d3262f8f</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Dejan is currently on vacation, so I have taken over this ticket.&lt;/p&gt;
&lt;p&gt;Is there anything that is still unclear?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll see what I can do regarding a sample or more documentation on how to use RAI.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420786?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ea4d44-c0ba-48ea-bb97-d3b1ff1126c6</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;To &amp;quot;ignore&amp;quot; SO_RAI_NO_DATA is for some customers not &amp;quot;nothing&amp;quot; ;-).&lt;/p&gt;
&lt;p&gt;My feeling is, there are very different understandings, what should happen.&lt;/p&gt;
&lt;p&gt;For Nordic it seems to be &amp;quot;the best possible way&amp;quot; to not report, if a requested RAI option is effective or not.&lt;/p&gt;
&lt;p&gt;For developer, which want to implement energy efficient applications, &amp;quot;the best possible way&amp;quot; would be at least an error-code, if a requested RAI option is not effective. A &amp;quot;smart mapping&amp;quot; of not supported options into implicit working options (e.g. &amp;quot;SO_RAI_ONE_RESP&amp;quot; with Rel. 14 AS-RAI into &amp;quot;SO_RAI_NO_DATA&amp;quot; after receiving a incoming data) would be an improvement. Or at least a documentation, where it get&amp;#39;s clear, that&amp;nbsp;SO_RAI_ONE_RESP and SO_RAI_NO_DATA are intended to be used together, if it&amp;#39;s unclear, which RAI version you get.&lt;/p&gt;
&lt;p&gt;All in all:&lt;/p&gt;
&lt;p&gt;Your customers are spending so much time in your &amp;quot;best possible way&amp;quot; of not reporting details, that this gets very expensive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420754?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 11:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0466da0-37c8-429c-95a5-1c2415379e7c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="michalm"]What about SO_RAI_NO_DATA in this case?[/quote]
&lt;p&gt;Nothing should happen with SO_RAI_NO_DATA.&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><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420742?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 11:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12526ab-b956-4d8f-87a3-1b5db08d31dc</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="111786" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/420727"]Our customers do not need&amp;nbsp;to know which RAI is supported or which is enabled (if any).[/quote]
&lt;p&gt;We are your customer and we need to know that for troubleshooting purposes.&lt;/p&gt;
&lt;p&gt;Knowing that and reporting that to our backend occasionally brings insight about operator/transport in use and allows battery lifetime estimation (based on communication power usage estimation). The modem do not provide information about &amp;quot;power consumed&amp;quot; unfortunately, so we do not have any other possibility how to estimate battery lifetime in case power consumption key drivers are unknown.&lt;/p&gt;
&lt;p&gt;How would you suggest estimating energy consumed by the modem without knowing those details?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420734?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 11:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a6fcb83-7c4f-4b20-b612-c251a14edd5b</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; It is enough to configure last_packet/one_resp/no_data socket option&lt;/p&gt;
&lt;p&gt;That is exactly not the case! Someone need to know, that using one_resp or no_data doesn&amp;#39;t work reliable, these options must be used together.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420727?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 10:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6352c0-ffcc-4468-b938-55a9f9f57e19</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="michalm"]is there API way to detect whether network is R13 or R14, weather AS-RAI or R14 features are supported?[/quote]
&lt;p&gt;Our customers do not need&amp;nbsp;to know which RAI is supported or which is enabled (if any). It is enough to configure last_packet/one_resp/no_data socket option based on the situation in application and modem will use it in the best possible way depending on network&amp;#39;s RAI support. Simply set the socket options to the best of application knowledge. There is no need for knowing other possible sockets in use when setting socket options for one socket because modem has common understanding of all sockets. In addition, it is not necessary to know which protocol (TCP or UDP) is used because the protocols are handled below the socket interface.&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><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420615?ContentTypeID=1</link><pubDate>Sat, 15 Apr 2023 16:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5172d26f-0846-41a8-9f63-d25c05a55090</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/420570"]This is mixed up and the sayings are moving (&amp;quot;fallback&amp;quot; is now &amp;quot;&lt;span&gt;implicitly used&lt;/span&gt;&amp;quot;).[/quote]
&lt;p&gt;if I understand, the description is consistent with the previous ticket. AS-RAI and CP-RAI are used simultaneously if the operator supports them (priority undefined by standards, EPC implementation dependent, but usually AS-RAI has precedence). When AS-RAI is enabled on the modem but the operator does not support it, the modem attempts to use CP-RAI.&lt;/p&gt;
&lt;p&gt;BTW is there API way to detect whether network is R13 or R14, weather AS-RAI or R14 features are supported?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please consolidate nRF9160 documentation about CP-RAI and AS-RAI</title><link>https://devzone.nordicsemi.com/thread/420614?ContentTypeID=1</link><pubDate>Sat, 15 Apr 2023 15:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad48323-6b56-427a-8e52-181130f3f0b9</guid><dc:creator>Michal M&amp;#252;hlpachr</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai/420612"]Isn&amp;#39;t it your experience, that this doesn&amp;#39;t work?[/quote]
&lt;p&gt;Yes, it is,&amp;nbsp;I&amp;#39;m just making sure I understand this correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>