<?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>LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125888/lte-link-controller-rai_update-behaviour</link><description>I have a nRF9151 based device, modem firmware version v2.0.3, with `CONFIG_LTE_LC_RAI_MODULE=y`, registered on LTE-M. 
 Using `NRF_RAI_LAST` is working, but I am seeing odd behaviour of the `LTE_LC_EVT_RAI_UPDATE` event. Each time the modem comes out</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Feb 2026 13:30:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125888/lte-link-controller-rai_update-behaviour" /><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/560345?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 13:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a03779e-c6c7-48a3-a0dc-de058786fb3f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Al&lt;/p&gt;
&lt;p&gt;Since this is a slightly different topic than the original ticket, can you please create a new DevZone ticket for this issue. Please add information on:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What NCS and modem firmware version you&amp;#39;re working on as well as what chipset/SiP you&amp;#39;re working on.&lt;/li&gt;
&lt;li&gt;Which country and network you&amp;#39;re on, and if you&amp;#39;re using&amp;nbsp;a MVNO (mobile vitrual network operator).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can potentially test the UDP sample, where PSM should be configured by default.&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.2.1/page/nrf/samples/net/udp/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-3.2.1/page/nrf/samples/net/udp/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/560304?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 08:38:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc0cedd7-4309-4992-b326-9b23cb97401c</guid><dc:creator>Monkeytronics</dc:creator><description>&lt;p&gt;Can I just ask for a bit of clarification around this. In addition to:&lt;/p&gt;
&lt;div&gt;
&lt;div style="padding-left:30px;"&gt;&lt;span style="color:#0000ff;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;## PSM
CONFIG_LTE_PSM_REQ=y
CONFIG_LTE_LC_PSM_MODULE=y

## eDRX
CONFIG_LTE_EDRX_REQ=y
CONFIG_LTE_LC_EDRX_MODULE=y

## RAI
CONFIG_LTE_RAI_REQ=y
CONFIG_LTE_LC_RAI_MODULE=y&lt;/pre&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="color:#000000;"&gt;and adding the following code just after nrf_modem_lib_init() :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;lte_lc_psm_param_set(&amp;quot;00111000&amp;quot;, &amp;quot;00000110&amp;quot;);       // 24 hours &amp;amp;12 seconds
lte_lc_psm_req(true);

lte_lc_ptw_set(LTE_LC_LTE_MODE_LTEM, &amp;quot;0000&amp;quot;);       // 1.28 seconds
lte_lc_edrx_param_set(LTE_LC_LTE_MODE_LTEM,&amp;quot;0000&amp;quot;); // 5.12 seconds
lte_lc_edrx_req(true);

