Clarification on the difference between AT commands AT%XRAI and AT%RAI

Hello,

I am writing to seek clarification on the difference between AT%XRAI and AT%RAI. I was testing the RAI feature using the SLM application (SDK v2.7.0 and modem firmware v1.3.6) to transmit data to AWS via the MQTT protocol. I observed that only %XRAI released the RRC Connected status after publishing the message, whereas %RAI didn't. 

Although the reply from my NB-IoT network service provider said that the network currently doesn't support RAI (I believe it refers to Release-14 RAI), I could confirm that my network at least supports Release-13 RAI as I empirically did. Other threads in Devzon mentioned that the %RAI did the same as the %XRAI. If the network doesn't support Release-14 RAI, it will fall back to Release-13 RAI. (https://devzone.nordicsemi.com/f/nordic-q-a/98544/please-consolidate-nrf9160-documentation-about-cp-rai-and-as-rai). What confused me was why the %RAI command couldn't. 

Apart from the doubts mentioned above, I also want to clarify my understanding of the RAI feature:

  1. Does %XRAI only work for Release-13 RAI and %RAI work for Release-13 and Release-14 RAI?
     
  2. If %RAI works for both releases, what is the difference between %XRAI and %RAI?

  3. Will the %XRAI be deprecated? (SDK v2.7.0 release note mentioned removing AT%XRAI related deprecated functions)
  4. From my understanding, the CP-RAI (NAS-RAI) was introduced in Release-13 and is widely available, and the AS-RAI was introduced in Release-14. 

I appreciate any answer you can provide.

Anthony

Related