Hello,
I want to implement RAI using MQTT, but so far I haven't had success.
I can use RAI without problems through the modem shell, using the command "sock rai -i 0 --rai_last" before each sending of data through the UDP, however I cannot replicate this behavior in the mqtt_simple sample!
I tried sending AT commands in the mqtt_simple sample, through nrf_modem_at_cmd, but sending AT commands (AT%RAI=4, AT%RAI=3, AT%XRAI=1...) did not work.
Should I directly change the socket configuration as is done through the modem shell? How could this be done in the mqtt_simple sample, is it possible to provide some example? I saw several topics with the same question and in none of them there was a solution or working example.
I know the limitations of using RAI over TCP, and I also saw that some people don't recommend it, but I would like to implement and test it in practice.
Thanks.