rai_set();&lt;/pre&gt;
&lt;div&gt;&lt;span style="color:#0000ff;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;What else needs to be done to set up PSM, eDRX and RAI? When I try this code, I&amp;#39;m running into some issues. The lte event handler is telling me that the network is rejecting the PSM paramaters (with active&amp;nbsp; time = -1). And when I log the RAI stuff, it looks like this:&amp;nbsp;MCC: 530, MNC: 5, AS RAI: false, CP RAI: false.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:verdana, geneva;font-size:inherit;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:verdana, geneva;font-size:inherit;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:verdana, geneva;font-size:inherit;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/558244?ContentTypeID=1</link><pubDate>Thu, 08 Jan 2026 09:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e3dbf7-b0ea-468f-9a12-25d2903282c6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;We got a reply rather fast from the developers today, so here it is:&lt;/p&gt;
&lt;p&gt;This is how the modem currently works, yes. In LTE-M during RRC connection establishment, the modem first sende the RAI notification with RAI disabled, and is followed by a second notification with RAI enabled.&lt;/p&gt;
&lt;p&gt;Note that we do not clear cached information here. The Network first tells us that RAI won&amp;#39;t be used, and then very quickly after enable it. The network may remember device capabilities and then enable AS-RAI at the connection establishment. This is especially the case with NB-IOT as connection establishment is the only place NV-IoT enables AS-RAI.&lt;/p&gt;
&lt;p&gt;It might be possible to make a hacky solution with timers to hide these unnecessary reports, but we have decided against that as that could also introduce some other issues.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/558229?ContentTypeID=1</link><pubDate>Thu, 08 Jan 2026 08:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaf14299-b03a-4bac-b68d-1d98b9fef2df</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jordan&lt;/p&gt;
&lt;p&gt;Michal is out of office, and it took some time to get to this after the holiday season, so sorry about the late reply here.&lt;/p&gt;
&lt;p&gt;I have now updated the internal ticket with your concerns and I agree with your points., We will get back to you when we hear from the devs on this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/557475?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 23:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e580e4c-e04c-4c84-b9c1-6646d87fff11</guid><dc:creator>JordanYates</dc:creator><description>&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;When modem wakes up from &lt;/span&gt;&lt;span&gt;PSM&lt;/span&gt;&lt;span&gt;, it selects a cell. When the cell has been selected, modem sends a &lt;/span&gt;&lt;span&gt;RAI&lt;/span&gt;&lt;span&gt; update with RAI not supported, because network communicates the support only in &lt;/span&gt;&lt;span&gt;RRC&lt;/span&gt;&lt;span&gt; connection establishment.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems odd that this behaviour&amp;nbsp;occurs only for RAI, but no other information that could presumably change coming out of PSM. It seems like all other information is cached in the modem and only sent if it has actually changed, as indicated by the lack of other duplicate events notifying the cell tower, PSM parameters, etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I agree that this has minimal impact on the functioning of an application. But as it currently stands, using it for information/debug purposes will return the wrong value if the application is caching the support status and a query happens to arrive at the wrong time.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/557432?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 13:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68d44485-0636-4d02-9494-a6913708487b</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I have an update for you:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When modem wakes up from &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;PSM&lt;/span&gt;, it selects a cell. When the cell has been selected, modem sends a &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;RAI&lt;/span&gt; update with RAI not supported, because network communicates the support only in &lt;span style="border-bottom-style:solid;border-width:2px;"&gt;RRC&lt;/span&gt; connection establishment. At this point, modem does not know whether RAI is supported or not. When RRC connection has been established and RAI is supported, modem sends a new RAI update with RAI supported.&lt;/p&gt;
&lt;p&gt;The extra RAI update with RAI not supported is not very useful, but that’s how the modem currently behaves. The RAI update is intended to be used for information/debug purposes, so this should not affect application behavior anyway. The application should always set the RAI socket options, regardless of what the RAI update indicates. Modem then uses RAI if it is supported by the network.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/557012?ContentTypeID=1</link><pubDate>Mon, 15 Dec 2025 17:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:799ba538-d99f-430f-8de3-63cf8caa1265</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Sorry, just wanted to be on the same page.&lt;/p&gt;
&lt;p&gt;I am checking internally for more information on that behavior.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/556190?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 23:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:435b89cd-0b68-405e-a995-d05520722ca3</guid><dc:creator>JordanYates</dc:creator><description>&lt;p&gt;My own fork of upstream Zephyr. I&amp;#39;m not sure why its relevant though, the events come directly from the modem library, its not like they are generated by the integration layer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/556096?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 11:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b577402-d993-443f-920f-87a5bf03ec3e</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Are you using upstream Zephyr or some other kind of setup with just the nrfxlib?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/555821?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 04:27:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36b4c0f-758c-4307-9cd0-0e9c0e78f200</guid><dc:creator>JordanYates</dc:creator><description>&lt;p&gt;I am not using NCS. The `nrfxlib` version is the v3.1.0 tag:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/tree/v3.1.0"&gt;github.com/.../v3.1.0&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link Controller: RAI_UPDATE behaviour</title><link>https://devzone.nordicsemi.com/thread/555820?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 04:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8727ba70-be93-435f-a5db-abf48983d6e0</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will check that internally and get back to you.&lt;/p&gt;
&lt;p&gt;In the meantime, please also tell me your NCS version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>